History

astyle files

Karina committed 10 years ago

Commit 945fc0e1 parent 37e67eb3 files · +17 −13Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+5−4
@@ -589,8 +589,9 @@ int32_t ParamValidationExt (SLogContext* pLogCtx, SWelsSvcCodingParam* pCodingPa · 588 unmodified lines
589589 iMbWidth = (kiPicWidth + 15) >> 4;
590590 iMbHeight = (kiPicHeight + 15) >> 4;
591591 if (pSpatialLayer->sSliceArgument.uiSliceSizeConstraint <= MAX_MACROBLOCK_SIZE_IN_BYTE) {
592− WelsLog (pLogCtx, WELS_LOG_ERROR, "ParamValidationExt(), invalid iSliceSize (%d) settings!should be larger than MAX_MACROBLOCK_SIZE_IN_BYTE(%d)",
593− pSpatialLayer->sSliceArgument.uiSliceSizeConstraint,MAX_MACROBLOCK_SIZE_IN_BYTE);
592+ WelsLog (pLogCtx, WELS_LOG_ERROR,
593+ "ParamValidationExt(), invalid iSliceSize (%d) settings!should be larger than MAX_MACROBLOCK_SIZE_IN_BYTE(%d)",
594+ pSpatialLayer->sSliceArgument.uiSliceSizeConstraint, MAX_MACROBLOCK_SIZE_IN_BYTE);
594595 return ENC_RETURN_UNSUPPORTED_PARA;
595596 }
596597
@@ -3592,7 +3593,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 2995 unmodified lines
35923593 for (int32_t iDidIdx = 0; iDidIdx < pSvcParam->iSpatialLayerNum; iDidIdx++) {
35933594 SSpatialLayerInternal* pParamInternal = &pSvcParam->sDependencyLayers[iDidIdx];
35943595 int32_t iTemporalId = GetTemporalLevel (pParamInternal, pParamInternal->iCodingIndex,
3595− pSvcParam->uiGopSize);
3596+ pSvcParam->uiGopSize);
35963597 if (iTemporalId == INVALID_TEMPORAL_ID)
35973598 pParamInternal->iCodingIndex ++;
35983599 }
@@ -3972,7 +3973,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 373 unmodified lines
39723973 #ifdef ENABLE_FRAME_DUMP
39733974 {
39743975 DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[iCurDid].sRecFileName[0], iCurDid,
3975− pCtx->bDependencyRecFlag[iCurDid], pCtx->pCurDqLayer,pSvcParam->bSimulcastAVC);
3976+ pCtx->bDependencyRecFlag[iCurDid], pCtx->pCurDqLayer, pSvcParam->bSimulcastAVC);
39763977 pCtx->bDependencyRecFlag[iCurDid] = true;
39773978 }
39783979 #endif//ENABLE_FRAME_DUMP

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