Showing the changes to test/api/encode_decode_api_test.cpp (1 of 1 file). Show all
Unified · Split
| @@ -412,11 +412,8 @@ void EncodeDecodeTestAPI::SliceParamValidationForMode2 (int iSpatialIdx) { · 411 unmodified lines | |||
| 412 | } | 412 | } |
| 413 | void EncodeDecodeTestAPI::SliceParamValidationForMode3 (int iSpatialIdx) { | 413 | void EncodeDecodeTestAPI::SliceParamValidationForMode3 (int iSpatialIdx) { |
| 414 | 414 | ||
| 415 | unsigned int uiMbWidth = 0; | ||
| 416 | unsigned int uiMbHeight = 0; | 415 | unsigned int uiMbHeight = 0; |
| 417 | unsigned int uiMbNumInFrame = 0; | ||
| 418 | 416 | ||
| 419 | uiMbWidth = (param_.iPicWidth + 15) >> 4; | ||
| 420 | uiMbHeight = (param_.iPicHeight + 15) >> 4; | 417 | uiMbHeight = (param_.iPicHeight + 15) >> 4; |
| 421 | 418 | ||
| 422 | //change slice mode to SM_SINGLE_SLICE | 419 | //change slice mode to SM_SINGLE_SLICE |