update UT that makes input width or height more than 16

This commit is contained in:
karina li 2015-09-09 10:29:51 +08:00
parent 2c830e64d7
commit e8d09bac0c

View File

@ -147,11 +147,11 @@ class EncodeDecodeTestBase : public BaseEncoderTest, public BaseDecoderTest {
virtual int GetRandWidth() {
return WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 2, MAX_WIDTH);
return WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 16, MAX_WIDTH);
}
virtual int GetRandHeight() {
return WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 2, MAX_HEIGHT);
return WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 16, MAX_HEIGHT);
}
protected: