/third_party/openh264/codec/encoder/core/inc/ |
D | mv_pred.h | 115 void PredMv (const SMVComponentUnit* kpMvComp, int8_t iPartIdx, int8_t iPartW, int32_t iRef, SMVUni… 131 void PredInter16x8Mv (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* sMvp); 139 void PredInter8x16Mv (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* sMvp); 154 void UpdateP16x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); 161 void UpdateP8x16Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); 168 void UpdateP8x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); 175 void UpdateP4x4Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); 182 void UpdateP8x4Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); 189 void UpdateP4x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv);
|
/third_party/openh264/codec/decoder/core/src/ |
D | parse_mb_syn_cabac.cpp | 104 void UpdateP16x8RefIdxCabac (PDqLayer pCurDqLayer, int8_t pRefIndex[LIST_A][30], int32_t iPartIdx, … in UpdateP16x8RefIdxCabac() argument 109 const uint8_t iScan4Idx = g_kuiScan4[iPartIdx]; in UpdateP16x8RefIdxCabac() 111 const uint8_t iCacheIdx = g_kuiCache30ScanIdx[iPartIdx]; in UpdateP16x8RefIdxCabac() 121 void UpdateP8x16RefIdxCabac (PDqLayer pCurDqLayer, int8_t pRefIndex[LIST_A][30], int32_t iPartIdx, … in UpdateP8x16RefIdxCabac() argument 127 for (i = 0; i < 2; i++, iPartIdx += 8) { in UpdateP8x16RefIdxCabac() 128 const uint8_t iScan4Idx = g_kuiScan4[iPartIdx]; in UpdateP8x16RefIdxCabac() 129 const uint8_t iCacheIdx = g_kuiCache30ScanIdx[iPartIdx]; in UpdateP8x16RefIdxCabac() 141 void UpdateP8x8RefIdxCabac (PDqLayer pCurDqLayer, int8_t pRefIndex[LIST_A][30], int32_t iPartIdx, c… in UpdateP8x8RefIdxCabac() argument 144 const uint8_t iScan4Idx = g_kuiScan4[iPartIdx]; in UpdateP8x8RefIdxCabac() 151 void UpdateP8x8DirectCabac (PDqLayer pCurDqLayer, int32_t iPartIdx) { in UpdateP8x8DirectCabac() argument [all …]
|
D | mv_pred.cpp | 707 int32_t listIdx, int32_t iPartIdx, int32_t iPartWidth, int8_t iRef, int16_t iMVP[2]) { in PredMv() argument 708 const uint8_t kuiLeftIdx = g_kuiCache30ScanIdx[iPartIdx] - 1; in PredMv() 709 const uint8_t kuiTopIdx = g_kuiCache30ScanIdx[iPartIdx] - 6; in PredMv() 754 int32_t listIdx, int32_t iPartIdx, int8_t iRef, int16_t iMVP[2]) { in PredInter8x16Mv() argument 755 if (0 == iPartIdx) { in PredInter8x16Mv() 774 PredMv (iMotionVector, iRefIndex, listIdx, iPartIdx, 2, iRef, iMVP); in PredInter8x16Mv() 777 int32_t listIdx, int32_t iPartIdx, int8_t iRef, int16_t iMVP[2]) { in PredInter16x8Mv() argument 778 if (0 == iPartIdx) { in PredInter16x8Mv() 792 PredMv (iMotionVector, iRefIndex, listIdx, iPartIdx, 4, iRef, iMVP); in PredInter16x8Mv() 873 int32_t listIdx, int32_t iPartIdx, int8_t iRef, int16_t iMVs[2]) { in UpdateP16x8MotionInfo() argument [all …]
|
D | parse_mb_syn_cavlc.cpp | 1276 int16_t iMv[2], iPartIdx, iBlockWidth = iPartWidth[i], iIdx = i << 2; in ParseInterInfo() local 1285 iPartIdx = iIdx + j * iBlockWidth; in ParseInterInfo() 1286 uiScan4Idx = g_kuiScan4[iPartIdx]; in ParseInterInfo() 1287 uiCacheIdx = g_kuiCache30ScanIdx[iPartIdx]; in ParseInterInfo() 1288 PredMv (iMvArray, iRefIdxArray, LIST_0, iPartIdx, iBlockWidth, iRefIdx[i], iMv); in ParseInterInfo() 1462 int iPartIdx = i << 3; in ParseInterBInfo() local 1465 PredInter16x8Mv (iMvArray, iRefIdxArray, listIdx, iPartIdx, iRefIdx, iMv); in ParseInterBInfo() 1476 … UpdateP16x8MotionInfo (pCurDqLayer, iMvArray, iRefIdxArray, listIdx, iPartIdx, iRefIdx, iMv); in ParseInterBInfo() 1520 int iPartIdx = i << 2; in ParseInterBInfo() local 1523 PredInter8x16Mv (iMvArray, iRefIdxArray, listIdx, iPartIdx, iRefIdx, iMv); in ParseInterBInfo() [all …]
|
D | rec_mb.cpp | 739 int32_t iPartIdx = i << 3; in GetInterBPred() local 745 iMVs[0] = pCurDqLayer->pDec->pMv[listIdx][iMBXY][iPartIdx][0]; in GetInterBPred() 746 iMVs[1] = pCurDqLayer->pDec->pMv[listIdx][iMBXY][iPartIdx][1]; in GetInterBPred() 747 iRefIndex = pCurDqLayer->pDec->pRefIndex[listIdx][iMBXY][iPartIdx]; in GetInterBPred() 754 …BaseMC (pCtx, &pMCRefMem, listIdx, iRefIndex, iMBOffsetX, iMBOffsetY + iPartIdx, pMCFunc, 16, 8, i… in GetInterBPred() 756 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_1][iMBXY][iPartIdx][0]; in GetInterBPred() 757 iMVs[1] = pCurDqLayer->pDec->pMv[LIST_1][iMBXY][iPartIdx][1]; in GetInterBPred() 758 iRefIndex1 = pCurDqLayer->pDec->pRefIndex[LIST_1][iMBXY][iPartIdx]; in GetInterBPred() 765 …BaseMC (pCtx, &pTempMCRefMem, LIST_1, iRefIndex1, iMBOffsetX, iMBOffsetY + iPartIdx, pMCFunc, 16, … in GetInterBPred() 767 iRefIndex0 = pCurDqLayer->pDec->pRefIndex[LIST_0][iMBXY][iPartIdx]; in GetInterBPred() [all …]
|
/third_party/openh264/codec/encoder/core/src/ |
D | mv_pred.cpp | 45 void PredMv (const SMVComponentUnit* kpMvComp, int8_t iPartIdx, int8_t iPartW, int32_t iRef, SMVUni… in PredMv() argument 46 const uint8_t kuiLeftIdx = g_kuiCache30ScanIdx[iPartIdx] - 1; in PredMv() 47 const uint8_t kuiTopIdx = g_kuiCache30ScanIdx[iPartIdx] - 6; in PredMv() 91 void PredInter8x16Mv (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* sMvp) { in PredInter8x16Mv() argument 93 if (0 == iPartIdx) { in PredInter8x16Mv() 112 PredMv (kpMvComp, iPartIdx, 2, iRef, sMvp); in PredInter8x16Mv() 114 void PredInter16x8Mv (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* sMvp) { in PredInter16x8Mv() argument 116 if (0 == iPartIdx) { in PredInter16x8Mv() 130 PredMv (kpMvComp, iPartIdx, 4, iRef, sMvp); in PredInter16x8Mv() 353 void UpdateP16x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv) { in UpdateP16x8Motion2Cache() argument [all …]
|
D | svc_base_layer_md.cpp | 1129 int32_t iPartIdx = (ki8x8Idx << 2) + i4x4Idx; in WelsMdP4x4() local 1151 PredMv (&pMbCache->sMvComponents, iPartIdx, 1, pWelsMd->uiRef, & (sMe4x4->sMvp)); in WelsMdP4x4() 1153 UpdateP4x4Motion2Cache (pMbCache, iPartIdx, pWelsMd->uiRef, & (sMe4x4->sMv)); in WelsMdP4x4() 1168 int32_t iPartIdx = (ki8x8Idx << 2) + (i8x4Idx << 1); in WelsMdP8x4() local 1190 PredMv (&pMbCache->sMvComponents, iPartIdx, 2, pWelsMd->uiRef, & (sMe8x4->sMvp)); in WelsMdP8x4() 1192 UpdateP8x4Motion2Cache (pMbCache, iPartIdx, pWelsMd->uiRef, & (sMe8x4->sMv)); in WelsMdP8x4() 1208 int32_t iPartIdx = (ki8x8Idx << 2) + i4x8Idx; in WelsMdP4x8() local 1230 PredMv (&pMbCache->sMvComponents, iPartIdx, 1, pWelsMd->uiRef, & (sMe4x8->sMvp)); in WelsMdP4x8() 1232 UpdateP4x8Motion2Cache (pMbCache, iPartIdx, pWelsMd->uiRef, & (sMe4x8->sMv)); in WelsMdP4x8()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | mv_pred.h | 81 int32_t listIdx, int32_t iPartIdx, int8_t iRef, int16_t iMVs[2]); 91 int32_t listIdx, int32_t iPartIdx, int8_t iRef, int16_t iMVs[2]); 133 int32_t listIdx, int32_t iPartIdx, int32_t iPartWidth, int8_t iRef, int16_t iMVP[2]); 141 int32_t listIdx, int32_t iPartIdx, int8_t iRef, int16_t iMVP[2]); 149 int32_t listIdx, int32_t iPartIdx, int8_t iRef, int16_t iMVP[2]); 183 void Update8x8RefIdx (PDqLayer& pCurDqLayer, const int16_t& iPartIdx, const int32_t& listIdx, const…
|
D | parse_mb_syn_cabac.h | 81 void UpdateP8x8RefIdxCabac (PDqLayer pCurDqLayer, int8_t pRefIndex[LIST_A][30], int32_t iPartIdx… 83 void UpdateP8x8DirectCabac (PDqLayer pCurDqLayer, int32_t iPartIdx); 85 void UpdateP8x8RefCacheIdxCabac (int8_t pRefIndex[LIST_A][30], const int16_t& iPartIdx, const in…
|
/third_party/openh264/test/encoder/ |
D | EncUT_SliceBufferReallocate.cpp | 80 for (int32_t iPartIdx = 0; iPartIdx < (iPartNum - 1); iPartIdx++) { in SetPartitonMBNum() local 81 pCurDqLayer->FirstMbIdxOfPartition[iPartIdx] = iMBPerPart * iPartIdx; in SetPartitonMBNum() 82 …pCurDqLayer->EndMbIdxOfPartition[iPartIdx] = pCurDqLayer->FirstMbIdxOfPartition[iPartIdx] + iMBPer… in SetPartitonMBNum() 88 for (int32_t iPartIdx = iPartNum; iPartIdx < MAX_THREADS_NUM; iPartIdx++) { in SetPartitonMBNum() local 89 pCurDqLayer->FirstMbIdxOfPartition[iPartIdx] = 0; in SetPartitonMBNum() 90 pCurDqLayer->EndMbIdxOfPartition[iPartIdx] = 0; in SetPartitonMBNum() 422 for (int32_t iPartIdx = 0; iPartIdx < iPartNum; iPartIdx ++) { in SimulateSliceInOneLayer() local 423 int32_t iSlcNumInPart = (iPartIdx < (iPartNum - 1)) ? iSlicNumPerPart : iLastPartSlcNum; in SimulateSliceInOneLayer() 424 SimulateSliceInOnePartition (iPartNum, iPartIdx, iSlcNumInPart); in SimulateSliceInOneLayer() 489 for (int32_t iPartIdx = 0; iPartIdx < iPartitionNum; iPartIdx++) { in TEST_F() local
|
/third_party/openh264/test/decoder/ |
D | DecUT_PredMv.cpp | 25 int32_t iPartIdx; member 32 int32_t iPartIdx, int32_t iPartWidth, int8_t iRef, int16_t iMVP[2]) { in AnchorPredMv() argument 33 const uint8_t kuiLeftIdx = g_kuiAnchorCache30ScanIdx[iPartIdx] - 1; in AnchorPredMv() 34 const uint8_t kuiTopIdx = g_kuiAnchorCache30ScanIdx[iPartIdx] - 6; in AnchorPredMv() 77 int32_t iPartIdx, int8_t iRef, int16_t iMVP[2]) { in AnchorPredInter8x16Mv() argument 78 if (0 == iPartIdx) { in AnchorPredInter8x16Mv() 97 AnchorPredMv (iMotionVector, iRefIndex, iPartIdx, 2, iRef, iMVP); in AnchorPredInter8x16Mv() 101 int32_t iPartIdx, int8_t iRef, int16_t iMVP[2]) { in AnchorPredInter16x8Mv() argument 102 if (0 == iPartIdx) { in AnchorPredInter16x8Mv() 116 AnchorPredMv (iMotionVector, iRefIndex, iPartIdx, 4, iRef, iMVP); in AnchorPredInter16x8Mv() [all …]
|