Lines Matching refs:BPP_B
31 #define TESTPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, N, NEG) \ argument
35 const int kStride = (kWidth * 8 * BPP_B + 7) / 8; \
66 for (int j = 0; j < kWidth * BPP_B; ++j) { \
68 abs(static_cast<int>(dst_argb_c[i * kWidth * BPP_B + j]) - \
69 static_cast<int>(dst_argb_opt[i * kWidth * BPP_B + j])); \
83 #define TESTPLANARTOB(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B) \ argument
84 TESTPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, , +) \
85 TESTPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, Invert, -)
112 #define TESTBIPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, \ argument
119 align_buffer_16(dst_argb_c, (kWidth * BPP_B) * kHeight); \
120 align_buffer_16(dst_argb_opt, (kWidth * BPP_B) * kHeight); \
132 dst_argb_c, kWidth * BPP_B, \
138 dst_argb_opt, kWidth * BPP_B, \
143 for (int j = 0; j < kWidth * BPP_B; ++j) { \
145 abs(static_cast<int>(dst_argb_c[i * kWidth * BPP_B + j]) - \
146 static_cast<int>(dst_argb_opt[i * kWidth * BPP_B + j])); \
159 #define TESTBIPLANARTOB(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B) \ argument
160 TESTBIPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, , +) \
161 TESTBIPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, Invert, -)
269 #define TESTATOBI(FMT_A, BPP_A, STRIDE_A, FMT_B, BPP_B, N, NEG) \ argument
274 align_buffer_16(dst_argb_c, (kWidth * BPP_B) * kHeight); \
275 align_buffer_16(dst_argb_opt, (kWidth * BPP_B) * kHeight); \
282 dst_argb_c, kWidth * BPP_B, \
287 dst_argb_opt, kWidth * BPP_B, \
291 for (int i = 0; i < kHeight * kWidth * BPP_B; ++i) { \
304 #define TESTATOB(FMT_A, BPP_A, STRIDE_A, FMT_B, BPP_B) \ argument
305 TESTATOBI(FMT_A, BPP_A, STRIDE_A, FMT_B, BPP_B, , +) \
306 TESTATOBI(FMT_A, BPP_A, STRIDE_A, FMT_B, BPP_B, Invert, -)
331 #define TESTATOBRANDOM(FMT_A, BPP_A, STRIDE_A, FMT_B, BPP_B) \ argument
338 align_buffer_page_end(dst_argb_c, (kWidth * BPP_B) * kHeight); \
339 align_buffer_page_end(dst_argb_opt, (kWidth * BPP_B) * kHeight); \
345 dst_argb_c, kWidth * BPP_B, \
349 dst_argb_opt, kWidth * BPP_B, \
352 for (int i = 0; i < kHeight * kWidth * BPP_B; ++i) { \