Home
last modified time | relevance | path

Searched refs:pRefIndex (Results 1 – 22 of 22) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dparse_mb_syn_cabac.cpp104 void UpdateP16x8RefIdxCabac (PDqLayer pCurDqLayer, int8_t pRefIndex[LIST_A][30], int32_t iPartIdx, … in UpdateP16x8RefIdxCabac()
114 ST32 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx ], iRef4Bytes); in UpdateP16x8RefIdxCabac()
115 ST32 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx4], iRef4Bytes); in UpdateP16x8RefIdxCabac()
117 ST32 (&pRefIndex[iListIdx][iCacheIdx ], iRef4Bytes); in UpdateP16x8RefIdxCabac()
118 ST32 (&pRefIndex[iListIdx][iCacheIdx6], iRef4Bytes); in UpdateP16x8RefIdxCabac()
121 void UpdateP8x16RefIdxCabac (PDqLayer pCurDqLayer, int8_t pRefIndex[LIST_A][30], int32_t iPartIdx, … in UpdateP8x16RefIdxCabac()
133 ST16 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx ], iRef2Bytes); in UpdateP8x16RefIdxCabac()
134 ST16 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx4], iRef2Bytes); in UpdateP8x16RefIdxCabac()
136 ST16 (&pRefIndex[iListIdx][iCacheIdx ], iRef2Bytes); in UpdateP8x16RefIdxCabac()
137 ST16 (&pRefIndex[iListIdx][iCacheIdx6], iRef2Bytes); in UpdateP8x16RefIdxCabac()
[all …]
Dmv_pred.cpp222 …iLeftRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iLeftXy][3] : pCurDqLayer->pRefInde… in PredPSkipMvFromNeighbor()
240 …iTopRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iTopXy][12] : pCurDqLayer->pRefIndex in PredPSkipMvFromNeighbor()
259 iRightTopRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iRightTopXy][12] : in PredPSkipMvFromNeighbor()
260 pCurDqLayer->pRefIndex[0][iRightTopXy][12]; in PredPSkipMvFromNeighbor()
273 iLeftTopRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iLeftTopXy][15] : in PredPSkipMvFromNeighbor()
274 pCurDqLayer->pRefIndex[0][iLeftTopXy][15]; in PredPSkipMvFromNeighbor()
360 pCurDqLayer->iColocRefIndex[LIST_0][0] = colocPic->pRefIndex[LIST_0][iMbXy][0]; in GetColocatedMb()
361 …pCurDqLayer->iColocRefIndex[LIST_1][0] = IS_TYPE_L1 (coloc_mbType) ? colocPic->pRefIndex[LIST_1][i… in GetColocatedMb()
366 …CopyRectBlock4Cols (pCurDqLayer->iColocRefIndex[LIST_0], colocPic->pRefIndex[LIST_0][iMbXy], 4, 4,… in GetColocatedMb()
369 …CopyRectBlock4Cols (pCurDqLayer->iColocRefIndex[LIST_1], colocPic->pRefIndex[LIST_1][iMbXy], 4, 4,… in GetColocatedMb()
[all …]
Drec_mb.cpp498 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][0]; in GetInterPred()
503 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][0]; in GetInterPred()
510 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][0]; in GetInterPred()
520 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][8]; in GetInterPred()
534 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][0]; in GetInterPred()
543 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][2]; in GetInterPred()
567 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][iIIdx]; in GetInterPred()
712 iRefIndex0 = pCurDqLayer->pDec->pRefIndex[LIST_0][iMBXY][0]; in GetInterBPred()
718 iRefIndex1 = pCurDqLayer->pDec->pRefIndex[LIST_1][iMBXY][0]; in GetInterBPred()
730 iRefIndex = pCurDqLayer->pDec->pRefIndex[listIdx][iMBXY][0]; in GetInterBPred()
[all …]
Dpic_queue.cpp122 pPic->pRefIndex[LIST_0] = (int8_t (*)[16])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture()
124 pPic->pRefIndex[LIST_1] = (int8_t (*)[16])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture()
166 if (pPic->pRefIndex[listIdx]) { in FreePicture()
167 pMa->WelsFree (pPic->pRefIndex[listIdx], "pPic->pRefIndex[]"); in FreePicture()
168 pPic->pRefIndex[listIdx] = NULL; in FreePicture()
Dparse_mb_syn_cavlc.cpp290 iRefIdxArray[listIdx][6] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][3]; in WelsFillCacheInterCabac()
291 iRefIdxArray[listIdx][12] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][7]; in WelsFillCacheInterCabac()
292 iRefIdxArray[listIdx][18] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][11]; in WelsFillCacheInterCabac()
293 iRefIdxArray[listIdx][24] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][15]; in WelsFillCacheInterCabac()
321 iRefIdxArray[listIdx][0] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftTopXy][15]; in WelsFillCacheInterCabac()
337 ST32 (&iRefIdxArray[listIdx][1], LD32 (&pCurDqLayer->pDec->pRefIndex[listIdx][iTopXy][12])); in WelsFillCacheInterCabac()
359 iRefIdxArray[listIdx][5] = pCurDqLayer->pDec->pRefIndex[listIdx][iRightTopXy][12]; in WelsFillCacheInterCabac()
467 iRefIdxArray[listIdx][6] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][3]; in WelsFillCacheInter()
468 iRefIdxArray[listIdx][12] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][7]; in WelsFillCacheInter()
469 iRefIdxArray[listIdx][18] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][11]; in WelsFillCacheInter()
[all …]
Derror_concealment.cpp281 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][0]; in GetAvilInfoFromCorrectMb()
288 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][0]; in GetAvilInfoFromCorrectMb()
294 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][8]; in GetAvilInfoFromCorrectMb()
301 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][0]; in GetAvilInfoFromCorrectMb()
307 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][2]; in GetAvilInfoFromCorrectMb()
321 iRefIdx = pCurDqLayer->pDec->pRefIndex[0][iMbXyIndex][iIIdx]; in GetAvilInfoFromCorrectMb()
Ddecoder_core.cpp1520 …pCtx->sMb.pRefIndex[i][LIST_0] = (int8_t (*)[MB_BLOCK4x4_NUM])pMa->WelsMallocz (pCtx->sMb.iMbWidth… in InitialDqLayersContext()
1524 …pCtx->sMb.pRefIndex[i][LIST_1] = (int8_t (*)[MB_BLOCK4x4_NUM])pMa->WelsMallocz (pCtx->sMb.iMbWidth… in InitialDqLayersContext()
1596 (NULL == pCtx->sMb.pRefIndex[i][LIST_0]) || in InitialDqLayersContext()
1597 (NULL == pCtx->sMb.pRefIndex[i][LIST_1]) || in InitialDqLayersContext()
1660 if (pCtx->sMb.pRefIndex[i][listIdx]) { in UninitialDqLayersContext()
1661 pMa->WelsFree (pCtx->sMb.pRefIndex[i][listIdx], "pCtx->sMb.pRefIndex[][]"); in UninitialDqLayersContext()
1662 pCtx->sMb.pRefIndex[i][listIdx] = NULL; in UninitialDqLayersContext()
2452 pCurDq->pRefIndex[LIST_0] = pCtx->sMb.pRefIndex[0][LIST_0]; in InitCurDqLayerData()
2453 pCurDq->pRefIndex[LIST_1] = pCtx->sMb.pRefIndex[0][LIST_1]; in InitCurDqLayerData()
2960 …pCtx->sRefPic.pRefList[ LIST_0 ][ pCtx->pCurDqLayer->pDec->pRefIndex[0][iRealMbIdx][0] ]->bIsCompl… in CheckRefPicturesComplete()
[all …]
Ddecode_slice.cpp880 int8_t pRefIndex[LIST_A][30]; in WelsDecodeMbCabacPSliceBaseMode0() local
882 …WelsFillCacheInterCabac (pNeighAvail, pNonZeroCount, pMotionVector, pMvdCache, pRefIndex, pCurDqLa… in WelsDecodeMbCabacPSliceBaseMode0()
883 …arseInterPMotionInfoCabac (pCtx, pNeighAvail, pNonZeroCount, pMotionVector, pMvdCache, pRefIndex)); in WelsDecodeMbCabacPSliceBaseMode0()
1117 int8_t pRefIndex[LIST_A][30]; in WelsDecodeMbCabacBSliceBaseMode0() local
1120 …WelsFillCacheInterCabac (pNeighAvail, pNonZeroCount, pMotionVector, pMvdCache, pRefIndex, pCurDqLa… in WelsDecodeMbCabacBSliceBaseMode0()
1122 …(ParseInterBMotionInfoCabac (pCtx, pNeighAvail, pNonZeroCount, pMotionVector, pMvdCache, pRefIndex, in WelsDecodeMbCabacBSliceBaseMode0()
1367 memset (pCurDqLayer->pDec->pRefIndex[0][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCabacPSlice()
1438 memset (pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCabacBSlice()
1439 memset (pCurDqLayer->pDec->pRefIndex[LIST_1][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCabacBSlice()
2478 memset (pCurDqLayer->pDec->pRefIndex[0][iMbXy], 0, sizeof (int8_t) * 16); in WelsDecodeMbCavlcPSlice()
[all …]
Ddeblocking.cpp263 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy]; in DeblockingBSInsideMBNormal()
357 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[l][iMbXy]; in DeblockingBSliceBSInsideMBNormal()
460 …int8_t (*iRefIdx)[MB_BLOCK4x4_NUM] = pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pRefIndex[LIST… in DeblockingBsMarginalMBAvcbase()
461 pCurDqLayer->pRefIndex[LIST_0]; in DeblockingBsMarginalMBAvcbase()
554 int8_t (*iRefIdx0)[MB_BLOCK4x4_NUM] = pCurDqLayer->pDec->pRefIndex[LIST_0]; in DeblockingBSliceBsMarginalMBAvcbase()
555 int8_t (*iRefIdx1)[MB_BLOCK4x4_NUM] = pCurDqLayer->pDec->pRefIndex[LIST_1]; in DeblockingBSliceBsMarginalMBAvcbase()
/third_party/openh264/test/decoder/
DDecUT_PredMv.cpp328 iLeftRef = pCurLayer->pRefIndex[0][iLeftXy][3]; in AnchorPredPSkipMvFromNeighbor()
346 iTopRef = pCurLayer->pRefIndex[0][iTopXy][12]; in AnchorPredPSkipMvFromNeighbor()
364 iRightTopRef = pCurLayer->pRefIndex[0][iRightTopXy][12]; in AnchorPredPSkipMvFromNeighbor()
377 iLeftTopRef = pCurLayer->pRefIndex[0][iLeftTopXy][15]; in AnchorPredPSkipMvFromNeighbor()
432 …pDqLayer->pRefIndex[0] = (int8_t (*)[MB_BLOCK4x4_NUM]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer-… in AllocLayerData()
434 if (pDqLayer->pRefIndex[0] == NULL) in AllocLayerData()
457 if (pDqLayer->pRefIndex[0] != NULL) { in FreeLayerData()
458 WelsFree (pDqLayer->pRefIndex[0], "pDqlayer->pRefIndex[0]"); in FreeLayerData()
459 pDqLayer->pRefIndex[0] = NULL; in FreeLayerData()
496 pDqLayer->pRefIndex[0][i][j] = (rand() % 18 - 2); //-2 ~ 15 in InitRandomLayerRefIdxData()
[all …]
DDecUT_DeblockCommon.cpp795 sDqLayer.pRefIndex[0] = (int8_t (*)[16])&iLayerRefIndex[0]; in TEST()
796 sDqLayer.pRefIndex[1] = (int8_t (*)[16])&iLayerRefIndex[1]; in TEST()
/third_party/openh264/codec/encoder/core/src/
Dsvc_set_mb_syn_cavlc.cpp127 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[0]); in WelsSpatialWriteMbPred()
142 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[0]); in WelsSpatialWriteMbPred()
143 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[2]); in WelsSpatialWriteMbPred()
159 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[0]); in WelsSpatialWriteMbPred()
160 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[1]); in WelsSpatialWriteMbPred()
183 if (LD32 (pCurMb->pRefIndex) == 0) { in WelsSpatialWriteSubMbPred()
213 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[0]); in WelsSpatialWriteSubMbPred()
214 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[1]); in WelsSpatialWriteSubMbPred()
215 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[2]); in WelsSpatialWriteSubMbPred()
216 BsWriteTE (pBs, iNumRefIdxl0ActiveMinus1, pCurMb->pRefIndex[3]); in WelsSpatialWriteSubMbPred()
Dmd.cpp144 pMvComp->iRefIndexCache[ 6] = pLeftMb->pRefIndex[1]; in FillNeighborCacheInterWithoutBGD()
145 pMvComp->iRefIndexCache[12] = pLeftMb->pRefIndex[1]; in FillNeighborCacheInterWithoutBGD()
146 pMvComp->iRefIndexCache[18] = pLeftMb->pRefIndex[3]; in FillNeighborCacheInterWithoutBGD()
147 pMvComp->iRefIndexCache[24] = pLeftMb->pRefIndex[3]; in FillNeighborCacheInterWithoutBGD()
174 pMvComp->iRefIndexCache[1] = pTopMb->pRefIndex[2]; in FillNeighborCacheInterWithoutBGD()
175 pMvComp->iRefIndexCache[2] = pTopMb->pRefIndex[2]; in FillNeighborCacheInterWithoutBGD()
176 pMvComp->iRefIndexCache[3] = pTopMb->pRefIndex[3]; in FillNeighborCacheInterWithoutBGD()
177 pMvComp->iRefIndexCache[4] = pTopMb->pRefIndex[3]; in FillNeighborCacheInterWithoutBGD()
202 pMvComp->iRefIndexCache[0] = pLeftTopMb->pRefIndex[3]; in FillNeighborCacheInterWithoutBGD()
222 pMvComp->iRefIndexCache[5] = iRightTopMb->pRefIndex[2]; in FillNeighborCacheInterWithoutBGD()
[all …]
Dmv_pred.cpp157 ST32 (pCurMb->pRefIndex, kuiRef32); in UpdateP16x16MotionInfo()
211 ST16 (&pCurMb->pRefIndex[ (kiPartIdx >> 2)], kuiRef16); in UpdateP16x8MotionInfo()
251 pCurMb->pRefIndex[kiBlkIdx] = kiRef; in update_P8x16_motion_info()
252 pCurMb->pRefIndex[2 + kiBlkIdx] = kiRef; in update_P8x16_motion_info()
Dsvc_base_layer_md.cpp1388 ST32 (pCurMb->pRefIndex, 0); in WelsMdBackgroundMbEnc()
1490 ST32 (pCurMb->pRefIndex, 0); in WelsMdPSkipEnc()
1521 ST32 (pCurMb->pRefIndex, 0); in WelsMdPSkipEnc()
1687 pCurMb->pRefIndex[i] = pWelsMd->uiRef; in WelsMdInterMbRefinement()
1939 if (0 == pCurMb->pRefIndex[0]) { in WelsMdInterDoubleCheckPskip()
Dsvc_mode_decision.cpp437 ST32 (pCurMb->pRefIndex, 0); in SvcMdSCDMbEnc()
Dencoder_ext.cpp899 pList[iIdx].pRefIndex = pLayerRefIndexBlock8x8[iIdx]; in InitMbInfo()
/third_party/openh264/codec/decoder/core/inc/
Dparse_mb_syn_cabac.h57 …MotionVector[LIST_A][30][MV_A], int16_t pMvdCache[LIST_A][30][MV_A], int8_t pRefIndex[LIST_A][30]);
59 …pMotionVector[LIST_A][30][MV_A], int16_t pMvdCache[LIST_A][30][MV_A], int8_t pRefIndex[LIST_A][30],
64 int32_t ParseMvdInfoCabac (PWelsDecoderContext pCtx, PWelsNeighAvail pNeighAvail, int8_t pRefIndex[…
81 void UpdateP8x8RefIdxCabac (PDqLayer pCurDqLayer, int8_t pRefIndex[LIST_A][30], int32_t iPartIdx…
85 void UpdateP8x8RefCacheIdxCabac (int8_t pRefIndex[LIST_A][30], const int16_t& iPartIdx, const in…
Dpicture.h101 int8_t (*pRefIndex[LIST_A])[MB_BLOCK4x4_NUM]; //used for direct mode member
Ddec_frame.h70 int8_t (*pRefIndex[LIST_A])[MB_BLOCK4x4_NUM]; member
Ddecoder_context.h347 int8_t (*pRefIndex[LAYER_NUM_EXCHANGEABLE][LIST_A])[MB_BLOCK4x4_NUM]; member
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_macroblock.h62 int8_t* pRefIndex; member