/external/libyuv/files/unit_test/ |
D | rotate_test.cc | 84 I420TestRotate(benchmark_width_, benchmark_height_, benchmark_width_, in TEST_F() 90 I420TestRotate(benchmark_width_, benchmark_height_, benchmark_height_, in TEST_F() 91 benchmark_width_, kRotate90, benchmark_iterations_, in TEST_F() 96 I420TestRotate(benchmark_width_, benchmark_height_, benchmark_width_, in TEST_F() 102 I420TestRotate(benchmark_width_, benchmark_height_, benchmark_height_, in TEST_F() 103 benchmark_width_, kRotate270, benchmark_iterations_, in TEST_F() 111 I420TestRotate(benchmark_width_ - 3, benchmark_height_ - 1, in TEST_F() 112 benchmark_width_ - 3, benchmark_height_ - 1, kRotate0, in TEST_F() 118 I420TestRotate(benchmark_width_ - 3, benchmark_height_ - 1, in TEST_F() 119 benchmark_height_ - 1, benchmark_width_ - 3, kRotate90, in TEST_F() [all …]
|
D | unit_test.cc | 50 benchmark_width_(128), in LibYUVConvertTest() 62 benchmark_width_ = 1280; in LibYUVConvertTest() 67 benchmark_width_ = atoi(width); // NOLINT in LibYUVConvertTest() 70 benchmark_width_ = FLAGS_libyuv_width; in LibYUVConvertTest() 94 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * in LibYUVConvertTest() 100 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * in LibYUVConvertTest() 109 benchmark_width_(128), in LibYUVColorTest() 121 benchmark_width_ = 1280; in LibYUVColorTest() 126 benchmark_width_ = atoi(width); // NOLINT in LibYUVColorTest() 129 benchmark_width_ = FLAGS_libyuv_width; in LibYUVColorTest() [all …]
|
D | rotate_argb_test.cc | 99 ARGBTestRotate(benchmark_width_, benchmark_height_, benchmark_width_, in TEST_F() 105 ARGBTestRotate(benchmark_width_, benchmark_height_, benchmark_height_, in TEST_F() 106 benchmark_width_, kRotate90, benchmark_iterations_, in TEST_F() 111 ARGBTestRotate(benchmark_width_, benchmark_height_, benchmark_width_, in TEST_F() 117 ARGBTestRotate(benchmark_width_, benchmark_height_, benchmark_height_, in TEST_F() 118 benchmark_width_, kRotate270, benchmark_iterations_, in TEST_F() 135 TestRotatePlane(benchmark_width_, benchmark_height_, benchmark_width_, in TEST_F() 141 TestRotatePlane(benchmark_width_, benchmark_height_, benchmark_height_, in TEST_F() 142 benchmark_width_, kRotate90, benchmark_iterations_, in TEST_F() 147 TestRotatePlane(benchmark_width_, benchmark_height_, benchmark_width_, in TEST_F() [all …]
|
D | compare_test.cc | 35 const int kMaxTest = benchmark_width_ * benchmark_height_; in TEST_F() 120 const int kMaxTest = benchmark_width_ * benchmark_height_; in TEST_F() 136 const int kMaxTest = benchmark_width_ * benchmark_height_; in TEST_F() 152 const int kMaxTest = benchmark_width_ * benchmark_height_ * 4; in TEST_F() 159 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F() 164 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F() 170 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F() 180 const int kMaxTest = benchmark_width_ * benchmark_height_ * 4 + 1; in TEST_F() 187 fourcc = ARGBDetect(src_a + 1, benchmark_width_ * 4, benchmark_width_, in TEST_F() 192 fourcc = ARGBDetect(src_a + 1, benchmark_width_ * 4, benchmark_width_, in TEST_F() [all …]
|
D | planar_test.cc | 150 int max_diff = TestAttenuateI(benchmark_width_ - 1, benchmark_height_, in TEST_F() 158 TestAttenuateI(benchmark_width_, benchmark_height_, benchmark_iterations_, in TEST_F() 165 TestAttenuateI(benchmark_width_, benchmark_height_, benchmark_iterations_, in TEST_F() 172 TestAttenuateI(benchmark_width_, benchmark_height_, benchmark_iterations_, in TEST_F() 223 int max_diff = TestUnattenuateI(benchmark_width_ - 1, benchmark_height_, in TEST_F() 230 int max_diff = TestUnattenuateI(benchmark_width_, benchmark_height_, in TEST_F() 237 int max_diff = TestUnattenuateI(benchmark_width_, benchmark_height_, in TEST_F() 244 int max_diff = TestUnattenuateI(benchmark_width_, benchmark_height_, in TEST_F() 1040 TESTTERP(ARGB, 4, 1, ARGB, 4, 1, benchmark_width_ - 1, TERP, _Any, +, 0) \ 1041 TESTTERP(ARGB, 4, 1, ARGB, 4, 1, benchmark_width_, TERP, _Unaligned, +, 1) \ [all …]
|
D | color_test.cc | 41 const int kPixels = benchmark_width_ * benchmark_height_; \ 43 ((benchmark_width_ + 1) / 2) * ((benchmark_height_ + HS1) / HS); \ 68 for (int x = 0; x < benchmark_width_ - 1; x += 2) { \ 76 if (benchmark_width_ & 1) { \ 85 for (int x = 0; x < benchmark_width_ - 1; x += 2) { \ 91 if (benchmark_width_ & 1) { \ 98 YUVTOARGB(orig_y, benchmark_width_, orig_u, (benchmark_width_ + 1) / 2, \ 99 orig_v, (benchmark_width_ + 1) / 2, orig_pixels, \ 100 benchmark_width_ * 4, benchmark_width_, benchmark_height_); \ 102 ARGBTOYUV(orig_pixels, benchmark_width_ * 4, temp_y, benchmark_width_, \ [all …]
|
D | convert_test.cc | 139 SUBSAMP_X, SUBSAMP_Y, benchmark_width_ - 4, _Any, +, 0) \ 141 SUBSAMP_X, SUBSAMP_Y, benchmark_width_, _Unaligned, +, 1) \ 143 SUBSAMP_X, SUBSAMP_Y, benchmark_width_, _Invert, -, 0) \ 145 SUBSAMP_X, SUBSAMP_Y, benchmark_width_, _Opt, +, 0) 265 FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, benchmark_width_ - 4, \ 268 FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, benchmark_width_, \ 271 FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, benchmark_width_, _Invert, \ 274 FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, benchmark_width_, _Opt, +, \ 364 SUBSAMP_X, SUBSAMP_Y, benchmark_width_ - 4, _Any, +, 0) \ 366 SUBSAMP_X, SUBSAMP_Y, benchmark_width_, _Unaligned, +, 1) \ [all …]
|
D | unit_test.h | 129 int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA. variable 142 int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA. variable 155 int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA. variable 168 int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA. variable 181 int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA. variable 194 int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA. variable
|
D | scale_argb_test.cc | 237 SX(benchmark_width_, nom, denom), SX(benchmark_height_, nom, denom), \ 238 DX(benchmark_width_, nom, denom), DX(benchmark_height_, nom, denom), \ 245 SX(benchmark_width_, nom, denom), SX(benchmark_height_, nom, denom), \ 246 DX(benchmark_width_, nom, denom), DX(benchmark_height_, nom, denom), \ 272 int diff = ARGBTestFilter(benchmark_width_, benchmark_height_, width, \ 278 int diff = ARGBTestFilter(width, height, Abs(benchmark_width_), \ 286 ARGBClipTestFilter(benchmark_width_, benchmark_height_, width, height, \ 291 int diff = ARGBClipTestFilter(width, height, Abs(benchmark_width_), \ 436 YUVToARGBTestFilter(benchmark_width_, benchmark_height_, in TEST_F() 437 benchmark_width_ * 3 / 2, benchmark_height_ * 3 / 2, in TEST_F() [all …]
|
D | scale_test.cc | 290 SX(benchmark_width_, nom, denom), SX(benchmark_height_, nom, denom), \ 291 DX(benchmark_width_, nom, denom), DX(benchmark_height_, nom, denom), \ 298 SX(benchmark_width_, nom, denom), SX(benchmark_height_, nom, denom), \ 299 DX(benchmark_width_, nom, denom), DX(benchmark_height_, nom, denom), \ 325 int diff = TestFilter(benchmark_width_, benchmark_height_, width, height, \ 331 int diff = TestFilter(width, height, Abs(benchmark_width_), \ 339 int diff = TestFilter_16(benchmark_width_, benchmark_height_, width, \ 345 int diff = TestFilter_16(width, height, Abs(benchmark_width_), \
|