Searched refs:block_y (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
D | mb_access.cpp | 190 int block_x, block_y, block_x_1, block_y_1, new_block_x; in GetMotionVectorPredictor() local 243 block_y = mbPartIdx_Y + (((subMbPartIdx + offset_indx) >> 1) & 1); in GetMotionVectorPredictor() 246 block_y_1 = block_y - 1; in GetMotionVectorPredictor() 253 refIdxLXA = currMB->ref_idx_L0[(block_y & 2) + (block_x_1 >> 1)]; in GetMotionVectorPredictor() 254 mv = (int16*)(currMB->mvL0 + (block_y << 2) + block_x_1); in GetMotionVectorPredictor() 263 refIdxLXA = MB_A->ref_idx_L0[(block_y & 2) + 1]; in GetMotionVectorPredictor() 264 mv = (int16*)(MB_A->mvL0 + (block_y << 2) + 3); in GetMotionVectorPredictor() 270 if (block_y) in GetMotionVectorPredictor() 292 avail_c = (C >> ((block_y << 2) + new_block_x)) & 0x1; in GetMotionVectorPredictor() 304 if (block_y == 0 && new_block_x < 3) in GetMotionVectorPredictor() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | intra_est.cpp | 1856 int indx, block_x, block_y; in MBIntraSearch() local 1914 block_y = blkIdx2blkY[indx]; in MBIntraSearch() 1916 currMB->i4Mode[(block_y<<2)+block_x] = FIXED_I4_MODE; in MBIntraSearch() 1918 if (FIXED_I4_MODE == AVC_I4_Vertical && !(block_y > 0 || video->intraAvailB)) in MBIntraSearch() 1920 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC; in MBIntraSearch() 1925 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC; in MBIntraSearch() 1929 (block_y == 0 && !video->intraAvailB)) in MBIntraSearch() 1931 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC; in MBIntraSearch() 1935 !((block_y && block_x) in MBIntraSearch() 1936 || (block_y && video->intraAvailA) in MBIntraSearch() [all …]
|
D | slice.cpp | 924 int component, SubBlock_indx, block_x, block_y; in EncodeIntra4x4Mode() local 934 block_y = ((component >> 1) << 1); in EncodeIntra4x4Mode() 941 intra4x4PredModeA = currMB->i4Mode[(block_y << 2) + block_x - 1 ]; in EncodeIntra4x4Mode() 949 … intra4x4PredModeA = video->mblock[video->mbAddrA].i4Mode[(block_y << 2) + 3]; in EncodeIntra4x4Mode() 962 if (block_y > 0) in EncodeIntra4x4Mode() 964 intra4x4PredModeB = currMB->i4Mode[((block_y-1) << 2) + block_x]; in EncodeIntra4x4Mode() 993 mode = currMB->i4Mode[(block_y<<2)+block_x]; in EncodeIntra4x4Mode() 1016 block_y += (SubBlock_indx & 1) ; in EncodeIntra4x4Mode()
|
D | motion_comp.cpp | 52 int block_x, block_y, offset_x, offset_y, offsetP, offset; in AVCMBMotionComp() local 89 block_y = (mbPartIdx_Y << 1) + (((subMbPartIdx + offset_indx) >> 1) & 1); in AVCMBMotionComp() 90 mv = (int16*)(currMB->mvL0 + block_x + (block_y << 2)); in AVCMBMotionComp() 92 offset_y = y_position + (block_y << 2); in AVCMBMotionComp() 98 offsetP = (block_y << 2) * picPitch + (block_x << 2); in AVCMBMotionComp() 103 offsetP = (block_y * picWidth) + (block_x << 1); in AVCMBMotionComp()
|