mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 17:26:49 +08:00
add test for box filter before improving odd width.
BUG=431 TESTED=ARGBScaleDownBy4_Box Review URL: https://webrtc-codereview.appspot.com/57409004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1411 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
c38aeec322
commit
80be2468b0
@ -218,7 +218,8 @@ static int ARGBClipTestFilter(int src_width, int src_height,
|
||||
#define TEST_FACTOR(name, hfactor, vfactor) \
|
||||
TEST_FACTOR1(name, None, hfactor, vfactor, 2) \
|
||||
TEST_FACTOR1(name, Linear, hfactor, vfactor, 2) \
|
||||
TEST_FACTOR1(name, Bilinear, hfactor, vfactor, 2)
|
||||
TEST_FACTOR1(name, Bilinear, hfactor, vfactor, 2) \
|
||||
TEST_FACTOR1(name, Box, hfactor, vfactor, 2)
|
||||
|
||||
TEST_FACTOR(2, 1 / 2, 1 / 2)
|
||||
TEST_FACTOR(4, 1 / 4, 1 / 4)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user