Searched defs:block_x (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Dmb_access.cpp190 int block_x, block_y, block_x_1, block_y_1, new_block_x; local
242 block_x = mbPartIdx_X + ((subMbPartIdx + offset_indx) & 1);
245 block_x_1 = block_x - 1;
250 if (block_x)
273 refIdxLXB = currMB->ref_idx_L0[(block_y_1 & 2) + (block_x >> 1)];
274 mv = (int16*)(currMB->mvL0 + (block_y_1 << 2) + block_x);
284 refIdxLXB = MB_B->ref_idx_L0[2 + (block_x >> 1)];
285 mv = (int16*)(MB_B->mvL0 + 12 + block_x);
291 new_block_x = block_x + (currMB->SubMbPartWidth[mbPartIdx] >> 2) - 1;
329 if (block_x
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dslice.cpp924 int component, SubBlock_indx, block_x, block_y; local
933 block_x = ((component & 1) << 1);
939 if (block_x > 0)
941 intra4x4PredModeA = currMB->i4Mode[(block_y << 2) + block_x - 1 ];
964 intra4x4PredModeB = currMB->i4Mode[((block_y-1) << 2) + block_x];
972 intra4x4PredModeB = video->mblock[video->mbAddrB].i4Mode[(3 << 2) + block_x];
993 mode = currMB->i4Mode[(block_y<<2)+block_x];
1017 block_x += (1 - 2 * (SubBlock_indx & 1)) ;
H A Dmotion_comp.cpp52 int block_x, block_y, offset_x, offset_y, offsetP, offset; local
88 block_x = (mbPartIdx_X << 1) + ((subMbPartIdx + offset_indx) & 1);
90 mv = (int16*)(currMB->mvL0 + block_x + (block_y << 2));
91 offset_x = x_position + (block_x << 2);
98 offsetP = (block_y << 2) * picPitch + (block_x << 2);
103 offsetP = (block_y * picWidth) + (block_x << 1);
H A Dintra_est.cpp750 if (!(blkidx&0x3)) /* left column block (!block_x)*/
1856 int indx, block_x, block_y; local
1913 block_x = blkIdx2blkX[indx];
1916 currMB->i4Mode[(block_y<<2)+block_x] = FIXED_I4_MODE;
1920 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC;
1923 if (FIXED_I4_MODE == AVC_I4_Horizontal && !(block_x || video->intraAvailA))
1925 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC;
1931 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC;
1935 !((block_y && block_x)
1937 || (block_x
2010 int block_x, block_y, offset; local
[all...]

Completed in 449 milliseconds