Lines Matching defs:kHeight
63 static const int kHeight = 720;
504 int y_size = kHeight * kWidth;
505 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
509 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer,
513 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]);
525 kWidth, kHeight);
530 I420_SIZE(kHeight, kWidth), 1.e-6));
532 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); }
542 int y_size = kHeight * kWidth;
543 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
547 kHeight, kWidth, block_size, libyuv::kJpegYuv422, y_pointer, u_pointer,
551 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]);
560 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_expected_pointer,
570 kWidth, kHeight);
577 I420_SIZE(kHeight, kWidth), 1.e-6));
579 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); }
590 int y_size = kHeight * kWidth;
591 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
595 CreateFakeM420TestingImage(kHeight, kWidth, block_size, m420_pointer));
598 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]);
608 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_expected_pointer,
616 kWidth, kHeight);
622 I420_SIZE(kHeight, kWidth), 1.e-6));
624 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); }
636 int y_size = kHeight * kWidth;
637 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
641 kHeight, kWidth, block_size, y_pointer, uv_pointer));
644 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]);
654 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_expected_pointer,
663 kWidth, kHeight);
669 I420_SIZE(kHeight, kWidth), 1.e-6));
671 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); }
684 int y_size = kHeight * kWidth; \
685 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); \
689 kHeight, kWidth, BLOCK_SIZE, yuv_pointer, FOURCC_##SRC_NAME)); \
692 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]); \
702 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_expected_pointer, \
707 v_output_pointer, v_pitch, kWidth, kHeight); \
713 I420_SIZE(kHeight, kWidth), MSE)); \
715 DumpYuvImage(y_output_pointer, kWidth, kHeight); \
736 CreateFakeYuvTestingImage(kHeight, kWidth, BLOCK_SIZE, JPG_TYPE, \
740 CreateFakeArgbTestingImage(kHeight, kWidth, BLOCK_SIZE, \
744 new uint8_t[kHeight * kWidth * 4 + kAlignment]); \
749 kWidth * 4, kWidth, kHeight); \
752 kHeight* kWidth * 4, MSE)); \
754 DumpArgbImage(argb_pointer, kWidth, kHeight); \
781 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer,
785 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
793 new uint8_t[kHeight * kWidth * 4 + kAlignment]);
795 new uint8_t[kHeight * kWidth * 4 + kAlignment]);
803 kWidth, kHeight);
807 kWidth, kHeight);
812 kHeight * kWidth * 4, 2.));
813 if (dump_) { DumpArgbImage(argb_pointer, kWidth, kHeight); }
828 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer,
832 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1);
843 new uint8_t[kHeight * kWidth * 4 + kAlignment]);
846 new uint8_t[kHeight * kWidth * 4 + kAlignment + unalignment]);
854 kWidth, kHeight);
858 kWidth, kHeight);
864 kHeight * kWidth * 4, 64.0));
865 if (dump_) { DumpArgbImage(argb_pointer, kWidth, kHeight); }
877 kHeight, kWidth, block_size, argb_pointer, FOURCC_ARGB));
880 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer,
884 new uint8_t[kHeight * kWidth + kAlignment + unalignment]);
889 kWidth, kHeight);
895 kHeight * kWidth, 2.));
896 if (dump_) { DumpArgbImage(argb_pointer, kWidth, kHeight); }
907 kHeight, kWidth, BLOCK_SIZE, src_pointer, FOURCC_##FC_ID)); \
910 kHeight, kWidth, BLOCK_SIZE, argb_expected_pointer, FOURCC_ARGB)); \
913 new uint8_t[kHeight * kWidth * 4 + kAlignment + unalignment]); \
918 kWidth * 4, kWidth, kHeight); \
922 kHeight* kWidth * 4, 1.e-6)); \
924 DumpArgbImage(argb_pointer, kWidth, kHeight); \