Searched refs:block_x (Results 1 – 8 of 8) sorted by relevance
/external/opencore/codecs_v2/video/avc_h264/common/src/ |
D | mb_access.cpp | 189 int block_x, block_y, block_x_1, block_y_1, new_block_x; in GetMotionVectorPredictor() local 241 block_x = mbPartIdx_X + ((subMbPartIdx + offset_indx) & 1); in GetMotionVectorPredictor() 244 block_x_1 = block_x - 1; in GetMotionVectorPredictor() 249 if (block_x) in GetMotionVectorPredictor() 272 refIdxLXB = currMB->ref_idx_L0[(block_y_1 & 2) + (block_x >> 1)]; in GetMotionVectorPredictor() 273 mv = (int16*)(currMB->mvL0 + (block_y_1 << 2) + block_x); in GetMotionVectorPredictor() 283 refIdxLXB = MB_B->ref_idx_L0[2 + (block_x >> 1)]; in GetMotionVectorPredictor() 284 mv = (int16*)(MB_B->mvL0 + 12 + block_x); in GetMotionVectorPredictor() 290 new_block_x = block_x + (currMB->SubMbPartWidth[mbPartIdx] >> 2) - 1; in GetMotionVectorPredictor() 328 if (block_x && block_y) in GetMotionVectorPredictor() [all …]
|
/external/opencore/codecs_v2/video/avc_h264/dec/src/ |
D | pred_intra.cpp | 35 int block_x, block_y, offset; in IntraMBPrediction() local 59 block_x = block_y = 0; in IntraMBPrediction() 62 block_x = ((component & 1) << 1); in IntraMBPrediction() 68 status = Intra_4x4(video, block_x, block_y, comp); in IntraMBPrediction() 76 if (cbp4x4&(1 << ((block_y << 2) + block_x))) in IntraMBPrediction() 81 if (cbp4x4&(1 << ((block_y << 2) + block_x))) in IntraMBPrediction() 90 block_x--; in IntraMBPrediction() 100 block_x++; in IntraMBPrediction() 193 for (block_x = 4; block_x > 0; block_x--) in IntraMBPrediction() 306 for (block_x = 2; block_x > 0; block_x--) in IntraMBPrediction() [all …]
|
D | slice.cpp | 619 int component, SubBlock_indx, block_x, block_y; in DecodeIntra4x4Mode() local 627 block_x = ((component & 1) << 1); in DecodeIntra4x4Mode() 640 if (block_x > 0) in DecodeIntra4x4Mode() 642 intra4x4PredModeA = currMB->i4Mode[(block_y << 2) + block_x - 1 ]; in DecodeIntra4x4Mode() 665 intra4x4PredModeB = currMB->i4Mode[((block_y-1) << 2) + block_x]; in DecodeIntra4x4Mode() 673 … intra4x4PredModeB = video->mblock[video->mbAddrB].i4Mode[(3 << 2) + block_x]; in DecodeIntra4x4Mode() 694 currMB->i4Mode[(block_y<<2)+block_x] = (AVCIntra4x4PredMode)predIntra4x4PredMode; in DecodeIntra4x4Mode() 700 … currMB->i4Mode[(block_y<<2)+block_x] = (AVCIntra4x4PredMode)rem_intra4x4_pred_mode[bindx]; in DecodeIntra4x4Mode() 704 … currMB->i4Mode[(block_y<<2)+block_x] = (AVCIntra4x4PredMode)(rem_intra4x4_pred_mode[bindx] + 1); in DecodeIntra4x4Mode() 709 block_x += (1 - 2 * (SubBlock_indx & 1)) ; in DecodeIntra4x4Mode()
|
D | residual.cpp | 175 int block_x, i, j, k, idx, iCbCr; in residual() local 302 for (block_x = 0; block_x < 4; block_x += 2) /* for iCbCr */ in residual() 306 for (i = block_x; i < block_x + 2; i++) in residual()
|
D | pred_inter.cpp | 50 int block_x, block_y, offset_x, offset_y, offsetP, offset; in InterMBPrediction() local 93 block_x = (mbPartIdx_X << 1) + ((subMbPartIdx + offset_indx) & 1); // check this in InterMBPrediction() 95 mv = (int16*)(currMB->mvL0 + block_x + (block_y << 2)); in InterMBPrediction() 96 offset_x = x_position + (block_x << 2); in InterMBPrediction() 104 offsetP = (block_y * 80) + (block_x << 2); in InterMBPrediction() 109 offsetP = (block_y << 2) * picWidth + (block_x << 2); in InterMBPrediction() 116 offsetP = (block_y * 24) + (block_x << 1); in InterMBPrediction() 124 offsetP = (block_y * picWidth) + (block_x << 1); in InterMBPrediction() 146 for (block_x = 4; block_x > 0; block_x--) in InterMBPrediction() 179 for (block_x = 2; block_x > 0; block_x--) in InterMBPrediction() [all …]
|
/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
D | intra_est.cpp | 1857 int indx, block_x, block_y; in MBIntraSearch() local 1914 block_x = blkIdx2blkX[indx]; in MBIntraSearch() 1917 currMB->i4Mode[(block_y<<2)+block_x] = FIXED_I4_MODE; in MBIntraSearch() 1921 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC; in MBIntraSearch() 1924 if (FIXED_I4_MODE == AVC_I4_Horizontal && !(block_x || video->intraAvailA)) in MBIntraSearch() 1926 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC; in MBIntraSearch() 1932 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC; in MBIntraSearch() 1936 !((block_y && block_x) in MBIntraSearch() 1938 || (block_x && video->intraAvailB) in MBIntraSearch() 1941 currMB->i4Mode[(block_y<<2)+block_x] = AVC_I4_DC; in MBIntraSearch() [all …]
|
D | slice.cpp | 925 int component, SubBlock_indx, block_x, block_y; in EncodeIntra4x4Mode() local 934 block_x = ((component & 1) << 1); in EncodeIntra4x4Mode() 940 if (block_x > 0) in EncodeIntra4x4Mode() 942 intra4x4PredModeA = currMB->i4Mode[(block_y << 2) + block_x - 1 ]; in EncodeIntra4x4Mode() 965 intra4x4PredModeB = currMB->i4Mode[((block_y-1) << 2) + block_x]; in EncodeIntra4x4Mode() 973 … intra4x4PredModeB = video->mblock[video->mbAddrB].i4Mode[(3 << 2) + block_x]; in EncodeIntra4x4Mode() 994 mode = currMB->i4Mode[(block_y<<2)+block_x]; in EncodeIntra4x4Mode() 1018 block_x += (1 - 2 * (SubBlock_indx & 1)) ; in EncodeIntra4x4Mode()
|
D | motion_comp.cpp | 53 int block_x, block_y, offset_x, offset_y, offsetP, offset; in AVCMBMotionComp() local 89 block_x = (mbPartIdx_X << 1) + ((subMbPartIdx + offset_indx) & 1); in AVCMBMotionComp() 91 mv = (int16*)(currMB->mvL0 + block_x + (block_y << 2)); in AVCMBMotionComp() 92 offset_x = x_position + (block_x << 2); in AVCMBMotionComp() 99 offsetP = (block_y << 2) * picPitch + (block_x << 2); in AVCMBMotionComp() 104 offsetP = (block_y * picWidth) + (block_x << 1); in AVCMBMotionComp()
|