ref: 6f553c9742c58d0285619f05d068af065f868555
parent: 79157ce6327b171fa7f5a5359730087f4025de38
author: Sijia Chen <[email protected]>
date: Tue Sep 9 11:09:07 EDT 2014
remove unused lines
--- a/codec/encoder/core/src/ref_list_mgr_svc.cpp
+++ b/codec/encoder/core/src/ref_list_mgr_svc.cpp
@@ -806,40 +806,6 @@
}
}
} // end of (int idx = 0; idx < pVaaExt->iNumOfAvailableRef; idx++)
-#if 1
- FILE* flog = fopen("ReferenceLog.txt","a+");
- WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO,"CurrentFramePoc=%d\n", iPOC);
- fprintf(flog,"CurrentFramePoc=%d, isLTR=%d\n", iPOC, pCtx->bCurFrameMarkedAsSceneLtr);
- for (int j=0;j<iNumRef;j++) {
- SPicture* pARefPicture = pRefList->pLongRefList[j];
- if (pARefPicture!=NULL) {
- fprintf(flog,"\tRefLot[%d]: iPictureType=%d, bUsedAsRef=%d, bIsLongRef=%d, bIsSceneLTR=%d, uiTemporalId=%d, iFrameNum=%d, iMarkFrameNum=%d, iLongTermPicNum=%d, uiRecieveConfirmed=%d\n",
- j,
- pARefPicture->iPictureType,
- pARefPicture->bUsedAsRef,
- pARefPicture->bIsLongRef,
- pARefPicture->bIsSceneLTR,
- pARefPicture->uiTemporalId,
- pARefPicture->iFrameNum,
- pARefPicture->iMarkFrameNum,
- pARefPicture->iLongTermPicNum,
- pARefPicture->uiRecieveConfirmed);
- WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO,"\tRefLot[%d]: iPictureType=%d, bUsedAsRef=%d, bIsLongRef=%d, bIsSceneLTR=%d, uiTemporalId=%d, iFrameNum=%d, iMarkFrameNum=%d, iLongTermPicNum=%d, uiRecieveConfirmed=%d\n",
- j,
- pARefPicture->iPictureType,
- pARefPicture->bUsedAsRef,
- pARefPicture->bIsLongRef,
- pARefPicture->bIsSceneLTR,
- pARefPicture->uiTemporalId,
- pARefPicture->iFrameNum,
- pARefPicture->iMarkFrameNum,
- pARefPicture->iLongTermPicNum,
- pARefPicture->uiRecieveConfirmed);
- }
- }
- fclose(flog);
-#endif
-
} else {
// dealing with IDR
WelsResetRefList (pCtx); //for IDR, SHOULD reset pRef list.