Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 4 files). Show all
Unified · Split
| @@ -3970,9 +3970,9 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3969 unmodified lines | |||
| 3970 | "WelsEncoderEncodeExt()MinCr Checking,codec bitstream size is larger than Level limitation"); | 3970 | "WelsEncoderEncodeExt()MinCr Checking,codec bitstream size is larger than Level limitation"); |
| 3971 | } | 3971 | } |
| 3972 | #ifdef ENABLE_FRAME_DUMP | 3972 | #ifdef ENABLE_FRAME_DUMP |
| 3973 | if (iCurDid + 1 < pSvcParam->iSpatialLayerNum) { | 3973 | { |
| 3974 | DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[iCurDid].sRecFileName[0], iCurDid, | 3974 | DumpDependencyRec (fsnr, &pSvcParam->sDependencyLayers[iCurDid].sRecFileName[0], iCurDid, |
| 3975 | pCtx->bDependencyRecFlag[iCurDid], pCtx->pCurDqLayer); | 3975 | pCtx->bDependencyRecFlag[iCurDid], pCtx->pCurDqLayer,pSvcParam->bSimulcastAVC); |
| 3976 | pCtx->bDependencyRecFlag[iCurDid] = true; | 3976 | pCtx->bDependencyRecFlag[iCurDid] = true; |
| 3977 | } | 3977 | } |
| 3978 | #endif//ENABLE_FRAME_DUMP | 3978 | #endif//ENABLE_FRAME_DUMP |
| @@ -4161,13 +4161,6 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 182 unmodified lines | |||
| 4161 | AdjustBaseLayer (pCtx); | 4161 | AdjustBaseLayer (pCtx); |
| 4162 | } | 4162 | } |
| 4163 | 4163 | ||
| 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 | |||
| 4171 | // to check number of layers / nals / slices dependencies | 4164 | // to check number of layers / nals / slices dependencies |
| 4172 | if (iLayerNum > MAX_LAYER_NUM_OF_FRAME) { | 4165 | if (iLayerNum > MAX_LAYER_NUM_OF_FRAME) { |
| 4173 | WelsLog (& pCtx->sLogCtx, WELS_LOG_ERROR, "WelsEncoderEncodeExt(), iLayerNum(%d) > MAX_LAYER_NUM_OF_FRAME(%d)!", | 4166 | WelsLog (& pCtx->sLogCtx, WELS_LOG_ERROR, "WelsEncoderEncodeExt(), iLayerNum(%d) > MAX_LAYER_NUM_OF_FRAME(%d)!", |