Home
last modified time | relevance | path

Searched refs:LIST_1 (Results 1 – 10 of 10) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dmv_pred.cpp317 PPicture colocPic = pCtx->sRefPic.pRefList[LIST_1][0]; in GetColocatedMb()
357 int16_t* pMv = IS_TYPE_L1 (coloc_mbType) ? colocPic->pMv[LIST_1][iMbXy][0] : iMVZero; in GetColocatedMb()
359 ST32 (pCurDqLayer->iColocMv[LIST_1][0], LD32 (pMv)); in GetColocatedMb()
361 …pCurDqLayer->iColocRefIndex[LIST_1][0] = IS_TYPE_L1 (coloc_mbType) ? colocPic->pRefIndex[LIST_1][i… in GetColocatedMb()
368 … CopyRectBlock4Cols (pCurDqLayer->iColocMv[LIST_1], colocPic->pMv[LIST_1][iMbXy], 16, 16, 4, 4); in GetColocatedMb()
369 …CopyRectBlock4Cols (pCurDqLayer->iColocRefIndex[LIST_1], colocPic->pRefIndex[LIST_1][iMbXy], 4, 4,… in GetColocatedMb()
371 SetRectBlock (pCurDqLayer->iColocRefIndex[LIST_1], 4, 4, 4, (uint8_t)REF_NOT_IN_LIST, 1); in GetColocatedMb()
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()
558 } else if (ref[LIST_1] < 0) { in PredMvBDirectSpatial()
[all …]
Drec_mb.cpp377 iWoc2 = pCurDqLayer->pPredWeightTable->sPredList[LIST_1].iLumaWeight[iRefIdx2]; in BiWeightPrediction()
378 iOoc2 = pCurDqLayer->pPredWeightTable->sPredList[LIST_1].iLumaOffset[iRefIdx2]; in BiWeightPrediction()
407 iWoc2 = pCurDqLayer->pPredWeightTable->sPredList[LIST_1].iChromaWeight[iRefIdx2][k]; in BiWeightPrediction()
408 iOoc2 = pCurDqLayer->pPredWeightTable->sPredList[LIST_1].iChromaOffset[iRefIdx2][k]; in BiWeightPrediction()
716 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_1][iMBXY][0][0]; in GetInterBPred()
717 iMVs[1] = pCurDqLayer->pDec->pMv[LIST_1][iMBXY][0][1]; in GetInterBPred()
718 iRefIndex1 = pCurDqLayer->pDec->pRefIndex[LIST_1][iMBXY][0]; in GetInterBPred()
719 WELS_B_MB_REC_VERIFY (GetRefPic (&pTempMCRefMem, pCtx, iRefIndex1, LIST_1)); in GetInterBPred()
720 … BaseMC (pCtx, &pTempMCRefMem, LIST_1, iRefIndex1, iMBOffsetX, iMBOffsetY, pMCFunc, 16, 16, iMVs); in GetInterBPred()
727 int32_t listIdx = (iMBType & MB_TYPE_P0L0) ? LIST_0 : LIST_1; in GetInterBPred()
[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]) ? \
110 … mv[LIST_0], iMbXy, iIndex, iNeigborIndex) || IN_MB_BS_MV_DIFF (mv[LIST_1], mv[LIST_1], iMbXy, iIn…
111 …(IN_MB_BS_MV_DIFF (mv[LIST_0], mv[LIST_1], iMbXy, iIndex, iNeigborIndex) || IN_MB_BS_MV_DIFF (mv[L…
112 … mv[LIST_0], iMbXy, iIndex, iNeigborIndex) || IN_MB_BS_MV_DIFF (mv[LIST_1], mv[LIST_1], iMbXy, iIn…
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…
120 ((refs[LIST_0][iIndex] != refs[LIST_1][iIndex]) ? \
[all …]
Dmanage_dec_ref.cpp110 pRefPic->uiRefCount[LIST_1] = 0; in WelsResetRefPic()
135 pRefPic->uiRefCount[LIST_1] = 0; in WelsResetRefPicWithoutUnRef()
240 memset (pCtx->sRefPic.pRefList[LIST_1], 0, MAX_DPB_COUNT * sizeof (PPicture)); in WelsInitBSliceRefList()
315 pCtx->sRefPic.pRefList[LIST_1][iCount++] = pLTCurrPocList0[i]; in WelsInitBSliceRefList()
322 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc < pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
323 pTemp = pCtx->sRefPic.pRefList[LIST_1][i]; in WelsInitBSliceRefList()
324 pCtx->sRefPic.pRefList[LIST_1][i] = pCtx->sRefPic.pRefList[LIST_1][j]; in WelsInitBSliceRefList()
325 pCtx->sRefPic.pRefList[LIST_1][j] = pTemp; in WelsInitBSliceRefList()
331 pCtx->sRefPic.pRefList[LIST_1][iCount++] = pLSCurrPocList0[i]; in WelsInitBSliceRefList()
338 … if (pCtx->sRefPic.pRefList[LIST_1][j]->iFramePoc > pCtx->sRefPic.pRefList[LIST_1][i]->iFramePoc) { in WelsInitBSliceRefList()
[all …]
Dpic_queue.cpp120 pPic->pMv[LIST_1] = (int16_t (*)[16][2])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture()
124 pPic->pRefIndex[LIST_1] = (int8_t (*)[16])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture()
Ddecoder_core.cpp406 if (pCtx->sRefPic.pRefList[LIST_0][0] && pCtx->sRefPic.pRefList[LIST_1][0]) { in CreateImplicitWeightTable()
408 …sRefPic.pRefList[LIST_0][0]->iFramePoc) + int64_t(pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc) ==… 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()
1517 …pCtx->sMb.pMv[i][LIST_1] = (int16_t (*)[16][2])pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iM… in InitialDqLayersContext()
1524 …pCtx->sMb.pRefIndex[i][LIST_1] = (int8_t (*)[MB_BLOCK4x4_NUM])pMa->WelsMallocz (pCtx->sMb.iMbWidth… in InitialDqLayersContext()
1545 …pCtx->sMb.pMvd[i][LIST_1] = (int16_t (*)[16][2])pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.i… in InitialDqLayersContext()
1595 (NULL == pCtx->sMb.pMv[i][LIST_1]) || in InitialDqLayersContext()
1597 (NULL == pCtx->sMb.pRefIndex[i][LIST_1]) || in InitialDqLayersContext()
[all …]
Dparse_mb_syn_cabac.cpp895 if (pCtx->sRefPic.pRefList[LIST_1][0] == NULL) { in ParseInterBMotionInfoCabac()
900 bool bIsLongRef = pCtx->sRefPic.pRefList[LIST_1][0]->bIsLongRef; in ParseInterBMotionInfoCabac()
951 iRef[LIST_1] = 0; in ParseInterBMotionInfoCabac()
960 mvColoc = pCurDqLayer->iColocMv[LIST_1]; in ParseInterBMotionInfoCabac()
964 Update8x8RefIdx (pCurDqLayer, iIdx8, LIST_1, iRef[LIST_1]); in ParseInterBMotionInfoCabac()
966 UpdateP8x8RefCacheIdxCabac (pRefIndex, iIdx8, LIST_1, iRef[LIST_1]); in ParseInterBMotionInfoCabac()
Dparse_mb_syn_cavlc.cpp1334 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()
1610 iRef[LIST_1] = 0; in ParseInterBInfo()
1619 mvColoc = pCurDqLayer->iColocMv[LIST_1]; in ParseInterBInfo()
1623 Update8x8RefIdx (pCurDqLayer, iIdx8, LIST_1, iRef[LIST_1]); in ParseInterBInfo()
Ddecode_slice.cpp1407 PPicture* ppRefPicL1 = pCtx->sRefPic.pRefList[LIST_1]; in WelsDecodeMbCabacBSlice()
1439 memset (pCurDqLayer->pDec->pRefIndex[LIST_1][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCabacBSlice()
2543 PPicture* ppRefPicL1 = pCtx->sRefPic.pRefList[LIST_1]; in WelsDecodeMbCavlcBSlice()
2578 memset (pCurDqLayer->pDec->pRefIndex[LIST_1][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCavlcBSlice()
3047 if (pCtx->sRefPic.pRefList[LIST_1][0] != NULL) { in ComputeColocatedTemporalScaling()
3051 const int32_t poc1 = pCtx->sRefPic.pRefList[LIST_1][0]->iFramePoc; in ComputeColocatedTemporalScaling()
/third_party/openh264/codec/common/inc/
Dwels_common_defs.h182 LIST_1 = 1, enumerator