Home
last modified time | relevance | path

Searched refs:LIST_0 (Results 1 – 13 of 13) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dmanage_dec_ref.cpp107 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPic()
109 pRefPic->uiRefCount[LIST_0] = 0; in WelsResetRefPic()
113 if (pRefPic->pShortRefList[LIST_0][i] != NULL) { in WelsResetRefPic()
114 SetUnRef (pRefPic->pShortRefList[LIST_0][i]); in WelsResetRefPic()
115 pRefPic->pShortRefList[LIST_0][i] = NULL; in WelsResetRefPic()
118 pRefPic->uiShortRefCount[LIST_0] = 0; in WelsResetRefPic()
121 if (pRefPic->pLongRefList[LIST_0][i] != NULL) { in WelsResetRefPic()
122 SetUnRef (pRefPic->pLongRefList[LIST_0][i]); in WelsResetRefPic()
123 pRefPic->pLongRefList[LIST_0][i] = NULL; in WelsResetRefPic()
126 pRefPic->uiLongRefCount[LIST_0] = 0; in WelsResetRefPic()
[all …]
Dmv_pred.cpp358 ST32 (pCurDqLayer->iColocMv[LIST_0][0], LD32 (colocPic->pMv[LIST_0][iMbXy][0])); in GetColocatedMb()
360 pCurDqLayer->iColocRefIndex[LIST_0][0] = colocPic->pRefIndex[LIST_0][iMbXy][0]; in GetColocatedMb()
365 … CopyRectBlock4Cols (pCurDqLayer->iColocMv[LIST_0], colocPic->pMv[LIST_0][iMbXy], 16, 16, 4, 4); in GetColocatedMb()
366 …CopyRectBlock4Cols (pCurDqLayer->iColocRefIndex[LIST_0], colocPic->pRefIndex[LIST_0][iMbXy], 4, 4,… in GetColocatedMb()
465 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in PredMvBDirectSpatial()
556 if (ref[LIST_0] <= REF_NOT_IN_LIST && ref[LIST_1] <= REF_NOT_IN_LIST) { in PredMvBDirectSpatial()
557 ref[LIST_0] = ref[LIST_1] = 0; in PredMvBDirectSpatial()
561 } else if (ref[LIST_0] < 0) { in PredMvBDirectSpatial()
572 if ((* (int32_t*)iMvp[LIST_0] | * (int32_t*)iMvp[LIST_1])) { in PredMvBDirectSpatial()
574 …&& ((pCurDqLayer->iColocRefIndex[LIST_0][0] == 0 && (unsigned) (pCurDqLayer->iColocMv[LIST_0][0][0… in PredMvBDirectSpatial()
[all …]
Ddeblocking.cpp106 …(((refs[LIST_0][iIndex] == refs[LIST_0][iNeigborIndex]) && (refs[LIST_1][iIndex] == refs[LIST_1][i…
107 …((refs[LIST_0][iIndex] == refs[LIST_1][iNeigborIndex]) && (refs[LIST_1][iIndex] == refs[LIST_0][iN…
108 ((refs[LIST_0][iIndex] != refs[LIST_1][iIndex]) ? \
109 ((refs[LIST_0][iIndex] == refs[LIST_0][iNeigborIndex]) ? \
110 …(IN_MB_BS_MV_DIFF (mv[LIST_0], mv[LIST_0], iMbXy, iIndex, iNeigborIndex) || IN_MB_BS_MV_DIFF (mv[L…
111 …(IN_MB_BS_MV_DIFF (mv[LIST_0], mv[LIST_1], iMbXy, iIndex, iNeigborIndex) || IN_MB_BS_MV_DIFF (mv[L…
112 …((IN_MB_BS_MV_DIFF (mv[LIST_0], mv[LIST_0], iMbXy, iIndex, iNeigborIndex) || IN_MB_BS_MV_DIFF (mv[…
113 …(IN_MB_BS_MV_DIFF (mv[LIST_0], mv[LIST_1], iMbXy, iIndex, iNeigborIndex) || IN_MB_BS_MV_DIFF (mv[L…
118 …!!(((refs[LIST_0][iIndex] == refs[LIST_0][iNeigborIndex]) && (refs[LIST_1][iIndex] == refs[LIST_1]…
119 …((refs[LIST_0][iIndex] == refs[LIST_1][iNeigborIndex]) && (refs[LIST_1][iIndex] == refs[LIST_0][iN…
[all …]
Drec_mb.cpp375 iWoc1 = pCurDqLayer->pPredWeightTable->sPredList[LIST_0].iLumaWeight[iRefIdx1]; in BiWeightPrediction()
376 iOoc1 = pCurDqLayer->pPredWeightTable->sPredList[LIST_0].iLumaOffset[iRefIdx1]; in BiWeightPrediction()
405 iWoc1 = pCurDqLayer->pPredWeightTable->sPredList[LIST_0].iChromaWeight[iRefIdx1][k]; in BiWeightPrediction()
406 iOoc1 = pCurDqLayer->pPredWeightTable->sPredList[LIST_0].iChromaOffset[iRefIdx1][k]; in BiWeightPrediction()
499 WELS_B_MB_REC_VERIFY (GetRefPic (&pMCRefMem, pCtx, iRefIndex, LIST_0)); in GetInterPred()
500 BaseMC (pCtx, &pMCRefMem, LIST_0, iRefIndex, iMBOffsetX, iMBOffsetY, pMCFunc, 16, 16, iMVs); in GetInterPred()
504 WeightPrediction (pCurDqLayer, &pMCRefMem, LIST_0, iRefIndex, 16, 16); in GetInterPred()
511 WELS_B_MB_REC_VERIFY (GetRefPic (&pMCRefMem, pCtx, iRefIndex, LIST_0)); in GetInterPred()
512 BaseMC (pCtx, &pMCRefMem, LIST_0, iRefIndex, iMBOffsetX, iMBOffsetY, pMCFunc, 16, 8, iMVs); in GetInterPred()
515 WeightPrediction (pCurDqLayer, &pMCRefMem, LIST_0, iRefIndex, 16, 8); in GetInterPred()
[all …]
Dparse_mb_syn_cabac.cpp525 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in ParseInterPMotionInfoCabac()
543 …WELS_READ_VERIFY (ParseRefIdxCabac (pCtx, pNeighAvail, pNonZeroCount, pRefIndex, 0, LIST_0, iPartI… in ParseInterPMotionInfoCabac()
556 PredMv (pMotionVector, pRefIndex, LIST_0, 0, 4, iRef[0], pMv); in ParseInterPMotionInfoCabac()
557 …WELS_READ_VERIFY (ParseMvdInfoCabac (pCtx, pNeighAvail, pRefIndex, pMvdCache, iPartIdx, LIST_0, 0,… in ParseInterPMotionInfoCabac()
558 …WELS_READ_VERIFY (ParseMvdInfoCabac (pCtx, pNeighAvail, pRefIndex, pMvdCache, iPartIdx, LIST_0, 1,… in ParseInterPMotionInfoCabac()
562 UpdateP16x16MotionInfo (pCurDqLayer, LIST_0, iRef[0], pMv); in ParseInterPMotionInfoCabac()
563 UpdateP16x16MvdCabac (pCurDqLayer, pMvd, LIST_0); in ParseInterPMotionInfoCabac()
569 …WELS_READ_VERIFY (ParseRefIdxCabac (pCtx, pNeighAvail, pNonZeroCount, pRefIndex, 0, LIST_0, iPartI… in ParseInterPMotionInfoCabac()
582 UpdateP16x8RefIdxCabac (pCurDqLayer, pRefIndex, iPartIdx, iRef[i], LIST_0); in ParseInterPMotionInfoCabac()
586 PredInter16x8Mv (pMotionVector, pRefIndex, LIST_0, iPartIdx, iRef[i], pMv); in ParseInterPMotionInfoCabac()
[all …]
Dparse_mb_syn_cavlc.cpp1070 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in ParseInterInfo()
1115 PredMv (iMvArray, iRefIdxArray, LIST_0, 0, 4, iRefIdx, iMv); in ParseInterInfo()
1122 UpdateP16x16MotionInfo (pCurDqLayer, LIST_0, iRefIdx, iMv); in ParseInterInfo()
1154 PredInter16x8Mv (iMvArray, iRefIdxArray, LIST_0, i << 3, iRefIdx[i], iMv); in ParseInterInfo()
1161 UpdateP16x8MotionInfo (pCurDqLayer, iMvArray, iRefIdxArray, LIST_0, i << 3, iRefIdx[i], iMv); in ParseInterInfo()
1196 PredInter8x16Mv (iMvArray, iRefIdxArray, LIST_0, i << 2, iRefIdx[i], iMv); in ParseInterInfo()
1203 UpdateP8x16MotionInfo (pCurDqLayer, iMvArray, iRefIdxArray, LIST_0, i << 2, iRefIdx[i], iMv); in ParseInterInfo()
1288 PredMv (iMvArray, iRefIdxArray, LIST_0, iPartIdx, iBlockWidth, iRefIdx[i], iMv); in ParseInterInfo()
1333 ppRefPic[LIST_0] = pCtx->sRefPic.pRefList[LIST_0]; in ParseInterBInfo()
1373 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in ParseInterBInfo()
[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()
Dpic_queue.cpp118 pPic->pMv[LIST_0] = (int16_t (*)[16][2])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture()
122 pPic->pRefIndex[LIST_0] = (int8_t (*)[16])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture()
160 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in FreePicture()
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()
1515 …pCtx->sMb.pMv[i][LIST_0] = (int16_t (*)[16][2])pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iM… in InitialDqLayersContext()
1520 …pCtx->sMb.pRefIndex[i][LIST_0] = (int8_t (*)[MB_BLOCK4x4_NUM])pMa->WelsMallocz (pCtx->sMb.iMbWidth… in InitialDqLayersContext()
1543 …pCtx->sMb.pMvd[i][LIST_0] = (int16_t (*)[16][2])pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.i… in InitialDqLayersContext()
1594 (NULL == pCtx->sMb.pMv[i][LIST_0]) || in InitialDqLayersContext()
1596 (NULL == pCtx->sMb.pRefIndex[i][LIST_0]) || in InitialDqLayersContext()
[all …]
Ddecode_slice.cpp64 for (int32_t list = LIST_0; list < listCount; ++list) { in CheckRefPics()
1341 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCabacPSlice()
1406 PPicture* ppRefPicL0 = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCabacBSlice()
1438 memset (pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCabacBSlice()
2448 PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCavlcPSlice()
2542 PPicture* ppRefPicL0 = pCtx->sRefPic.pRefList[LIST_0]; in WelsDecodeMbCavlcBSlice()
2577 memset (pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCavlcBSlice()
3046 uint32_t uiRefCount = pSliceHeader->uiRefCount[LIST_0]; 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()
[all …]
Ddecoder.cpp218 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DecreasePicBuff()
/third_party/openh264/test/decoder/
DDecUT_PredMv.cpp164 …PredMv (sWelsMvPred.iMvArray, sWelsMvPred.iRefIdxArray, LIST_0, iIndex, iBlockWidth, iRef, sWelsMv…
239 …PredInter16x8Mv (sWelsMvPred.iMvArray, sWelsMvPred.iRefIdxArray, LIST_0, iIndex, iRef, sWelsMvPred… in TEST()
258 …PredInter8x16Mv (sWelsMvPred.iMvArray, sWelsMvPred.iRefIdxArray, LIST_0, iIndex, iRef, sWelsMvPred… in TEST()
/third_party/openh264/codec/common/inc/
Dwels_common_defs.h181 LIST_0 = 0, enumerator