History

fix dump file issue that removing redundant operation

Karina committed 10 years ago

Commit 37e67eb1 parent 8fcef674 files · +10 −15Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+2−9
@@ -3970,9 +3970,9 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3969 unmodified lines
39703970 "WelsEncoderEncodeExt()MinCr Checking,codec bitstream size is larger than Level limitation");
39713971 }
39723972 #ifdef ENABLE_FRAME_DUMP
3973− if (iCurDid + 1 < pSvcParam->iSpatialLayerNum) {
3973+ {
39743974 DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[iCurDid].sRecFileName[0], iCurDid,
3975− pCtx->bDependencyRecFlag[iCurDid], pCtx->pCurDqLayer);
3975+ pCtx->bDependencyRecFlag[iCurDid], pCtx->pCurDqLayer,pSvcParam->bSimulcastAVC);
39763976 pCtx->bDependencyRecFlag[iCurDid] = true;
39773977 }
39783978 #endif//ENABLE_FRAME_DUMP
@@ -4161,13 +4161,6 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 182 unmodified lines
41614161 AdjustBaseLayer (pCtx);
41624162 }
41634163
4164−#ifdef ENABLE_FRAME_DUMP
4165− DumpRecFrame (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum - 1].sRecFileName[0],
4166− pSvcParam->iSpatialLayerNum - 1, pCtx->bRecFlag, pCtx->pCurDqLayer); // pDecPic: final reconstruction output
4167− pCtx->bRecFlag = true;
4168−
4169−#endif//ENABLE_FRAME_DUMP
4170−
41714164 // to check number of layers / nals / slices dependencies
41724165 if (iLayerNum > MAX_LAYER_NUM_OF_FRAME) {
41734166 WelsLog (& pCtx->sLogCtx, WELS_LOG_ERROR, "WelsEncoderEncodeExt(), iLayerNum(%d) > MAX_LAYER_NUM_OF_FRAME(%d)!",

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