Searched refs:mbPartIdx (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dslice.cpp689 int mbPartIdx; local
719 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++)
722 currMB->MBPartPredMode[mbPartIdx][0] != AVC_Pred_L1)
724 code = currMB->ref_idx_L0[mbPartIdx];
738 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++)
741 currMB->MBPartPredMode[mbPartIdx][
775 int mbPartIdx, subMbPartIdx; local
[all...]
H A Dmotion_est.cpp842 int mbPartIdx, subMbPartIdx; local
928 for (mbPartIdx = 0; mbPartIdx < 4; mbPartIdx++)
930 currMB->MBPartPredMode[mbPartIdx][0] = AVC_Pred_L0;
931 currMB->ref_idx_L0[mbPartIdx] = FIXED_REF_IDX;
932 currMB->RefIdx[mbPartIdx] = video->RefPicList0[FIXED_REF_IDX]->RefIdx;
936 mv = (int16*)(currMB->mvL0 + (mbPartIdx << 2) + subMbPartIdx);
H A Dmotion_comp.cpp44 int mbPartIdx, subMbPartIdx; local
73 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++)
75 MbHeight = currMB->SubMbPartHeight[mbPartIdx];
76 MbWidth = currMB->SubMbPartWidth[mbPartIdx];
77 mbPartIdx_X = ((mbPartIdx + offset_MbPart_indx) & 1);
78 mbPartIdx_Y = (mbPartIdx + offset_MbPart_indx) >> 1;
86 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++)
111 offset_indx = currMB->SubMbPartWidth[mbPartIdx] >>
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Dmb_access.cpp191 int mbPartIdx, subMbPartIdx, offset_indx; local
232 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++)
235 nmSubMbHeight = currMB->SubMbPartHeight[mbPartIdx] >> 2;
236 nmSubMbWidth = currMB->SubMbPartWidth[mbPartIdx] >> 2;
237 mbPartIdx_X = ((mbPartIdx + offset_MbPart_indx) & 1) << 1;
238 mbPartIdx_Y = (mbPartIdx + offset_MbPart_indx) & 2;
240 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++)
291 new_block_x = block_x + (currMB->SubMbPartWidth[mbPartIdx] >>
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_inter_prediction.c76 u32 mbPartIdx, u32 subMbPartIdx);
831 u32 MvPrediction(mbStorage_t *pMb, subMbPred_t *subMbPred, u32 mbPartIdx, argument
846 mv = subMbPred->mvdL0[mbPartIdx][subMbPartIdx];
847 subMbPartMode = h264bsdSubMbPartMode(subMbPred->subMbType[mbPartIdx]);
848 refIndex = subMbPred->refIdxL0[mbPartIdx];
850 n = N_A_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx;
854 n = N_B_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx;
858 n = N_C_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx;
864 n = N_D_SUB_PART[mbPartIdx][subMbPartMode]+subMbPartIdx;
885 pMb->mv[4*mbPartIdx]
[all...]

Completed in 330 milliseconds