mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 08:46:47 +08:00
Fix the test case
The test case should have the dst width and height, and the src width and height should be specified by the --libyuv_width and --libyuv_height options to libyuv_unittest. Tested: libyuv_unittest --gtest_filter=LibYUVScaleTest.I420ScaleTo264x216_Box \ --libyuv_width=352 --libyuv_height=288 Bug: b/369963535, b/366045177 Change-Id: I8166a264c9c4840e0d16c0d3c1818c18aebc1b2e Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5896466 Reviewed-by: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
parent
51e2e12b9b
commit
a8e59d2074
@ -1053,8 +1053,8 @@ TEST_SCALETO(Scale, 569, 480)
|
||||
TEST_SCALETO(Scale, 640, 360)
|
||||
#ifndef DISABLE_SLOW_TESTS
|
||||
TEST_SCALETO(Scale, 256, 144) /* 128x72 * 2 */
|
||||
TEST_SCALETO(Scale, 264, 216)
|
||||
TEST_SCALETO(Scale, 320, 240)
|
||||
TEST_SCALETO(Scale, 352, 288)
|
||||
TEST_SCALETO(Scale, 1280, 720)
|
||||
TEST_SCALETO(Scale, 1920, 1080)
|
||||
TEST_SCALETO(Scale, 1080, 1920) // for rotated phones
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user