Home
last modified time | relevance | path

Searched refs:subMbPartIdx (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/common/src/
Dmb_access.cpp191 int mbPartIdx, subMbPartIdx, offset_indx; in GetMotionVectorPredictor() local
240 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++) in GetMotionVectorPredictor()
242 block_x = mbPartIdx_X + ((subMbPartIdx + offset_indx) & 1); in GetMotionVectorPredictor()
243 block_y = mbPartIdx_Y + (((subMbPartIdx + offset_indx) >> 1) & 1); in GetMotionVectorPredictor()
447 video->mvd_l0[mbPartIdx][subMbPartIdx][0] = *mv++ - pmv_x; in GetMotionVectorPredictor()
448 video->mvd_l0[mbPartIdx][subMbPartIdx][1] = *mv++ - pmv_y; in GetMotionVectorPredictor()
452 pmv_x += video->mvd_l0[mbPartIdx][subMbPartIdx][0]; in GetMotionVectorPredictor()
453 pmv_y += video->mvd_l0[mbPartIdx][subMbPartIdx][1]; in GetMotionVectorPredictor()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dslice.cpp775 int mbPartIdx, subMbPartIdx; in sub_mb_pred() local
843 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++) in sub_mb_pred()
845 status = se_v(stream, video->mvd_l0[mbPartIdx][subMbPartIdx][0]); in sub_mb_pred()
846 status = se_v(stream, video->mvd_l0[mbPartIdx][subMbPartIdx][1]); in sub_mb_pred()
856 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++) in sub_mb_pred()
858 status = se_v(stream, video->mvd_l1[mbPartIdx][subMbPartIdx][0]); in sub_mb_pred()
859 status = se_v(stream, video->mvd_l1[mbPartIdx][subMbPartIdx][1]); in sub_mb_pred()
Dmotion_est.cpp842 int mbPartIdx, subMbPartIdx; in AVCMBMotionSearch() local
934 for (subMbPartIdx = 0; subMbPartIdx < 4; subMbPartIdx++) in AVCMBMotionSearch()
936 mv = (int16*)(currMB->mvL0 + (mbPartIdx << 2) + subMbPartIdx); in AVCMBMotionSearch()
Dmotion_comp.cpp44 int mbPartIdx, subMbPartIdx; in AVCMBMotionComp() local
86 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++) in AVCMBMotionComp()
88 block_x = (mbPartIdx_X << 1) + ((subMbPartIdx + offset_indx) & 1); in AVCMBMotionComp()
89 block_y = (mbPartIdx_Y << 1) + (((subMbPartIdx + offset_indx) >> 1) & 1); in AVCMBMotionComp()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_inter_prediction.c76 u32 mbPartIdx, u32 subMbPartIdx);
832 u32 subMbPartIdx) in MvPrediction() argument
846 mv = subMbPred->mvdL0[mbPartIdx][subMbPartIdx]; in MvPrediction()
850 n = N_A_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx; in MvPrediction()
854 n = N_B_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx; in MvPrediction()
858 n = N_C_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx; in MvPrediction()
864 n = N_D_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx; in MvPrediction()
892 pMb->mv[4*mbPartIdx + 2*subMbPartIdx] = mv; in MvPrediction()
893 pMb->mv[4*mbPartIdx + 2*subMbPartIdx + 1] = mv; in MvPrediction()
897 pMb->mv[4*mbPartIdx + subMbPartIdx] = mv; in MvPrediction()
[all …]