/dports/multimedia/jmref/JM/ldecod/src/ |
H A D | mc_direct.c | 110 refList = colocated->ref_idx[LIST_0 ]== -1 ? LIST_1 : LIST_0; in update_direct_mv_info_temporal() 295 (fs->ref_idx[LIST_0] == 0) in get_colocated_info_4x4() 298 || ((fs->ref_idx[LIST_0] == -1) in get_colocated_info_4x4() 357 || ((fs->ref_idx[LIST_0] == -1) in get_colocated_info_8x8() 372 || ((fs->ref_idx[LIST_0] == -1) in get_colocated_info_8x8() 438 mv_info->mv[LIST_0] = pmvl0; in update_direct_mv_info_spatial_8x8() 476 mv_info->mv[LIST_0] = pmvl0; in update_direct_mv_info_spatial_8x8() 500 mv_info->mv[LIST_0] = zero_mv; in update_direct_mv_info_spatial_8x8() 502 mv_info->ref_idx[LIST_0] = 0; in update_direct_mv_info_spatial_8x8() 519 mv_info->mv[LIST_0] = pmvl0; in update_direct_mv_info_spatial_8x8() [all …]
|
H A D | mb_prediction.c | 436 refList = (colocated->ref_idx[LIST_0]== -1 ? LIST_1 : LIST_0); in mb_pred_b_d8x8temporal() 441 mv_info->mv[LIST_0] = zero_mv; in mb_pred_b_d8x8temporal() 444 mv_info->ref_idx[LIST_0] = 0; in mb_pred_b_d8x8temporal() 531 mv_info->ref_pic[LIST_0] = list0[(short)mv_info->ref_idx[LIST_0]]; in mb_pred_b_d8x8temporal() 598 refList = (colocated->ref_idx[LIST_0]== -1 ? LIST_1 : LIST_0); in mb_pred_b_d4x4temporal() 603 mv_info->mv[LIST_0] = zero_mv; in mb_pred_b_d4x4temporal() 606 mv_info->ref_idx[LIST_0] = 0; in mb_pred_b_d4x4temporal() 654 mv_info->ref_pic[LIST_0] = list0[(short)mv_info->ref_idx[LIST_0]]; in mb_pred_b_d4x4temporal() 740 mv_info->mv[LIST_0] = pmvl0; in mb_pred_b_d8x8spatial() 780 mv_info->mv[LIST_0] = pmvl0; in mb_pred_b_d8x8spatial() [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/openh264/src/codec/decoder/core/src/ |
H A D | manage_dec_ref.cpp | 92 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPic() 94 pRefPic->uiRefCount[LIST_0] = 0; in WelsResetRefPic() 235 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 251 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 735 memmove (&pRefPic->pShortRefList[LIST_0][i], &pRefPic->pShortRefList[LIST_0][i + 1], in WelsDelShortFromList() 739 pRefPic->pShortRefList[LIST_0][pRefPic->uiShortRefCount[LIST_0]] = NULL; in WelsDelShortFromList() 765 memmove (&pRefPic->pLongRefList[LIST_0][i], &pRefPic->pLongRefList[LIST_0][i + 1], in WelsDelLongFromList() 769 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = NULL; in WelsDelLongFromList() 798 memmove (&pRefPic->pShortRefList[LIST_0][1], &pRefPic->pShortRefList[LIST_0][0], in AddShortTermToList() 815 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = pPic; in AddLongTermToList() [all …]
|
H A D | mv_pred.cpp | 677 UpdateP16x16MotionOnly (pCurLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 679 UpdateP16x16RefIdx (pCurLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 681 … ref[LIST_0] = pCurLayer->iColocRefIndex[LIST_0][0] >= 0 ? pCurLayer->iColocRefIndex[LIST_0][0] : in PredBDirectTemporal() 685 UpdateP16x16RefIdx (pCurLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 687 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[0] + 128) >> 8; in PredBDirectTemporal() 688 iMvp[LIST_0][1] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[1] + 128) >> 8; in PredBDirectTemporal() 689 UpdateP16x16MotionOnly (pCurLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 736 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[0] + 128) >> 8; in PredBDirectTemporal() 737 iMvp[LIST_0][1] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[1] + 128) >> 8; in PredBDirectTemporal() 753 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[0] + 128) >> 8; in PredBDirectTemporal() [all …]
|
H A D | parse_mb_syn_cabac.cpp | 941 iRef[LIST_0] = 0; in ParseInterBMotionInfoCabac() 944 iRef[LIST_0] = pCurDqLayer->iColocRefIndex[LIST_0][iIdx8]; in ParseInterBMotionInfoCabac() 1002 if (iRef[LIST_0] == 0) { in ParseInterBMotionInfoCabac() 1026 if (iRef[LIST_0] == 0) { in ParseInterBMotionInfoCabac() 1047 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in ParseInterBMotionInfoCabac() 1048 iMvp[LIST_0][1] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[1] + 128) >> 8; in ParseInterBMotionInfoCabac() 1049 ST32 (pMV, LD32 (iMvp[LIST_0])); in ParseInterBMotionInfoCabac() 1064 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in ParseInterBMotionInfoCabac() 1065 iMvp[LIST_0][1] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[1] + 128) >> 8; in ParseInterBMotionInfoCabac() 1066 ST32 (pCurDqLayer->pMv[LIST_0][iMbXy][iScan4Idx], LD32 (iMvp[LIST_0])); in ParseInterBMotionInfoCabac() [all …]
|
H A D | deblocking.cpp | 207 int8_t* iRefIndex = pCurDqLayer->pRefIndex[LIST_0][iMbXy]; in DeblockingBSInsideMBNormal() 284 iRefIndex[LIST_0] = pCurDqLayer->pRefIndex[LIST_0][iMbXy]; in DeblockingBSliceBSInsideMBNormal() 300 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 311 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 324 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 336 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 353 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 558 …< 1] = pBS[1 + (i << 1)] = MB_BS_MV (pCurDqLayer->pRefIndex[LIST_0], pCurDqLayer->pMv[LIST_0], iMb… in DeblockingBsMarginalMBAvcbase() 574 …pBS[j + (i << 1)] = MB_BS_MV (pCurDqLayer->pRefIndex[LIST_0], pCurDqLayer->pMv[LIST_0], iMbXy, iNe… in DeblockingBsMarginalMBAvcbase() 591 …pBS[j + (i << 1)] = MB_BS_MV (pCurDqLayer->pRefIndex[LIST_0], pCurDqLayer->pMv[LIST_0], iMbXy, iNe… in DeblockingBsMarginalMBAvcbase() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openh264/src/codec/decoder/core/src/ |
H A D | manage_dec_ref.cpp | 107 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPic() 132 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPicWithoutUnRef() 149 if ((pCtx->sRefPic.uiShortRefCount[LIST_0] + pCtx->sRefPic.uiLongRefCount[LIST_0] <= 0) in WelsCheckAndRecoverForFutureDecoding() 283 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 299 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 796 pRefPic->pShortRefList[LIST_0][pRefPic->uiShortRefCount[LIST_0]] = NULL; in WelsDelShortFromList() 821 memmove (&pRefPic->pLongRefList[LIST_0][i], &pRefPic->pLongRefList[LIST_0][i + 1], in WelsDelLongFromList() 825 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = NULL; in WelsDelLongFromList() 857 memmove (&pRefPic->pShortRefList[LIST_0][1], &pRefPic->pShortRefList[LIST_0][0], in AddShortTermToList() 874 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = pPic; in AddLongTermToList() [all …]
|
H A D | mv_pred.cpp | 633 ref[LIST_0] = 0; in PredBDirectTemporal() 639 UpdateP16x16MotionOnly (pCurDqLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 641 UpdateP16x16RefIdx (pCurDqLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 651 UpdateP16x16RefIdx (pCurDqLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 653 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[0] + 128) >> 8; in PredBDirectTemporal() 654 iMvp[LIST_0][1] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[1] + 128) >> 8; in PredBDirectTemporal() 655 UpdateP16x16MotionOnly (pCurDqLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 1095 pMvDirect[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in FillTemporalDirect8x8Mv() 1096 pMvDirect[LIST_0][1] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[1] + 128) >> 8; in FillTemporalDirect8x8Mv() 1132 pMvDirect[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in FillTemporalDirect8x8Mv() [all …]
|
H A D | rec_mb.cpp | 710 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][0][0]; in GetInterBPred() 711 iMVs[1] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][0][1]; in GetInterBPred() 712 iRefIndex0 = pCurDqLayer->pDec->pRefIndex[LIST_0][iMBXY][0]; in GetInterBPred() 727 int32_t listIdx = (iMBType & MB_TYPE_P0L0) ? LIST_0 : LIST_1; in GetInterBPred() 741 int32_t lastListIdx = LIST_0; in GetInterBPred() 742 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in GetInterBPred() 786 int32_t lastListIdx = LIST_0; in GetInterBPred() 787 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in GetInterBPred() 866 int32_t listIdx = IS_TYPE_L0 (iSubMBType) ? LIST_0 : LIST_1; in GetInterBPred() 873 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][iIIdx][0]; in GetInterBPred() [all …]
|
H A D | deblocking.cpp | 208 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy]; in DeblockingBSInsideMBNormal() 218 iRefs[i] = pFilter->pRefPics[LIST_0][iRefIdx[i]]; in DeblockingBSInsideMBNormal() 323 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 334 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 347 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 359 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 376 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 383 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 608 …(pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMv[LIST_0] : pCurDqLayer->pMv[LIST_0]), iMbXy, iN… in DeblockingBsMarginalMBAvcbase() 630 …(pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMv[LIST_0] : pCurDqLayer->pMv[LIST_0]), iMbXy, iN… in DeblockingBsMarginalMBAvcbase() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openh264/src/codec/decoder/core/src/ |
H A D | manage_dec_ref.cpp | 107 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPic() 132 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPicWithoutUnRef() 149 if ((pCtx->sRefPic.uiShortRefCount[LIST_0] + pCtx->sRefPic.uiLongRefCount[LIST_0] <= 0) in WelsCheckAndRecoverForFutureDecoding() 283 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 299 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 796 pRefPic->pShortRefList[LIST_0][pRefPic->uiShortRefCount[LIST_0]] = NULL; in WelsDelShortFromList() 821 memmove (&pRefPic->pLongRefList[LIST_0][i], &pRefPic->pLongRefList[LIST_0][i + 1], in WelsDelLongFromList() 825 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = NULL; in WelsDelLongFromList() 857 memmove (&pRefPic->pShortRefList[LIST_0][1], &pRefPic->pShortRefList[LIST_0][0], in AddShortTermToList() 874 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = pPic; in AddLongTermToList() [all …]
|
H A D | mv_pred.cpp | 633 ref[LIST_0] = 0; in PredBDirectTemporal() 639 UpdateP16x16MotionOnly (pCurDqLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 641 UpdateP16x16RefIdx (pCurDqLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 651 UpdateP16x16RefIdx (pCurDqLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 653 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[0] + 128) >> 8; in PredBDirectTemporal() 654 iMvp[LIST_0][1] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[1] + 128) >> 8; in PredBDirectTemporal() 655 UpdateP16x16MotionOnly (pCurDqLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 1095 pMvDirect[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in FillTemporalDirect8x8Mv() 1096 pMvDirect[LIST_0][1] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[1] + 128) >> 8; in FillTemporalDirect8x8Mv() 1132 pMvDirect[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in FillTemporalDirect8x8Mv() [all …]
|
H A D | rec_mb.cpp | 710 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][0][0]; in GetInterBPred() 711 iMVs[1] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][0][1]; in GetInterBPred() 712 iRefIndex0 = pCurDqLayer->pDec->pRefIndex[LIST_0][iMBXY][0]; in GetInterBPred() 727 int32_t listIdx = (iMBType & MB_TYPE_P0L0) ? LIST_0 : LIST_1; in GetInterBPred() 741 int32_t lastListIdx = LIST_0; in GetInterBPred() 742 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in GetInterBPred() 786 int32_t lastListIdx = LIST_0; in GetInterBPred() 787 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in GetInterBPred() 866 int32_t listIdx = IS_TYPE_L0 (iSubMBType) ? LIST_0 : LIST_1; in GetInterBPred() 873 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][iIIdx][0]; in GetInterBPred() [all …]
|
H A D | deblocking.cpp | 208 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy]; in DeblockingBSInsideMBNormal() 218 iRefs[i] = pFilter->pRefPics[LIST_0][iRefIdx[i]]; in DeblockingBSInsideMBNormal() 323 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 334 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 347 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 359 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 376 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 383 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 608 …(pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMv[LIST_0] : pCurDqLayer->pMv[LIST_0]), iMbXy, iN… in DeblockingBsMarginalMBAvcbase() 630 …(pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMv[LIST_0] : pCurDqLayer->pMv[LIST_0]), iMbXy, iN… in DeblockingBsMarginalMBAvcbase() [all …]
|
/dports/multimedia/openh264/openh264-2.1.1/codec/decoder/core/src/ |
H A D | manage_dec_ref.cpp | 107 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPic() 132 pCtx->sRefPic.uiLongRefCount[LIST_0] = pCtx->sRefPic.uiShortRefCount[LIST_0] = 0; in WelsResetRefPicWithoutUnRef() 149 if ((pCtx->sRefPic.uiShortRefCount[LIST_0] + pCtx->sRefPic.uiLongRefCount[LIST_0] <= 0) in WelsCheckAndRecoverForFutureDecoding() 283 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 299 pCtx->sRefPic.pRefList[LIST_0][i] = pCtx->sRefPic.pRefList[LIST_0][j]; in WelsInitBSliceRefList() 793 pRefPic->pShortRefList[LIST_0][pRefPic->uiShortRefCount[LIST_0]] = NULL; in WelsDelShortFromList() 818 memmove (&pRefPic->pLongRefList[LIST_0][i], &pRefPic->pLongRefList[LIST_0][i + 1], in WelsDelLongFromList() 822 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = NULL; in WelsDelLongFromList() 854 memmove (&pRefPic->pShortRefList[LIST_0][1], &pRefPic->pShortRefList[LIST_0][0], in AddShortTermToList() 871 pRefPic->pLongRefList[LIST_0][pRefPic->uiLongRefCount[LIST_0]] = pPic; in AddLongTermToList() [all …]
|
H A D | mv_pred.cpp | 633 ref[LIST_0] = 0; in PredBDirectTemporal() 639 UpdateP16x16MotionOnly (pCurDqLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 641 UpdateP16x16RefIdx (pCurDqLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 651 UpdateP16x16RefIdx (pCurDqLayer, LIST_0, ref[LIST_0]); in PredBDirectTemporal() 653 iMvp[LIST_0][0] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[0] + 128) >> 8; in PredBDirectTemporal() 654 iMvp[LIST_0][1] = (pSlice->iMvScale[LIST_0][ref[LIST_0]] * mv[1] + 128) >> 8; in PredBDirectTemporal() 655 UpdateP16x16MotionOnly (pCurDqLayer, LIST_0, iMvp[LIST_0]); in PredBDirectTemporal() 1095 pMvDirect[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in FillTemporalDirect8x8Mv() 1096 pMvDirect[LIST_0][1] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[1] + 128) >> 8; in FillTemporalDirect8x8Mv() 1132 pMvDirect[LIST_0][0] = (pSlice->iMvScale[LIST_0][iRef[LIST_0]] * mv[0] + 128) >> 8; in FillTemporalDirect8x8Mv() [all …]
|
H A D | rec_mb.cpp | 710 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][0][0]; in GetInterBPred() 711 iMVs[1] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][0][1]; in GetInterBPred() 712 iRefIndex0 = pCurDqLayer->pDec->pRefIndex[LIST_0][iMBXY][0]; in GetInterBPred() 727 int32_t listIdx = (iMBType & MB_TYPE_P0L0) ? LIST_0 : LIST_1; in GetInterBPred() 741 int32_t lastListIdx = LIST_0; in GetInterBPred() 742 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in GetInterBPred() 786 int32_t lastListIdx = LIST_0; in GetInterBPred() 787 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in GetInterBPred() 866 int32_t listIdx = IS_TYPE_L0 (iSubMBType) ? LIST_0 : LIST_1; in GetInterBPred() 873 iMVs[0] = pCurDqLayer->pDec->pMv[LIST_0][iMBXY][iIIdx][0]; in GetInterBPred() [all …]
|
H A D | deblocking.cpp | 208 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy]; in DeblockingBSInsideMBNormal() 218 iRefs[i] = pFilter->pRefPics[LIST_0][iRefIdx[i]]; in DeblockingBSInsideMBNormal() 323 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 334 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 347 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 359 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 376 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 383 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) { in DeblockingBSliceBSInsideMBNormal() 608 …(pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMv[LIST_0] : pCurDqLayer->pMv[LIST_0]), iMbXy, iN… in DeblockingBsMarginalMBAvcbase() 630 …(pCurDqLayer->pDec != NULL ? pCurDqLayer->pDec->pMv[LIST_0] : pCurDqLayer->pMv[LIST_0]), iMbXy, iN… in DeblockingBsMarginalMBAvcbase() [all …]
|
/dports/multimedia/jmref/JM/lencod/src/ |
H A D | md_common.c | 246 if (pdir == LIST_0) in SetMVBSlice16x8() 249 …CopyMVBlock16(motion, currSlice->all_mv [LIST_0][l0_ref][P16x8], LIST_0, currMB->block_x, currMB->… in SetMVBSlice16x8() 263 …CopyMVBlock16 (motion, all_mv [LIST_0][l0_ref][P16x8], LIST_0, currMB->block_x, currMB->block_y, p… in SetMVBSlice16x8() 286 if (pdir == LIST_0) in SetMVBSlice8x16() 289 …CopyMVBlock8 (&motion[currMB->block_y], currSlice->all_mv [LIST_0][l0_ref][P8x16], LIST_0, currMB-… in SetMVBSlice8x16() 304 …CopyMVBlock8(&motion[currMB->block_y], all_mv [LIST_0][l0_ref][P8x16], LIST_0, currMB->block_x + p… in SetMVBSlice8x16() 338 if (pdir == LIST_0) in SetMVBSlice8x8() 355 …CopyMVBlock8(&motion[currMB->block_y], all_mv [LIST_0][l0_ref][mode], LIST_0, currMB->block_x + po… in SetMVBSlice8x8() 405 if (pdir == LIST_0) in SetMotionVectorsMBBSlice() 408 …CopyMVBlock16 (motion, currSlice->all_mv [LIST_0][l0_ref][P16x16], LIST_0, currMB->block_x, currMB… in SetMotionVectorsMBBSlice() [all …]
|
H A D | mv_direct.c | 82 … colocated.ref_pic[LIST_0] = list1[0]->frame->mv_info[iPosBlkY][RSD(opic_block_x)].ref_pic[LIST_0]; in Get_Direct_MV_Temporal() 193 …t = ((colocated.ref_idx[LIST_0] == -1 || (p_Vid->view_id && colocated.ref_idx[LIST_0]==list1[0]->r… in Get_Direct_MV_Temporal() 336 *l0_rFrame = ref_idx[LIST_0]; in set_direct_references() 353 *l0_rFrame = ref_idx[LIST_0]; in set_direct_references_mb_field() 358 *l0_rFrame = (ref_idx[LIST_0] < 0) ? ref_idx[LIST_0] : ref_idx[LIST_0] * 2; in set_direct_references_mb_field() 381 *l0_rFrame = ref_idx[LIST_0]; in set_direct_references_mb_frame() 409 direct_ref_idx[LIST_0] = -1; in test_valid_direct() 507 || ((fs->ref_idx[LIST_0] == -1) in get_colocated_info_4x4() 659 direct_ref_idx[LIST_0]=-1; in Get_Direct_MV_Spatial_Normal() 768 direct_ref_idx[LIST_0] = -1; in Get_Direct_MV_Spatial_MBAFF() [all …]
|
H A D | me_epzs_common.c | 812 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0][iref]; in EPZSSliceInit() 847 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0][iref]; in EPZSSliceInit() 884 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0][iref]; in EPZSSliceInit() 927 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0][iref]; in EPZSSliceInit() 973 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0][iref]; in EPZSSliceInit() 1007 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0 + 4][iref]; in EPZSSliceInit() 1023 p->bot[LIST_0][j][i].mv_y = (p->bot[LIST_0][j][i].mv_y + 1) >> 1; in EPZSSliceInit() 1045 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0 + 2][iref]; in EPZSSliceInit() 1061 p->top[LIST_0][j][i].mv_y = (p->top[LIST_0][j][i].mv_y + 1) >> 1; in EPZSSliceInit() 1100 tempmv_scale[LIST_0] = epzs_scale[loffset][LIST_0][iref]; in EPZSSliceInit() [all …]
|
H A D | wp_mcprec.c | 58 if (p_Vid->pWPX->wp_ref_list[LIST_0]) in wpxFreeWPXObject() 59 free(p_Vid->pWPX->wp_ref_list[LIST_0]); in wpxFreeWPXObject() 60 p_Vid->pWPX->wp_ref_list[LIST_0] = NULL; in wpxFreeWPXObject() 82 p_Vid->pWPX->num_wp_ref_list[LIST_0] = 0; in wpxInitWPXPasses() 127 list = currSlice->listX[LIST_0]; in wpxModifyRefPicList() 185 if ( pred_list == LIST_0 ) in wpxModifyRefPicList() 232 …( pred_list == LIST_0 ) ? currSlice->num_ref_idx_active[LIST_0] : currSlice->num_ref_idx_active[LI… in wpxModifyRefPicList() 252 int cur_list = LIST_0; in wpxDetermineWP() 275 cur_list = ((clist & 0x01) == LIST_1) ? LIST_0 : LIST_1; in wpxDetermineWP() 360 …listXsize[LIST_0] = currSlice->num_ref_idx_active[LIST_0] = (char) imax( ((currSlice->structure !=… in wpxAdaptRefNum() [all …]
|
H A D | mode_decision_P8x8.c | 138 bmcost[LIST_0] = DISTBLK_MAX; in submacroblock_mode_decision_p_slice() 144 b_ref = best.ref[LIST_0]; in submacroblock_mode_decision_p_slice() 160 *cost = bmcost[LIST_0]; in submacroblock_mode_decision_p_slice() 427 best.ref[LIST_0] = currSlice->direct_ref_idx[block_y][block_x][LIST_0]; in submacroblock_mode_decision_b_slice() 450 bmcost[LIST_0] = DISTBLK_MAX; in submacroblock_mode_decision_b_slice() 456 b_ref = best.ref[LIST_0]; in submacroblock_mode_decision_b_slice() 817 best.ref[LIST_0] = currSlice->direct_ref_idx[block_y][block_x][LIST_0]; in submacroblock_mode_decision_low() 839 bmcost[LIST_0] = DISTBLK_MAX; in submacroblock_mode_decision_low() 845 b_ref = best.ref[LIST_0]; in submacroblock_mode_decision_low() 887 motion[j][i].ref_idx [LIST_0] = (char) best.ref[LIST_0]; in submacroblock_mode_decision_low() [all …]
|
H A D | rdopt.c | 75 i8x8.ref[LIST_0] = 0; in init_info_8x8_struct() 722 int l0_ref = part->ref[LIST_0]; in rdcost_for_8x8blocks() 1066 motion[j][i].ref_pic [LIST_0] = currSlice->listX[LIST_0 + currMB->list_offset][curref]; in set_modes_and_refs_for_blocks_p_slice() 1078 motion[j][i].ref_pic [LIST_0] = currSlice->listX[LIST_0 + currMB->list_offset][curref]; in set_modes_and_refs_for_blocks_p_slice() 1087 motion[j][i].ref_pic [LIST_0] = currSlice->listX[LIST_0 + currMB->list_offset][curref]; in set_modes_and_refs_for_blocks_p_slice() 1099 motion[j][i].ref_pic [LIST_0] = currSlice->listX[LIST_0 + currMB->list_offset][curref]; in set_modes_and_refs_for_blocks_p_slice() 2924 mv->ref_pic[LIST_0] = currSlice->listX[LIST_0+currMB->list_offset][fwref];; in set_ref_and_motion_vectors_P_slice() 2925 mv->mv [LIST_0] = currSlice->all_mv[LIST_0][fwref][mode][j][i]; in set_ref_and_motion_vectors_P_slice() 3951 motion[block_y][currMB->block_x + i].ref_idx [LIST_0] = rdopt->refar[LIST_0][j][i]; in copy_rdopt_data() 3953 currSlice->listX[LIST_0 + list_offset][(short)rdopt->refar[LIST_0][j][i]]; in copy_rdopt_data() [all …]
|
H A D | md_high_updated.c | 76 best.ref[LIST_0] = 0; in encode_one_macroblock_high_updated() 131 bmcost[LIST_0] = DISTBLK_MAX; in encode_one_macroblock_high_updated() 132 list_prediction_cost(currMB, LIST_0, block, mode, &enc_mb, bmcost, best.ref); in encode_one_macroblock_high_updated() 160 cost += bmcost[LIST_0]; in encode_one_macroblock_high_updated() 289 motion[currMB->block_y][currMB->block_x].ref_idx[LIST_0] == 0 && in encode_one_macroblock_high_updated() 290 motion[currMB->block_y][currMB->block_x].mv [LIST_0].mv_x == allmvs->mv_x && in encode_one_macroblock_high_updated() 291 motion[currMB->block_y][currMB->block_x].mv [LIST_0].mv_y == allmvs->mv_y)) in encode_one_macroblock_high_updated() 298 motion[currMB->block_y][currMB->block_x].ref_idx[LIST_0] == 0 && in encode_one_macroblock_high_updated() 299 … motion[currMB->block_y][currMB->block_x].mv [LIST_0].mv_x == allmvs->mv_x && in encode_one_macroblock_high_updated() 300 motion[currMB->block_y][currMB->block_x].mv [LIST_0].mv_y == allmvs->mv_y)) in encode_one_macroblock_high_updated() [all …]
|