DescriptionIf image sizes are greater than 32768, fixed point stepping will overflow an int. This CL changes the max size to 32768 and disables the test if larger.
BUG=libyuv:590
TESTED=LIBYUV_FLAGS=-1 LIBYUV_WIDTH=8192 LIBYUV_HEIGHT=16 out/Release/libyuv_unittest --gtest_filter=*
R=harryjin@google.com
Committed: https://chromium.googlesource.com/libyuv/libyuv/+/07cb92272f393f91f8d6215633fbbaa04bbf0a1f
Patch Set 1 #Patch Set 2 : make scaling subsample round up #
Total comments: 4
Patch Set 3 : Moved to helper in unittest.h #Patch Set 4 : added comments about size limitation #Patch Set 5 : comments updated #
Messages
Total messages: 7 (2 generated)
|