History

Merge pull request #1244 from ruil2/slice_limit

this limitation of the number of MBs is removed in dynamic slice mode

lyao2 committed 12 years ago

Commit 11bf5752 parents 11f0a11 53562491 file · +0 −6Browse files

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+0−6
@@ -418,12 +418,6 @@ int32_t ParamValidationExt (SLogContext* pLogCtx, SWelsSvcCodingParam* pCodingPa · 417 unmodified lines
418 pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceSizeConstraint = pCodingParam->uiMaxNalSize - NAL_HEADER_ADD_0X30BYTES;418 pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceSizeConstraint = pCodingParam->uiMaxNalSize - NAL_HEADER_ADD_0X30BYTES;
419 }419 }
420 420
421 // considering the coding efficient and performance, iCountMbNum constraint by MIN_NUM_MB_PER_SLICE condition of multi-pSlice mode settting
422 if (iMbWidth * iMbHeight <= MIN_NUM_MB_PER_SLICE) {
423 pSpatialLayer->sSliceCfg.uiSliceMode = SM_SINGLE_SLICE;
424 pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceNum = 1;
425 break;
426 }
427 }421 }
428 break;422 break;
429 default: {423 default: {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t