Lines Matching refs:coef
49 coef[y * sz + x] = src[y * PIXEL_STRIDE + x] - \
52 ((int32_t *)coef)[y * sz + x] = \
61 static void dct4x4_##size(dctcoef *coef) \
66 const int z0 = coef[i*4 + 0] + coef[i*4 + 3]; \
67 const int z1 = coef[i*4 + 1] + coef[i*4 + 2]; \
68 const int z2 = coef[i*4 + 0] - coef[i*4 + 3]; \
69 const int z3 = coef[i*4 + 1] - coef[i*4 + 2]; \
80 coef[i*4 + 0] = z0 + z1; \
81 coef[i*4 + 1] = 2*z2 + z3; \
82 coef[i*4 + 2] = z0 - z1; \
83 coef[i*4 + 3] = z2 - 2*z3; \
89 coef[y*4 + x] = (coef[y*4 + x] * scale[idx] + (1 << 14)) >> 15; \
122 static void dct8x8_##size(dctcoef *coef) \
127 DCT8_1D(coef + i, 8, tmp + i, 8); \
130 DCT8_1D(tmp + 8*i, 1, coef + i, 8); \
145 coef[y*8 + x] = ((int64_t)coef[y*8 + x] * \
157 static void dct4x4(int16_t *coef, int bit_depth) in dct4x4() argument
160 dct4x4_16(coef); in dct4x4()
162 dct4x4_32((int32_t *) coef); in dct4x4()
165 static void dct8x8(int16_t *coef, int bit_depth) in dct8x8() argument
168 dct8x8_16(coef); in dct8x8()
170 dct8x8_32((int32_t *) coef); in dct8x8()
181 LOCAL_ALIGNED_16(int16_t, coef, [8 * 8 * 2]); in check_idct()
194 dct4x4(coef, bit_depth); in check_idct()
196 dct8x8(coef, bit_depth); in check_idct()
211 memcpy(subcoef0, coef, SIZEOF_COEF); in check_idct()
213 memcpy(subcoef0, coef, sz * sz * SIZEOF_COEF); in check_idct()
272 int16_t coef[8 * 8 * 2]; in check_idct_multiple() local
281 dct4x4(coef, bit_depth); in check_idct_multiple()
283 dct8x8(coef, bit_depth); in check_idct_multiple()
291 memcpy(&coef_full[i * SIZEOF_COEF/sizeof(coef[0])], in check_idct_multiple()
292 coef, nnz * SIZEOF_COEF); in check_idct_multiple()