ref: e8d09bac0c61f370cfffeeb7d646ac4cff7503a8
parent: 2c830e64d784d1e70af5ada7ee37aed5f36fbf47
author: karina li <ruil2@cisco.com>
date: Wed Sep 9 06:29:51 EDT 2015
update UT that makes input width or height more than 16
--- a/test/api/encode_decode_api_test.cpp
+++ b/test/api/encode_decode_api_test.cpp
@@ -147,11 +147,11 @@
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: