Home
last modified time | relevance | path

Searched refs:SIZEOF_PIXEL (Results 1 - 6 of 6) sorted by relevance

/third_party/ffmpeg/tests/checkasm/
H A Dhevc_pel.c36 #define SIZEOF_PIXEL ((bit_depth + 7) / 8) macro
102 call_ref(dstw0, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
103 call_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
105 if (memcmp(dstw0 + row * MAX_PB_SIZE, dstw1 + row * MAX_PB_SIZE, sizes[size] * SIZEOF_PIXEL)) in checkasm_check_hevc_qpel()
108 bench_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
145 call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel_uni()
146 call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel_uni()
147 if (memcmp(dst0, dst1, sizes[size] * sizes[size] * SIZEOF_PIXEL)) in checkasm_check_hevc_qpel_uni()
[all...]
H A Dvp9dsp.c33 #define SIZEOF_PIXEL ((bit_depth + 7) / 8) macro
39 for (k = -4; k < SIZEOF_PIXEL * FFMAX(8, size); k += 4) { \
43 for (k = 0; k < size * SIZEOF_PIXEL; k += 4) { \
87 call_ref(dst0, size * SIZEOF_PIXEL, l, a); in check_ipred()
88 call_new(dst1, size * SIZEOF_PIXEL, l, a); in check_ipred()
89 if (memcmp(dst0, dst1, size * size * SIZEOF_PIXEL)) in check_ipred()
91 bench_new(dst1, size * SIZEOF_PIXEL,l, a); in check_ipred()
105 for (x = 0; x < sz * SIZEOF_PIXEL; x += 4) { \
107 AV_WN32A(dst + y * sz * SIZEOF_PIXEL + x, r); \
108 AV_WN32A(src + y * sz * SIZEOF_PIXEL
[all...]
H A Dh264pred.c120 #define SIZEOF_PIXEL ((bit_depth + 7) / 8) macro
153 call_ref(src0, topright, 12*SIZEOF_PIXEL); in check_pred4x4()
154 call_new(src1, topright, 12*SIZEOF_PIXEL); in check_pred4x4()
157 bench_new(src1, topright, 12*SIZEOF_PIXEL); in check_pred4x4()
173 call_ref(src0, 24*SIZEOF_PIXEL); in check_pred8x8()
174 call_new(src1, 24*SIZEOF_PIXEL); in check_pred8x8()
177 bench_new(src1, 24*SIZEOF_PIXEL); in check_pred8x8()
220 call_ref(src0, has_topleft, has_topright, 24*SIZEOF_PIXEL); in check_pred8x8l()
221 call_new(src1, has_topleft, has_topright, 24*SIZEOF_PIXEL); in check_pred8x8l()
224 bench_new(src1, has_topleft, has_topright, 24*SIZEOF_PIXEL); in check_pred8x8l()
[all...]
H A Dh264dsp.c35 #define SIZEOF_PIXEL ((bit_depth + 7) / 8) macro
208 for (align = 0; align < 16; align += sz * SIZEOF_PIXEL) { in check_idct()
224 bench_new(dst1, subcoef1, sz * SIZEOF_PIXEL); in check_idct()
277 int offset = (block_y * 16 + block_x) * SIZEOF_PIXEL; in check_idct_multiple()
287 memcpy(&dst_full[offset + y * 16 * SIZEOF_PIXEL], in check_idct_multiple()
288 &dst[PIXEL_STRIDE * y], sz * SIZEOF_PIXEL); in check_idct_multiple()
305 memcpy(dst0, dst_full, 16 * 16 * SIZEOF_PIXEL); in check_idct_multiple()
306 memcpy(dst1, dst_full, 16 * 16 * SIZEOF_PIXEL); in check_idct_multiple()
307 call_ref(dst0, block_offset, coef0, 16 * SIZEOF_PIXEL, nnzc); in check_idct_multiple()
308 call_new(dst1, block_offset, coef1, 16 * SIZEOF_PIXEL, nnz in check_idct_multiple()
[all...]
H A Dh264qpel.c31 #define SIZEOF_PIXEL ((bit_depth + 7) / 8) macro
72 call_ref(dst0, src0, size * SIZEOF_PIXEL); in checkasm_check_h264qpel()
73 call_new(dst1, src1, size * SIZEOF_PIXEL); in checkasm_check_h264qpel()
76 bench_new(dst1, src1, size * SIZEOF_PIXEL); in checkasm_check_h264qpel()
H A Dhevc_sao.c35 #define SIZEOF_PIXEL ((bit_depth + 7) / 8) macro
82 ptrdiff_t stride = PIXEL_STRIDE*SIZEOF_PIXEL; in check_sao_band()
97 if (memcmp(dst0 + j*stride, dst1 + j*stride, w*SIZEOF_PIXEL)) in check_sao_band()
119 ptrdiff_t stride = PIXEL_STRIDE*SIZEOF_PIXEL; in check_sao_edge()
120 int offset = (AV_INPUT_BUFFER_PADDING_SIZE + PIXEL_STRIDE)*SIZEOF_PIXEL; in check_sao_edge()
134 if (memcmp(dst0 + j*stride, dst1 + j*stride, w*SIZEOF_PIXEL)) in check_sao_edge()

Completed in 4 milliseconds