Home
last modified time | relevance | path

Searched refs:sqcoeff (Results 1 – 5 of 5) sorted by relevance

/external/libaom/libaom/av1/encoder/x86/
Dhighbd_block_error_intrin_sse2.c23 int64_t error = 0, sqcoeff = 0; in av1_highbd_block_error_sse2() local
57 sqcoeff += temp[0] + temp[1] + temp[2] + temp[3]; in av1_highbd_block_error_sse2()
62 sqcoeff += (int64_t)coeff[i + j] * (int64_t)coeff[i + j]; in av1_highbd_block_error_sse2()
66 assert(error >= 0 && sqcoeff >= 0); in av1_highbd_block_error_sse2()
68 sqcoeff = (sqcoeff + rounding) >> shift; in av1_highbd_block_error_sse2()
70 *ssz = sqcoeff; in av1_highbd_block_error_sse2()
Dhighbd_block_error_intrin_avx2.c22 int64_t error = 0, sqcoeff = 0; in av1_highbd_block_error_avx2() local
54 sqcoeff += temp1[4] + temp1[5] + temp1[6] + temp1[7]; in av1_highbd_block_error_avx2()
56 assert(error >= 0 && sqcoeff >= 0); in av1_highbd_block_error_avx2()
58 sqcoeff = (sqcoeff + rounding) >> shift; in av1_highbd_block_error_avx2()
60 *ssz = sqcoeff; in av1_highbd_block_error_avx2()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_highbd_block_error_intrin_sse2.c23 int64_t error = 0, sqcoeff = 0; in vp9_highbd_block_error_sse2() local
57 sqcoeff += temp[0] + temp[1] + temp[2] + temp[3]; in vp9_highbd_block_error_sse2()
62 sqcoeff += (int64_t)coeff[i + j] * (int64_t)coeff[i + j]; in vp9_highbd_block_error_sse2()
66 assert(error >= 0 && sqcoeff >= 0); in vp9_highbd_block_error_sse2()
68 sqcoeff = (sqcoeff + rounding) >> shift; in vp9_highbd_block_error_sse2()
70 *ssz = sqcoeff; in vp9_highbd_block_error_sse2()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c286 int64_t error = 0, sqcoeff = 0; in vp9_highbd_block_error_c() local
293 sqcoeff += (int64_t)coeff[i] * (int64_t)coeff[i]; in vp9_highbd_block_error_c()
295 assert(error >= 0 && sqcoeff >= 0); in vp9_highbd_block_error_c()
297 sqcoeff = (sqcoeff + rounding) >> shift; in vp9_highbd_block_error_c()
299 *ssz = sqcoeff; in vp9_highbd_block_error_c()
318 int64_t error = 0, sqcoeff = 0; in vp9_block_error_c() local
323 sqcoeff += coeff[i] * coeff[i]; in vp9_block_error_c()
326 *ssz = sqcoeff; in vp9_block_error_c()
/external/libaom/libaom/av1/encoder/
Drdopt.c2066 int64_t error = 0, sqcoeff = 0; in av1_block_error_c() local
2071 sqcoeff += coeff[i] * coeff[i]; in av1_block_error_c()
2074 *ssz = sqcoeff; in av1_block_error_c()
2082 int64_t error = 0, sqcoeff = 0; in av1_highbd_block_error_c() local
2089 sqcoeff += (int64_t)coeff[i] * (int64_t)coeff[i]; in av1_highbd_block_error_c()
2091 assert(error >= 0 && sqcoeff >= 0); in av1_highbd_block_error_c()
2093 sqcoeff = (sqcoeff + rounding) >> shift; in av1_highbd_block_error_c()
2095 *ssz = sqcoeff; in av1_highbd_block_error_c()