Home
last modified time | relevance | path

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

123

/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/openh264/src/codec/encoder/core/src/
H A Dref_list_mgr_svc.cpp79 pRefList->pNextBuffer = pRefList->pRef[0]; in WelsResetRefList()
87 pRefList->pLongRefList[k] = pRefList->pLongRefList[k + 1]; in DeleteLTRFromLongList()
98 pRefList->pShortRefList[k] = pRefList->pShortRefList[k + 1]; in DeleteSTRFromShortList()
301 memmove (&pRefList->pLongRefList[1], &pRefList->pLongRefList[0], in LTRMarkProcess()
307 pRefList->pLongRefList[pRefList->uiLongRefCount - 1]->SetUnref(); in LTRMarkProcess()
337 pRefList->pNextBuffer = pRefList->pRef[i]; in PrefetchNextBuffer()
342 if (pRefList->pNextBuffer == NULL && pRefList->uiShortRefCount > 0) { in PrefetchNextBuffer()
343 pRefList->pNextBuffer = pRefList->pShortRefList[pRefList->uiShortRefCount - 1]; in PrefetchNextBuffer()
367 if (NULL == pRefList || NULL == pRefList->pRef[0]) in WelsUpdateRefList()
388 pRefList->pShortRefList[iRefIdx + 1] = pRefList->pShortRefList[iRefIdx]; in WelsUpdateRefList()
[all …]
H A Dencoder_ext.cpp987 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
1052 WELS_VERIFY_RETURN_IF (1, (NULL == pRefList)) in InitDqLayers()
1054 pRefList->pRef[i] = AllocPicture (pMa, kiWidth, kiHeight, true, in InitDqLayers()
1056 … WELS_VERIFY_RETURN_PROC_IF (1, (NULL == pRefList->pRef[i]), FreeRefList (pRefList, pMa, iNumRef)) in InitDqLayers()
1060 pRefList->pNextBuffer = pRefList->pRef[0]; in InitDqLayers()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openh264/src/codec/encoder/core/src/
H A Dref_list_mgr_svc.cpp79 pRefList->pNextBuffer = pRefList->pRef[0]; in WelsResetRefList()
87 pRefList->pLongRefList[k] = pRefList->pLongRefList[k + 1]; in DeleteLTRFromLongList()
98 pRefList->pShortRefList[k] = pRefList->pShortRefList[k + 1]; in DeleteSTRFromShortList()
301 memmove (&pRefList->pLongRefList[1], &pRefList->pLongRefList[0], in LTRMarkProcess()
307 pRefList->pLongRefList[pRefList->uiLongRefCount - 1]->SetUnref(); in LTRMarkProcess()
337 pRefList->pNextBuffer = pRefList->pRef[i]; in PrefetchNextBuffer()
342 if (pRefList->pNextBuffer == NULL && pRefList->uiShortRefCount > 0) { in PrefetchNextBuffer()
343 pRefList->pNextBuffer = pRefList->pShortRefList[pRefList->uiShortRefCount - 1]; in PrefetchNextBuffer()
367 if (NULL == pRefList || NULL == pRefList->pRef[0]) in WelsUpdateRefList()
388 pRefList->pShortRefList[iRefIdx + 1] = pRefList->pShortRefList[iRefIdx]; in WelsUpdateRefList()
[all …]
H A Dencoder_ext.cpp987 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
1052 WELS_VERIFY_RETURN_IF (1, (NULL == pRefList)) in InitDqLayers()
1054 pRefList->pRef[i] = AllocPicture (pMa, kiWidth, kiHeight, true, in InitDqLayers()
1056 … WELS_VERIFY_RETURN_PROC_IF (1, (NULL == pRefList->pRef[i]), FreeRefList (pRefList, pMa, iNumRef)) in InitDqLayers()
1060 pRefList->pNextBuffer = pRefList->pRef[0]; in InitDqLayers()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openh264/src/codec/encoder/core/src/
H A Dref_list_mgr_svc.cpp79 pRefList->pNextBuffer = pRefList->pRef[0]; in WelsResetRefList()
87 pRefList->pLongRefList[k] = pRefList->pLongRefList[k + 1]; in DeleteLTRFromLongList()
98 pRefList->pShortRefList[k] = pRefList->pShortRefList[k + 1]; in DeleteSTRFromShortList()
301 memmove (&pRefList->pLongRefList[1], &pRefList->pLongRefList[0], in LTRMarkProcess()
307 pRefList->pLongRefList[pRefList->uiLongRefCount - 1]->SetUnref(); in LTRMarkProcess()
337 pRefList->pNextBuffer = pRefList->pRef[i]; in PrefetchNextBuffer()
342 if (pRefList->pNextBuffer == NULL && pRefList->uiShortRefCount > 0) { in PrefetchNextBuffer()
343 pRefList->pNextBuffer = pRefList->pShortRefList[pRefList->uiShortRefCount - 1]; in PrefetchNextBuffer()
367 if (NULL == pRefList || NULL == pRefList->pRef[0]) in WelsUpdateRefList()
388 pRefList->pShortRefList[iRefIdx + 1] = pRefList->pShortRefList[iRefIdx]; in WelsUpdateRefList()
[all …]
H A Dencoder_ext.cpp987 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
1052 WELS_VERIFY_RETURN_IF (1, (NULL == pRefList)) in InitDqLayers()
1054 pRefList->pRef[i] = AllocPicture (pMa, kiWidth, kiHeight, true, in InitDqLayers()
1056 … WELS_VERIFY_RETURN_PROC_IF (1, (NULL == pRefList->pRef[i]), FreeRefList (pRefList, pMa, iNumRef)) in InitDqLayers()
1060 pRefList->pNextBuffer = pRefList->pRef[0]; in InitDqLayers()
[all …]
/dports/multimedia/openh264/openh264-2.1.1/codec/encoder/core/src/
H A Dref_list_mgr_svc.cpp79 pRefList->pNextBuffer = pRefList->pRef[0]; in WelsResetRefList()
87 pRefList->pLongRefList[k] = pRefList->pLongRefList[k + 1]; in DeleteLTRFromLongList()
98 pRefList->pShortRefList[k] = pRefList->pShortRefList[k + 1]; in DeleteSTRFromShortList()
301 memmove (&pRefList->pLongRefList[1], &pRefList->pLongRefList[0], in LTRMarkProcess()
307 pRefList->pLongRefList[pRefList->uiLongRefCount - 1]->SetUnref(); in LTRMarkProcess()
337 pRefList->pNextBuffer = pRefList->pRef[i]; in PrefetchNextBuffer()
342 if (pRefList->pNextBuffer == NULL && pRefList->uiShortRefCount > 0) { in PrefetchNextBuffer()
343 pRefList->pNextBuffer = pRefList->pShortRefList[pRefList->uiShortRefCount - 1]; in PrefetchNextBuffer()
367 if (NULL == pRefList || NULL == pRefList->pRef[0]) in WelsUpdateRefList()
388 pRefList->pShortRefList[iRefIdx + 1] = pRefList->pShortRefList[iRefIdx]; in WelsUpdateRefList()
[all …]
H A Dencoder_ext.cpp987 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
1052 WELS_VERIFY_RETURN_IF (1, (NULL == pRefList)) in InitDqLayers()
1054 pRefList->pRef[i] = AllocPicture (pMa, kiWidth, kiHeight, true, in InitDqLayers()
1056 … WELS_VERIFY_RETURN_PROC_IF (1, (NULL == pRefList->pRef[i]), FreeRefList (pRefList, pMa, iNumRef)) in InitDqLayers()
1060 pRefList->pNextBuffer = pRefList->pRef[0]; in InitDqLayers()
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/openh264/src/codec/decoder/core/src/
H A Dmanage_dec_ref.cpp233 … if (pCtx->sRefPic.pRefList[LIST_0][j]->iFramePoc > pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc) { in WelsInitBSliceRefList()
234 pTemp = pCtx->sRefPic.pRefList[LIST_0][i]; in WelsInitBSliceRefList()
235 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList()
236 pCtx->sRefPic.pRefList[LIST_0][j] = pTemp; in WelsInitBSliceRefList()
249 … if (pCtx->sRefPic.pRefList[LIST_0][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc) { in WelsInitBSliceRefList()
251 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList()
274 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
276 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
290 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc > pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
292 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
[all …]
H A Derror_concealment.cpp277 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
284 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
290 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
297 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
303 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
315 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
H A Dparse_mb_syn_cabac.cpp522 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in ParseInterPMotionInfoCabac()
766 || (pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
776 && pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]]->bIsComplete); in ParseInterBMotionInfoCabac()
803 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
812 …oncealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][ref_idx] in ParseInterBMotionInfoCabac()
813 && pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete); in ParseInterBMotionInfoCabac()
847 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
857 && pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete); in ParseInterBMotionInfoCabac()
993 bool bIsLongRef = pCtx->sRefPic.pRefList[LIST_1][0]->bIsLongRef; in ParseInterBMotionInfoCabac()
1114 …efConcealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][iref] in ParseInterBMotionInfoCabac()
[all …]
H A Ddecoder_core.cpp385 …&& pCtx->sRefPic.pRefList[LIST_0][0]->iFramePoc + pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc == … in CreateImplicitWeightTable()
393 if (pCtx->sRefPic.pRefList[LIST_0][iRef0]) { in CreateImplicitWeightTable()
394 const int32_t iPoc0 = pCtx->sRefPic.pRefList[LIST_0][iRef0]->iFramePoc; in CreateImplicitWeightTable()
395 bool bIsLongRef0 = pCtx->sRefPic.pRefList[LIST_0][iRef0]->bIsLongRef; in CreateImplicitWeightTable()
397 if (pCtx->sRefPic.pRefList[LIST_1][iRef1]) { in CreateImplicitWeightTable()
398 const int32_t iPoc1 = pCtx->sRefPic.pRefList[LIST_1][iRef1]->iFramePoc; in CreateImplicitWeightTable()
399 bool bIsLongRef1 = pCtx->sRefPic.pRefList[LIST_1][iRef1]->bIsLongRef; in CreateImplicitWeightTable()
2649 pCtx->pDec->pRefPic[listIdx][i] = pCtx->sRefPic.pRefList[listIdx][i]; in DecodeCurrentAccessUnit()
2748 …bAllRefComplete &= pCtx->sRefPic.pRefList[ LIST_0 ][ pCtx->pCurDqLayer->pRefIndex[0][iRealMbIdx][0… in CheckRefPicturesComplete()
2752 …bAllRefComplete &= pCtx->sRefPic.pRefList[ LIST_0 ][ pCtx->pCurDqLayer->pRefIndex[0][iRealMbIdx][0… in CheckRefPicturesComplete()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openh264/src/codec/decoder/core/src/
H A Dmanage_dec_ref.cpp281 … 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()
297 … if (pCtx->sRefPic.pRefList[LIST_0][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc) { in WelsInitBSliceRefList()
299 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList()
322 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
324 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
338 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc > pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
340 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
[all …]
H A Derror_concealment.cpp277 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
284 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
290 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
297 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
303 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
315 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
H A 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()
782 … && (pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
809 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
819 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
853 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
863 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
892 if (pCtx->sRefPic.pRefList[LIST_1][0] == NULL) { in ParseInterBMotionInfoCabac()
897 bool bIsLongRef = pCtx->sRefPic.pRefList[LIST_1][0]->bIsLongRef; in ParseInterBMotionInfoCabac()
996 …efConcealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][iref] in ParseInterBMotionInfoCabac()
[all …]
H A Ddecoder_core.cpp406 if (pCtx->sRefPic.pRefList[LIST_0][0] && pCtx->sRefPic.pRefList[LIST_1][0]) { in CreateImplicitWeightTable()
408 …&& pCtx->sRefPic.pRefList[LIST_0][0]->iFramePoc + pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc == … 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()
2558 while (i < MAX_DPB_COUNT && pLastThreadCtx->pCtx->sRefPic.pRefList[listIdx][i]) { in DecodeCurrentAccessUnit()
2860 while (i < MAX_DPB_COUNT && pCtx->sRefPic.pRefList[listIdx][i]) { in DecodeCurrentAccessUnit()
[all …]
H A 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()
3044 if (pCtx->sRefPic.pRefList[LIST_1][0] != NULL) { in ComputeColocatedTemporalScaling()
3046 if (pCtx->sRefPic.pRefList[LIST_0][i] != NULL) { in ComputeColocatedTemporalScaling()
3047 const int32_t poc0 = pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc; in ComputeColocatedTemporalScaling()
3048 const int32_t poc1 = pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc; in ComputeColocatedTemporalScaling()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openh264/src/codec/decoder/core/src/
H A Dmanage_dec_ref.cpp281 … 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()
297 … if (pCtx->sRefPic.pRefList[LIST_0][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc) { in WelsInitBSliceRefList()
299 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList()
322 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
324 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
338 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc > pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
340 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
[all …]
H A Derror_concealment.cpp277 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
284 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
290 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
297 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
303 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
315 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
H A 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()
782 … && (pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
809 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
819 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
853 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
863 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
892 if (pCtx->sRefPic.pRefList[LIST_1][0] == NULL) { in ParseInterBMotionInfoCabac()
897 bool bIsLongRef = pCtx->sRefPic.pRefList[LIST_1][0]->bIsLongRef; in ParseInterBMotionInfoCabac()
996 …efConcealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][iref] in ParseInterBMotionInfoCabac()
[all …]
H A Ddecoder_core.cpp406 if (pCtx->sRefPic.pRefList[LIST_0][0] && pCtx->sRefPic.pRefList[LIST_1][0]) { in CreateImplicitWeightTable()
408 …&& pCtx->sRefPic.pRefList[LIST_0][0]->iFramePoc + pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc == … 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()
2558 while (i < MAX_DPB_COUNT && pLastThreadCtx->pCtx->sRefPic.pRefList[listIdx][i]) { in DecodeCurrentAccessUnit()
2860 while (i < MAX_DPB_COUNT && pCtx->sRefPic.pRefList[listIdx][i]) { in DecodeCurrentAccessUnit()
[all …]
/dports/multimedia/openh264/openh264-2.1.1/codec/decoder/core/src/
H A Dmanage_dec_ref.cpp281 … 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()
297 … if (pCtx->sRefPic.pRefList[LIST_0][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_0][i]->iFramePoc) { in WelsInitBSliceRefList()
299 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList()
322 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
324 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
338 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc > pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
340 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
[all …]
H A Derror_concealment.cpp277 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
284 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
290 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
297 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
303 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
315 pCtx->pECRefPic[iRefIdx] = pCtx->sRefPic.pRefList[LIST_0][iRefIdx]; in GetAvilInfoFromCorrectMb()
H A 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()
782 … && (pCtx->sRefPic.pRefList[listIdx][iRef[listIdx]]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
809 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
819 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
853 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
863 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
892 if (pCtx->sRefPic.pRefList[LIST_1][0] == NULL) { in ParseInterBMotionInfoCabac()
897 bool bIsLongRef = pCtx->sRefPic.pRefList[LIST_1][0]->bIsLongRef; in ParseInterBMotionInfoCabac()
996 …efConcealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][iref] in ParseInterBMotionInfoCabac()
[all …]
H A Ddecoder_core.cpp406 if (pCtx->sRefPic.pRefList[LIST_0][0] && pCtx->sRefPic.pRefList[LIST_1][0]) { in CreateImplicitWeightTable()
408 …&& pCtx->sRefPic.pRefList[LIST_0][0]->iFramePoc + pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc == … 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()
2558 while (i < MAX_DPB_COUNT && pLastThreadCtx->pCtx->sRefPic.pRefList[listIdx][i]) { in DecodeCurrentAccessUnit()
2846 while (i < MAX_DPB_COUNT && pCtx->sRefPic.pRefList[listIdx][i]) { in DecodeCurrentAccessUnit()
[all …]

123