Home
last modified time | relevance | path

Searched refs:iDiagonalRef (Results 1 – 3 of 3) sorted by relevance

/third_party/openh264/test/decoder/
DDecUT_PredMv.cpp41 int8_t iDiagonalRef = kiRightTopRef; in AnchorPredMv() local
50 if (REF_NOT_AVAIL == iDiagonalRef) { in AnchorPredMv()
51 iDiagonalRef = kiLeftTopRef; in AnchorPredMv()
55 iMatchRef = (iRef == kiLeftRef) + (iRef == kiTopRef) + (iRef == iDiagonalRef); in AnchorPredMv()
57 …if ((REF_NOT_AVAIL == kiTopRef) && (REF_NOT_AVAIL == iDiagonalRef) && (kiLeftRef >= REF_NOT_IN_LIS… in AnchorPredMv()
85 int8_t iDiagonalRef = iRefIndex[0][5]; //top-right in AnchorPredInter8x16Mv() local
87 if (REF_NOT_AVAIL == iDiagonalRef) { in AnchorPredInter8x16Mv()
88 iDiagonalRef = iRefIndex[0][2]; //top-left for 8*8 block(index 1) in AnchorPredInter8x16Mv()
91 if (iRef == iDiagonalRef) { in AnchorPredInter8x16Mv()
275 int8_t iDiagonalRef; in AnchorPredPSkipMvFromNeighbor() local
[all …]
/third_party/openh264/codec/encoder/core/src/
Dmv_pred.cpp53 int32_t iDiagonalRef; in PredMv() local
59 iDiagonalRef = kpMvComp->iRefIndexCache[ kuiTopIdx - 1];// left_top; in PredMv()
62 iDiagonalRef = iRightTopRef;// right_top; in PredMv()
66 if ((REF_NOT_AVAIL == iTopRef) && (REF_NOT_AVAIL == iDiagonalRef) && iLeftRef != REF_NOT_AVAIL) { in PredMv()
74 iMatchRef |= (iRef == iDiagonalRef) << MB_TOPRIGHT_BIT; in PredMv()
100 int8_t iDiagonalRef = kpMvComp->iRefIndexCache[5]; //top-right in PredInter8x16Mv() local
102 if (REF_NOT_AVAIL == iDiagonalRef) { in PredInter8x16Mv()
103 iDiagonalRef = kpMvComp->iRefIndexCache[2]; //top-left for 8*8 block(iIndex 1) in PredInter8x16Mv()
106 if (iRef == iDiagonalRef) { in PredInter8x16Mv()
/third_party/openh264/codec/decoder/core/src/
Dmv_pred.cpp169 int8_t iDiagonalRef; in PredPSkipMvFromNeighbor() local
284 iDiagonalRef = iRightTopRef; in PredPSkipMvFromNeighbor()
285 if (REF_NOT_AVAIL == iDiagonalRef) { in PredPSkipMvFromNeighbor()
286 iDiagonalRef = iLeftTopRef; in PredPSkipMvFromNeighbor()
290 if (REF_NOT_AVAIL == iTopRef && REF_NOT_AVAIL == iDiagonalRef && iLeftRef >= REF_NOT_IN_LIST) { in PredPSkipMvFromNeighbor()
295 iMatchRef = (0 == iLeftRef) + (0 == iTopRef) + (0 == iDiagonalRef); in PredPSkipMvFromNeighbor()
415 int8_t iDiagonalRef[LIST_A]; in PredMvBDirectSpatial() local
526 iDiagonalRef[listIdx] = iRightTopRef[listIdx]; in PredMvBDirectSpatial()
527 if (REF_NOT_AVAIL == iDiagonalRef[listIdx]) { in PredMvBDirectSpatial()
528 iDiagonalRef[listIdx] = iLeftTopRef[listIdx]; in PredMvBDirectSpatial()
[all …]