Lines Matching refs:kHeight
63 static const int kHeight = 720; variable
504 int y_size = kHeight * kWidth; in TEST_F()
505 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_F()
509 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer, in TEST_F()
513 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]); in TEST_F()
525 kWidth, kHeight); in TEST_F()
530 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_F()
532 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); } in TEST_F()
542 int y_size = kHeight * kWidth; in TEST_F()
543 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_F()
547 kHeight, kWidth, block_size, libyuv::kJpegYuv422, y_pointer, u_pointer, in TEST_F()
551 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment]); in TEST_F()
560 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_expected_pointer, in TEST_F()
570 kWidth, kHeight); in TEST_F()
577 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_F()
579 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); } in TEST_F()
590 int y_size = kHeight * kWidth; in TEST_P()
591 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_P()
595 CreateFakeM420TestingImage(kHeight, kWidth, block_size, m420_pointer)); in TEST_P()
598 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]); in TEST_P()
608 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_expected_pointer, in TEST_P()
616 kWidth, kHeight); in TEST_P()
622 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_P()
624 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); } in TEST_P()
636 int y_size = kHeight * kWidth; in TEST_P()
637 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_P()
641 kHeight, kWidth, block_size, y_pointer, uv_pointer)); in TEST_P()
644 new uint8_t[I420_SIZE(kHeight, kWidth) + kAlignment + unalignment]); in TEST_P()
654 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_expected_pointer, in TEST_P()
663 kWidth, kHeight); in TEST_P()
669 I420_SIZE(kHeight, kWidth), 1.e-6)); in TEST_P()
671 if (dump_) { DumpYuvImage(y_output_pointer, kWidth, kHeight); } in TEST_P()
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, in TEST_F()
785 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_F()
793 new uint8_t[kHeight * kWidth * 4 + kAlignment]); in TEST_F()
795 new uint8_t[kHeight * kWidth * 4 + kAlignment]); in TEST_F()
803 kWidth, kHeight); in TEST_F()
807 kWidth, kHeight); in TEST_F()
812 kHeight * kWidth * 4, 2.)); in TEST_F()
813 if (dump_) { DumpArgbImage(argb_pointer, kWidth, kHeight); } in TEST_F()
828 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer, in TEST_P()
832 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_P()
843 new uint8_t[kHeight * kWidth * 4 + kAlignment]); in TEST_P()
846 new uint8_t[kHeight * kWidth * 4 + kAlignment + unalignment]); in TEST_P()
854 kWidth, kHeight); in TEST_P()
858 kWidth, kHeight); in TEST_P()
864 kHeight * kWidth * 4, 64.0)); in TEST_P()
865 if (dump_) { DumpArgbImage(argb_pointer, kWidth, kHeight); } in TEST_P()
877 kHeight, kWidth, block_size, argb_pointer, FOURCC_ARGB)); in TEST_P()
880 kHeight, kWidth, block_size, libyuv::kJpegYuv420, y_pointer, u_pointer, in TEST_P()
884 new uint8_t[kHeight * kWidth + kAlignment + unalignment]); in TEST_P()
889 kWidth, kHeight); in TEST_P()
895 kHeight * kWidth, 2.)); in TEST_P()
896 if (dump_) { DumpArgbImage(argb_pointer, kWidth, kHeight); } in TEST_P()
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); \