Searched refs:mbPartIdx (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | slice.cpp | 689 int mbPartIdx; in mb_pred() local 719 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++) in mb_pred() 722 currMB->MBPartPredMode[mbPartIdx][0] != AVC_Pred_L1) in mb_pred() 724 code = currMB->ref_idx_L0[mbPartIdx]; in mb_pred() 738 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++) in mb_pred() 741 currMB->MBPartPredMode[mbPartIdx][0] != AVC_Pred_L0) in mb_pred() 743 status = te_v(stream, currMB->ref_idx_L1[mbPartIdx], max_ref_idx); in mb_pred() 749 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++) in mb_pred() 751 if (currMB->MBPartPredMode[mbPartIdx][0] != AVC_Pred_L1) in mb_pred() 753 status = se_v(stream, video->mvd_l0[mbPartIdx][0][0]); in mb_pred() [all …]
|
D | motion_est.cpp | 842 int mbPartIdx, subMbPartIdx; in AVCMBMotionSearch() local 928 for (mbPartIdx = 0; mbPartIdx < 4; mbPartIdx++) in AVCMBMotionSearch() 930 currMB->MBPartPredMode[mbPartIdx][0] = AVC_Pred_L0; in AVCMBMotionSearch() 931 currMB->ref_idx_L0[mbPartIdx] = FIXED_REF_IDX; in AVCMBMotionSearch() 932 currMB->RefIdx[mbPartIdx] = video->RefPicList0[FIXED_REF_IDX]->RefIdx; in AVCMBMotionSearch() 936 mv = (int16*)(currMB->mvL0 + (mbPartIdx << 2) + subMbPartIdx); in AVCMBMotionSearch()
|
D | motion_comp.cpp | 44 int mbPartIdx, subMbPartIdx; in AVCMBMotionComp() local 73 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++) in AVCMBMotionComp() 75 MbHeight = currMB->SubMbPartHeight[mbPartIdx]; in AVCMBMotionComp() 76 MbWidth = currMB->SubMbPartWidth[mbPartIdx]; in AVCMBMotionComp() 77 mbPartIdx_X = ((mbPartIdx + offset_MbPart_indx) & 1); in AVCMBMotionComp() 78 mbPartIdx_Y = (mbPartIdx + offset_MbPart_indx) >> 1; in AVCMBMotionComp() 86 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++) in AVCMBMotionComp() 111 offset_indx = currMB->SubMbPartWidth[mbPartIdx] >> 3; in AVCMBMotionComp()
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
D | mb_access.cpp | 191 int mbPartIdx, subMbPartIdx, offset_indx; in GetMotionVectorPredictor() local 232 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++) in GetMotionVectorPredictor() 235 nmSubMbHeight = currMB->SubMbPartHeight[mbPartIdx] >> 2; in GetMotionVectorPredictor() 236 nmSubMbWidth = currMB->SubMbPartWidth[mbPartIdx] >> 2; in GetMotionVectorPredictor() 237 mbPartIdx_X = ((mbPartIdx + offset_MbPart_indx) & 1) << 1; in GetMotionVectorPredictor() 238 mbPartIdx_Y = (mbPartIdx + offset_MbPart_indx) & 2; in GetMotionVectorPredictor() 240 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++) in GetMotionVectorPredictor() 291 new_block_x = block_x + (currMB->SubMbPartWidth[mbPartIdx] >> 2) - 1; in GetMotionVectorPredictor() 373 offset_indx = currMB->SubMbPartWidth[mbPartIdx] >> 3; in GetMotionVectorPredictor() 411 if (mbPartIdx == 0) in GetMotionVectorPredictor() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_inter_prediction.c | 76 u32 mbPartIdx, u32 subMbPartIdx); 831 u32 MvPrediction(mbStorage_t *pMb, subMbPred_t *subMbPred, u32 mbPartIdx, in MvPrediction() argument 846 mv = subMbPred->mvdL0[mbPartIdx][subMbPartIdx]; in MvPrediction() 847 subMbPartMode = h264bsdSubMbPartMode(subMbPred->subMbType[mbPartIdx]); in MvPrediction() 848 refIndex = subMbPred->refIdxL0[mbPartIdx]; 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() 885 pMb->mv[4*mbPartIdx] = mv; in MvPrediction() [all …]
|