ref: 2ac06c4a614fb6f49e6f22edd8467fd49bb6ff15
parent: 681919da8eaf89213d2243001d8d9069a3d02522
parent: f68b0811f05938cb99931e0989165b7fd28d0474
author: HaiboZhu <[email protected]>
date: Thu Jul 31 12:51:33 EDT 2014
Merge pull request #1240 from ruil2/output-1 update recontruct frame output
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3431,9 +3431,8 @@
iFrameSize += iLayerSize;
#ifdef ENABLE_FRAME_DUMP
- // Dump reconstruction picture for each sQualityStat layer
if (iCurDid + 1 < pSvcParam->iSpatialLayerNum) {
- DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum].sRecFileName[0], iCurDid,
+ DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[iCurDid].sRecFileName[0], iCurDid,
pCtx->bDependencyRecFlag[iCurDid]);
pCtx->bDependencyRecFlag[iCurDid] = true;
}
@@ -3601,9 +3600,9 @@
}
#ifdef ENABLE_FRAME_DUMP
- DumpRecFrame (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum -
- 1].sRecFileName[0], pCtx->bRecFlag); // pDecPic: final reconstruction output
+ DumpRecFrame (fsnr, &pSvcParam->sDependencyLayers[pSvcParam->iSpatialLayerNum-1].sRecFileName[0], pCtx->bRecFlag); // pDecPic: final reconstruction output
pCtx->bRecFlag = true;
+
#endif//ENABLE_FRAME_DUMP
++ pCtx->iCodingIndex;