Showing the changes to test/api/encode_decode_api_test.cpp (1 of 8 files). Show all
Unified · Split
| @@ -3023,7 +3023,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_SPS_PPS_LISTING3) { · 3022 unmodified lines | ||
| 3023 | 3023 | |
| 3024 | 3024 | TEST_F (EncodeDecodeTestAPI, SimulcastSVC) { |
| 3025 | 3025 | #define LAYER_NUM (4) |
| 3026 | − int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM);; | |
| 3026 | + int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM); | |
| 3027 | 3027 | int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_WIDTH); |
| 3028 | 3028 | int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_HEIGHT); |
| 3029 | 3029 | float fFrameRate = rand() + 0.5f; |
| @@ -3137,7 +3137,7 @@ TEST_F (EncodeDecodeTestAPI, SimulcastSVC) { · 107 unmodified lines | ||
| 3137 | 3137 | TEST_F (EncodeDecodeTestAPI, SimulcastAVC) { |
| 3138 | 3138 | //#define DEBUG_FILE_SAVE3 |
| 3139 | 3139 | #define LAYER_NUM (4) |
| 3140 | − int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM);; | |
| 3140 | + int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM); | |
| 3141 | 3141 | int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_WIDTH); |
| 3142 | 3142 | int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_HEIGHT); |
| 3143 | 3143 | float fFrameRate = rand() + 0.5f; |