Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3431,9 +3431,8 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3430 unmodified lines | |||
| 3431 | iFrameSize += iLayerSize; | 3431 | iFrameSize += iLayerSize; |
| 3432 | 3432 | ||
| 3433 | #ifdef ENABLE_FRAME_DUMP | 3433 | #ifdef ENABLE_FRAME_DUMP |
| 3434 | // Dump reconstruction picture for each sQualityStat layer | ||
| 3435 | if (iCurDid + 1 < pSvcParam->iSpatialLayerNum) { | 3434 | if (iCurDid + 1 < pSvcParam->iSpatialLayerNum) { |
| 3436 | DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum].sRecFileName[0], iCurDid, | 3435 | DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[iCurDid].sRecFileName[0], iCurDid, |
| 3437 | pCtx->bDependencyRecFlag[iCurDid]); | 3436 | pCtx->bDependencyRecFlag[iCurDid]); |
| 3438 | pCtx->bDependencyRecFlag[iCurDid] = true; | 3437 | pCtx->bDependencyRecFlag[iCurDid] = true; |
| 3439 | } | 3438 | } |
| @@ -3601,9 +3600,9 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 161 unmodified lines | |||
| 3601 | } | 3600 | } |
| 3602 | 3601 | ||
| 3603 | #ifdef ENABLE_FRAME_DUMP | 3602 | #ifdef ENABLE_FRAME_DUMP |
| 3604 | DumpRecFrame (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum - | 3603 | DumpRecFrame (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum-1].sRecFileName[0], pCtx->bRecFlag); // pDecPic: final reconstruction output |
| 3605 | 1].sRecFileName[0], pCtx->bRecFlag); // pDecPic: final reconstruction output | ||
| 3606 | pCtx->bRecFlag = true; | 3604 | pCtx->bRecFlag = true; |
| 3605 | |||
| 3607 | #endif//ENABLE_FRAME_DUMP | 3606 | #endif//ENABLE_FRAME_DUMP |
| 3608 | 3607 | ||
| 3609 | ++ pCtx->iCodingIndex; | 3608 | ++ pCtx->iCodingIndex; |