Lines Matching refs:coef
50 coef[y * sz + x] = src[y * PIXEL_STRIDE + x] - \
53 ((int32_t *)coef)[y * sz + x] = \
62 static void dct4x4_##size(dctcoef *coef) \
67 const int z0 = coef[i*4 + 0] + coef[i*4 + 3]; \
68 const int z1 = coef[i*4 + 1] + coef[i*4 + 2]; \
69 const int z2 = coef[i*4 + 0] - coef[i*4 + 3]; \
70 const int z3 = coef[i*4 + 1] - coef[i*4 + 2]; \
81 coef[i*4 + 0] = z0 + z1; \
82 coef[i*4 + 1] = 2*z2 + z3; \
83 coef[i*4 + 2] = z0 - z1; \
84 coef[i*4 + 3] = z2 - 2*z3; \
90 coef[y*4 + x] = (coef[y*4 + x] * scale[idx] + (1 << 14)) >> 15; \
123 static void dct8x8_##size(dctcoef *coef) \
128 DCT8_1D(coef + i, 8, tmp + i, 8); \
131 DCT8_1D(tmp + 8*i, 1, coef + i, 8); \
146 coef[y*8 + x] = ((int64_t)coef[y*8 + x] * \
158 static void dct4x4(int16_t *coef, int bit_depth)
161 dct4x4_16(coef);
163 dct4x4_32((int32_t *) coef);
166 static void dct8x8(int16_t *coef, int bit_depth)
169 dct8x8_16(coef);
171 dct8x8_32((int32_t *) coef);
182 LOCAL_ALIGNED_16(int16_t, coef, [8 * 8 * 2]);
195 dct4x4(coef, bit_depth);
197 dct8x8(coef, bit_depth);
212 memcpy(subcoef0, coef, SIZEOF_COEF);
214 memcpy(subcoef0, coef, sz * sz * SIZEOF_COEF);
273 int16_t coef[8 * 8 * 2];
282 dct4x4(coef, bit_depth);
284 dct8x8(coef, bit_depth);
292 memcpy(&coef_full[i * SIZEOF_COEF/sizeof(coef[0])],
293 coef, nnz * SIZEOF_COEF);