Lines Matching refs:sz
43 for (y = 0; y < sz; y++) { \
48 for (x = 0; x < sz; x++) { \
50 coef[y * sz + x] = src[y * PIXEL_STRIDE + x] - \
53 ((int32_t *)coef)[y * sz + x] = \
186 int bit_depth, sz, align, dc;
191 for (sz = 4; sz <= 8; sz += 4) {
194 if (sz == 4)
201 switch ((sz << 1) | dc) {
207 if (check_func(idct, "h264_idct%d_add%s_%dbpp", sz, dc ? "_dc" : "", bit_depth)) {
208 for (align = 0; align < 16; align += sz * SIZEOF_PIXEL) {
211 memset(subcoef0, 0, sz * sz * SIZEOF_COEF);
214 memcpy(subcoef0, coef, sz * sz * SIZEOF_COEF);
216 memcpy(dst0, dst, sz * PIXEL_STRIDE);
217 memcpy(dst1, dst, sz * PIXEL_STRIDE);
218 memcpy(subcoef1, subcoef0, sz * sz * SIZEOF_COEF);
221 if (memcmp(dst0, dst1, sz * PIXEL_STRIDE) ||
222 memcmp(subcoef0, subcoef1, sz * sz * SIZEOF_COEF))
224 bench_new(dst1, subcoef1, sz * SIZEOF_PIXEL);
250 int sz = 4, intra = 0;
265 sz = 8;
270 for (i = 0; i < 16 * 16; i += sz * sz) {
274 int index = i / sz;
275 int block_y = (index / 16) * sz;
281 if (sz == 4)
286 for (y = 0; y < sz; y++)
288 &dst[PIXEL_STRIDE * y], sz * SIZEOF_PIXEL);
291 nnz = sz * sz;