Lines Matching refs:kHeight

44   const int kHeight = benchmark_height_;                                       \
45 align_buffer_64(src_y, kWidth * kHeight + OFF); \
48 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \
51 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \
52 align_buffer_64(dst_y_c, kWidth * kHeight); \
55 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
58 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
59 align_buffer_64(dst_y_opt, kWidth * kHeight); \
62 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
65 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
67 for (int i = 0; i < kHeight; ++i) \
70 for (int i = 0; i < SUBSAMPLE(kHeight, SRC_SUBSAMP_Y); ++i) { \
78 memset(dst_y_c, 1, kWidth * kHeight); \
80 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
82 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
83 memset(dst_y_opt, 101, kWidth * kHeight); \
85 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
87 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
97 kWidth, NEG kHeight); \
108 kWidth, NEG kHeight); \
111 for (int i = 0; i < kHeight; ++i) { \
122 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
135 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
189 const int kHeight = benchmark_height_; \
190 align_buffer_64(src_y, kWidth * kHeight + OFF); \
193 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \
196 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \
197 align_buffer_64(dst_y_c, kWidth * kHeight); \
199 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
200 align_buffer_64(dst_y_opt, kWidth * kHeight); \
202 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
204 for (int i = 0; i < kHeight; ++i) \
207 for (int i = 0; i < SUBSAMPLE(kHeight, SRC_SUBSAMP_Y); ++i) { \
215 memset(dst_y_c, 1, kWidth * kHeight); \
217 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
218 memset(dst_y_opt, 101, kWidth * kHeight); \
220 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
229 kWidth, NEG kHeight); \
240 kWidth, NEG kHeight); \
243 for (int i = 0; i < kHeight; ++i) { \
254 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
298 const int kHeight = benchmark_height_; \
299 align_buffer_64(src_y, kWidth * kHeight + OFF); \
301 SUBSAMPLE(kHeight, SRC_SUBSAMP_Y) + OFF); \
302 align_buffer_64(dst_y_c, kWidth * kHeight); \
305 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
308 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
309 align_buffer_64(dst_y_opt, kWidth * kHeight); \
312 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
315 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
317 for (int i = 0; i < kHeight; ++i) \
320 for (int i = 0; i < SUBSAMPLE(kHeight, SRC_SUBSAMP_Y); ++i) { \
326 memset(dst_y_c, 1, kWidth * kHeight); \
328 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
330 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
331 memset(dst_y_opt, 101, kWidth * kHeight); \
333 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
335 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
343 kWidth, NEG kHeight); \
352 kWidth, NEG kHeight); \
355 for (int i = 0; i < kHeight; ++i) { \
366 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
379 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
426 const int kHeight = ALIGNINT(benchmark_height_, YALIGN); \
429 SUBSAMPLE(kWidth, SUBSAMP_X) * SUBSAMPLE(kHeight, SUBSAMP_Y); \
430 align_buffer_64(src_y, kWidth * kHeight + OFF); \
433 align_buffer_64(dst_argb_c, kStrideB * kHeight); \
434 align_buffer_64(dst_argb_opt, kStrideB * kHeight); \
436 for (int i = 0; i < kWidth * kHeight; ++i) { \
443 memset(dst_argb_c, 1, kStrideB * kHeight); \
444 memset(dst_argb_opt, 101, kStrideB * kHeight); \
450 kWidth, NEG kHeight); \
457 kWidth, NEG kHeight); \
461 align_buffer_64(dst_argb32_c, kWidth * BPP_C * kHeight); \
462 align_buffer_64(dst_argb32_opt, kWidth * BPP_C * kHeight); \
463 memset(dst_argb32_c, 2, kWidth * BPP_C * kHeight); \
464 memset(dst_argb32_opt, 102, kWidth * BPP_C * kHeight); \
467 kWidth, kHeight); \
470 kWidth, kHeight); \
471 for (int i = 0; i < kWidth * BPP_C * kHeight; ++i) { \
530 const int kHeight = benchmark_height_; \
532 align_buffer_64(src_y, kWidth * kHeight + OFF); \
535 SUBSAMPLE(kHeight, SUBSAMP_Y) * 2 + OFF); \
536 align_buffer_64(dst_argb_c, kStrideB * kHeight); \
537 align_buffer_64(dst_argb_opt, kStrideB * kHeight); \
539 for (int i = 0; i < kHeight; ++i) \
542 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
548 memset(dst_argb_c, 1, kStrideB * kHeight); \
549 memset(dst_argb_opt, 101, kStrideB * kHeight); \
554 kWidth, NEG kHeight); \
560 kWidth, NEG kHeight); \
563 align_buffer_64(dst_argb32_c, kWidth * 4 * kHeight); \
564 align_buffer_64(dst_argb32_opt, kWidth * 4 * kHeight); \
565 memset(dst_argb32_c, 2, kWidth * 4 * kHeight); \
566 memset(dst_argb32_opt, 102, kWidth * 4 * kHeight); \
569 kWidth, kHeight); \
572 kWidth, kHeight); \
574 for (int i = 0; i < kHeight; ++i) { \
612 const int kHeight = ALIGNINT(benchmark_height_, YALIGN); \
615 align_buffer_64(src_argb, kStride * kHeight + OFF); \
616 align_buffer_64(dst_y_c, kWidth * kHeight); \
619 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
622 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
623 align_buffer_64(dst_y_opt, kWidth * kHeight); \
626 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
629 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
630 memset(dst_y_c, 1, kWidth * kHeight); \
632 SUBSAMPLE(kWidth, SUBSAMP_X) * SUBSAMPLE(kHeight, SUBSAMP_Y)); \
634 SUBSAMPLE(kWidth, SUBSAMP_X) * SUBSAMPLE(kHeight, SUBSAMP_Y)); \
635 memset(dst_y_opt, 101, kWidth * kHeight); \
637 SUBSAMPLE(kWidth, SUBSAMP_X) * SUBSAMPLE(kHeight, SUBSAMP_Y)); \
639 SUBSAMPLE(kWidth, SUBSAMP_X) * SUBSAMPLE(kHeight, SUBSAMP_Y)); \
641 for (int i = 0; i < kHeight; ++i) \
649 kWidth, NEG kHeight); \
656 kWidth, NEG kHeight); \
659 for (int i = 0; i < kHeight; ++i) { \
670 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
683 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
748 const int kHeight = benchmark_height_; \
750 align_buffer_64(src_argb, kStride * kHeight + OFF); \
751 align_buffer_64(dst_y_c, kWidth * kHeight); \
754 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
755 align_buffer_64(dst_y_opt, kWidth * kHeight); \
758 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
760 for (int i = 0; i < kHeight; ++i) \
763 memset(dst_y_c, 1, kWidth * kHeight); \
765 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
766 memset(dst_y_opt, 101, kWidth * kHeight); \
768 SUBSAMPLE(kHeight, SUBSAMP_Y)); \
773 kWidth, NEG kHeight); \
779 kWidth, NEG kHeight); \
782 for (int i = 0; i < kHeight; ++i) { \
793 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) { \
831 const int kHeight = benchmark_height_; \
832 const int kHeightA = (kHeight + HEIGHT_A - 1) / HEIGHT_A * HEIGHT_A; \
833 const int kHeightB = (kHeight + HEIGHT_B - 1) / HEIGHT_B * HEIGHT_B; \
848 kWidth, NEG kHeight); \
853 kWidth, NEG kHeight); \
876 const int kHeight = (random() & 31) + 1; \
877 const int kHeightA = (kHeight + HEIGHT_A - 1) / HEIGHT_A * HEIGHT_A; \
878 const int kHeightB = (kHeight + HEIGHT_B - 1) / HEIGHT_B * HEIGHT_B; \
892 kWidth, kHeight); \
896 kWidth, kHeight); \
971 const int kHeight = benchmark_height_; \
972 const int kHeightA = (kHeight + HEIGHT_A - 1) / HEIGHT_A * HEIGHT_A; \
986 kWidth, NEG kHeight); \
991 kWidth, NEG kHeight); \
996 kWidth, NEG kHeight); \
1000 kWidth, NEG kHeight); \
1164 const int kHeight = benchmark_height_;
1169 const int sample_size = kWidth * kHeight +
1171 SUBSAMPLE(kHeight, SUBSAMP_Y) * 2;
1173 uint8* src_uv = src_y + kWidth * kHeight;
1192 for (int i = 0; i < kHeight; ++i)
1195 for (int i = 0; i < SUBSAMPLE(kHeight, SUBSAMP_Y); ++i) {
1226 kWidth, kHeight,