ref: 5356249100d88c81c423814ba626a4701d12117a
parent: 11f0a111772d964b30ee428979d2c25e11ee8df4
author: ruil2 <ruil2@cisco.com>
date: Fri Aug 1 12:10:11 EDT 2014
if dynamic slice mode, this limitation should be removed
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -418,12 +418,6 @@
pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceSizeConstraint = pCodingParam->uiMaxNalSize - NAL_HEADER_ADD_0X30BYTES;
}
- // considering the coding efficient and performance, iCountMbNum constraint by MIN_NUM_MB_PER_SLICE condition of multi-pSlice mode settting
- if (iMbWidth * iMbHeight <= MIN_NUM_MB_PER_SLICE) {
- pSpatialLayer->sSliceCfg.uiSliceMode = SM_SINGLE_SLICE;
- pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceNum = 1;
- break;
- }
}
break;
default: {