add crop output for encoder
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all
Unified · Split
| @@ -3434,7 +3434,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3433 unmodified lines | ||
| 3434 | 3434 | #ifdef ENABLE_FRAME_DUMP |
| 3435 | 3435 | if (iCurDid + 1 < pSvcParam->iSpatialLayerNum) { |
| 3436 | 3436 | DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[iCurDid].sRecFileName[0], iCurDid, |
| 3437 | − pCtx->bDependencyRecFlag[iCurDid]); | |
| 3437 | + pCtx->bDependencyRecFlag[iCurDid], pCtx->pCurDqLayer); | |
| 3438 | 3438 | pCtx->bDependencyRecFlag[iCurDid] = true; |
| 3439 | 3439 | } |
| 3440 | 3440 | #endif//ENABLE_FRAME_DUMP |
| @@ -3601,8 +3601,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 160 unmodified lines | ||
| 3601 | 3601 | } |
| 3602 | 3602 | |
| 3603 | 3603 | #ifdef ENABLE_FRAME_DUMP |
| 3604 | − DumpRecFrame (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum - 1].sRecFileName[0], | |
| 3605 | − pCtx->bRecFlag); // pDecPic: final reconstruction output | |
| 3604 | + DumpRecFrame (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum - 1].sRecFileName[0], pSvcParam->iSpatialLayerNum - 1, pCtx->bRecFlag, pCtx->pCurDqLayer); // pDecPic: final reconstruction output | |
| 3606 | 3605 | pCtx->bRecFlag = true; |
| 3607 | 3606 | |
| 3608 | 3607 | #endif//ENABLE_FRAME_DUMP |