Searched refs:pRefList (Results 1 – 12 of 12) sorted by relevance
/third_party/openh264/codec/encoder/core/src/ |
D | ref_list_mgr_svc.cpp | 67 SRefList* pRefList = pCtx->ppRefPicListExt[pCtx->uiDependencyId]; in WelsResetRefList() local 71 pRefList->pShortRefList[i] = NULL; in WelsResetRefList() 73 pRefList->pLongRefList[i] = NULL; in WelsResetRefList() 75 pRefList->pRef[i]->SetUnref(); in WelsResetRefList() 77 pRefList->uiLongRefCount = 0; in WelsResetRefList() 78 pRefList->uiShortRefCount = 0; in WelsResetRefList() 79 pRefList->pNextBuffer = pRefList->pRef[0]; in WelsResetRefList() 83 SRefList* pRefList = pCtx->ppRefPicListExt[pCtx->uiDependencyId]; in DeleteLTRFromLongList() local 86 for (k = iIdx; k < pRefList->uiLongRefCount - 1; k++) { in DeleteLTRFromLongList() 87 pRefList->pLongRefList[k] = pRefList->pLongRefList[k + 1]; in DeleteLTRFromLongList() [all …]
|
D | encoder_ext.cpp | 986 void FreeRefList (SRefList*& pRefList, CMemoryAlign* pMa, const int iMaxNumRefFrame) { in FreeRefList() argument 987 if (NULL == pRefList) { in FreeRefList() 993 if (pRefList->pRef[iRef] != NULL) { in FreeRefList() 994 FreePicture (pMa, &pRefList->pRef[iRef]); in FreeRefList() 999 pMa->WelsFree (pRefList, "pRefList"); in FreeRefList() 1000 pRefList = NULL; in FreeRefList() 1037 SRefList* pRefList = NULL; in InitDqLayers() local 1051 pRefList = (SRefList*)pMa->WelsMallocz (sizeof (SRefList), "pRefList"); in InitDqLayers() 1052 WELS_VERIFY_RETURN_IF (1, (NULL == pRefList)) in InitDqLayers() 1054 pRefList->pRef[i] = AllocPicture (pMa, kiWidth, kiHeight, true, in InitDqLayers() [all …]
|
/third_party/openh264/codec/decoder/core/src/ |
D | manage_dec_ref.cpp | 239 memset (pCtx->sRefPic.pRefList[LIST_0], 0, MAX_DPB_COUNT * sizeof (PPicture)); in WelsInitBSliceRefList() 240 memset (pCtx->sRefPic.pRefList[LIST_1], 0, MAX_DPB_COUNT * sizeof (PPicture)); in WelsInitBSliceRefList() 274 pCtx->sRefPic.pRefList[LIST_0][iCount++] = pLSCurrPocList0[i]; in WelsInitBSliceRefList() 281 … if (pCtx->sRefPic.pRefList[LIST_0][j]->iFramePoc > pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc) { in WelsInitBSliceRefList() 282 pTemp = pCtx->sRefPic.pRefList[LIST_0][i]; in WelsInitBSliceRefList() 283 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 284 pCtx->sRefPic.pRefList[LIST_0][j] = pTemp; in WelsInitBSliceRefList() 290 pCtx->sRefPic.pRefList[LIST_0][iCount++] = pLTCurrPocList0[i]; in WelsInitBSliceRefList() 297 … if (pCtx->sRefPic.pRefList[LIST_0][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc) { in WelsInitBSliceRefList() 298 pTemp = pCtx->sRefPic.pRefList[LIST_0][i]; in WelsInitBSliceRefList() [all …]
|
D | parse_mb_syn_cabac.cpp | 525 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in ParseInterPMotionInfoCabac() 772 || (pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac() 777 RETURN_ERR_IF_NULL(pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]]); in ParseInterBMotionInfoCabac() 782 …ncealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][iRef[lis… in ParseInterBMotionInfoCabac() 783 … && (pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac() 810 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac() 815 RETURN_ERR_IF_NULL(pCtx->sRefPic.pRefList[listIdx][ref_idx]); in ParseInterBMotionInfoCabac() 820 …oncealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][ref_idx] in ParseInterBMotionInfoCabac() 821 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac() 855 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac() [all …]
|
D | error_concealment.cpp | 284 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb() 291 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb() 297 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb() 304 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb() 310 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb() 322 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
|
D | decoder_core.cpp | 406 if (pCtx->sRefPic.pRefList[LIST_0][0] && pCtx->sRefPic.pRefList[LIST_1][0]) { in CreateImplicitWeightTable() 408 …&& int64_t(pCtx->sRefPic.pRefList[LIST_0][0]->iFramePoc) + int64_t(pCtx->sRefPic.pRefList[LIST_1][… in CreateImplicitWeightTable() 417 if (pCtx->sRefPic.pRefList[LIST_0][iRef0]) { in CreateImplicitWeightTable() 418 const int32_t iPoc0 = pCtx->sRefPic.pRefList[LIST_0][iRef0]->iFramePoc; in CreateImplicitWeightTable() 419 bool bIsLongRef0 = pCtx->sRefPic.pRefList[LIST_0][iRef0]->bIsLongRef; in CreateImplicitWeightTable() 421 if (pCtx->sRefPic.pRefList[LIST_1][iRef1]) { in CreateImplicitWeightTable() 422 const int32_t iPoc1 = pCtx->sRefPic.pRefList[LIST_1][iRef1]->iFramePoc; in CreateImplicitWeightTable() 423 bool bIsLongRef1 = pCtx->sRefPic.pRefList[LIST_1][iRef1]->bIsLongRef; in CreateImplicitWeightTable() 2543 while (i < MAX_REF_PIC_COUNT && pLastThreadCtx->pCtx->sRefPic.pRefList[listIdx][i]) { in DecodeCurrentAccessUnit() 2544 … pLastThreadCtx->pDec->pRefPic[listIdx][i] = pLastThreadCtx->pCtx->sRefPic.pRefList[listIdx][i]; in DecodeCurrentAccessUnit() [all …]
|
D | decode_slice.cpp | 1341 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCabacPSlice() 1406 PPicture* ppRefPicL0 = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCabacBSlice() 1407 PPicture* ppRefPicL1 = pCtx->sRefPic.pRefList[LIST_1]; in WelsDecodeMbCabacBSlice() 2448 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCavlcPSlice() 2542 PPicture* ppRefPicL0 = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCavlcBSlice() 2543 PPicture* ppRefPicL1 = pCtx->sRefPic.pRefList[LIST_1]; in WelsDecodeMbCavlcBSlice() 3047 if (pCtx->sRefPic.pRefList[LIST_1][0] != NULL) { in ComputeColocatedTemporalScaling() 3049 if (pCtx->sRefPic.pRefList[LIST_0][i] != NULL) { in ComputeColocatedTemporalScaling() 3050 const int32_t poc0 = pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc; in ComputeColocatedTemporalScaling() 3051 const int32_t poc1 = pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc; in ComputeColocatedTemporalScaling()
|
D | parse_mb_syn_cavlc.cpp | 1070 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in ParseInterInfo() 1333 ppRefPic[LIST_0] = pCtx->sRefPic.pRefList[LIST_0]; in ParseInterBInfo() 1334 ppRefPic[LIST_1] = pCtx->sRefPic.pRefList[LIST_1]; in ParseInterBInfo() 1541 if (pCtx->sRefPic.pRefList[LIST_1][0] == NULL) { in ParseInterBInfo() 1546 bool bIsLongRef = pCtx->sRefPic.pRefList[LIST_1][0]->bIsLongRef; in ParseInterBInfo()
|
D | mv_pred.cpp | 317 PPicture colocPic = pCtx->sRefPic.pRefList[LIST_1][0]; in GetColocatedMb() 569 bool bIsLongRef = pCtx->sRefPic.pRefList[LIST_1][0]->bIsLongRef; in PredMvBDirectSpatial() 1164 PPicture pic1 = pCtx->sRefPic.pRefList[LIST_1][0]; in MapColToList0() 1168 if (pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc == iFramePoc) { in MapColToList0()
|
D | deblocking.cpp | 1244 pFilter.pRefPics[0] = pCtx->sRefPic.pRefList[0]; in WelsDeblockingFilterSlice() 1245 pFilter.pRefPics[1] = pCtx->sRefPic.pRefList[1]; in WelsDeblockingFilterSlice() 1310 pFilter.pRefPics[0] = pCtx->sRefPic.pRefList[0]; in WelsDeblockingInitFilter() 1311 pFilter.pRefPics[1] = pCtx->sRefPic.pRefList[1]; in WelsDeblockingInitFilter()
|
D | rec_mb.cpp | 222 pRefPic = pCtx->sRefPic.pRefList[listIdx][iRefIdx]; in GetRefPic() 257 PPicture pRefPic = pCtx->sRefPic.pRefList[listIdx][iRefIdx]; in BaseMC()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | decoder_context.h | 150 PPicture pRefList[LIST_A][MAX_DPB_COUNT]; // reference picture marking plus FIFO scheme member
|