Home
last modified time | relevance | path

Searched refs:pRefList (Results 1 – 12 of 12) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dref_list_mgr_svc.cpp67 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 …]
Dencoder_ext.cpp986 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/
Dmanage_dec_ref.cpp239 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 …]
Dparse_mb_syn_cabac.cpp525 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 …]
Derror_concealment.cpp284 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()
Ddecoder_core.cpp406 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 …]
Ddecode_slice.cpp1341 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()
Dparse_mb_syn_cavlc.cpp1070 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()
Dmv_pred.cpp317 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()
Ddeblocking.cpp1244 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()
Drec_mb.cpp222 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/
Ddecoder_context.h150 PPicture pRefList[LIST_A][MAX_DPB_COUNT]; // reference picture marking plus FIFO scheme member