/external/libavc/encoder/ |
D | ih264e_process.c | 228 ps_entropy->i4_mb_start_add = ps_entropy->i4_mb_y * ps_entropy->i4_wd_mbs + ps_entropy->i4_mb_x; in ih264e_init_entropy_ctxt() 247 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_init_entropy_ctxt() 251 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_init_entropy_ctxt() 344 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy() 347 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy() 461 ps_entropy->i4_mb_y++; in ih264e_entropy() 466 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_entropy() 470 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_entropy() 473 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy() 476 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy() [all …]
|
D | ih264e_deblk.c | 405 WORD32 i4_mb_x, i4_mb_y; in ih264e_compute_bs() local 415 i4_mb_y = ps_bs->i4_mb_y; in ih264e_compute_bs() 418 pu4_pic_vert_bs = ps_bs->pu4_pic_vert_bs + ((i4_mb_y * i4_wd_mbs) + i4_mb_x) * 4; in ih264e_compute_bs() 419 pu4_pic_horz_bs = ps_bs->pu4_pic_horz_bs + ((i4_mb_y * i4_wd_mbs) + i4_mb_x) * 4; in ih264e_compute_bs() 456 if (i4_mb_y == 0) in ih264e_compute_bs() 713 WORD32 i4_mb_x = ps_deblk->i4_mb_x, i4_mb_y = ps_deblk->i4_mb_y; in ih264e_deblock_mb() local 738 UWORD32 push_ptr = (i4_mb_y * ps_proc->i4_wd_mbs) + i4_mb_x; in ih264e_deblock_mb() 748 pu1_slice_idx += (i4_mb_y * ps_proc->i4_wd_mbs); in ih264e_deblock_mb() 753 u1_mb_b = (i4_mb_y == 0 || in ih264e_deblock_mb() 761 u1_mb_b = (i4_mb_y == 0)? 0 : 1; in ih264e_deblock_mb()
|
D | ih264e_process.h | 230 WORD32 i4_mb_y, 255 WORD32 i4_mb_y
|
D | ih264e_cabac.c | 166 WORD32 i4_mb_x, i4_mb_y; in ih264e_get_cabac_context() local 174 i4_mb_y = ps_ent_ctxt->i4_mb_y; in ih264e_get_cabac_context() 175 pu1_slice_idx += (i4_mb_y * ps_ent_ctxt->i4_wd_mbs); in ih264e_get_cabac_context() 181 i4_top_avail = (i4_mb_y == 0 in ih264e_get_cabac_context()
|
D | ih264e_structs.h | 741 WORD32 i4_mb_y; member 815 WORD32 i4_mb_y; member 856 WORD32 i4_mb_y; member 898 WORD32 i4_mb_y; member 1014 WORD32 i4_mb_y; member 1667 WORD32 i4_mb_y; member
|
D | ih264e_utils.c | 1943 WORD32 i4_mb_y = 0, slice_idx = 0, cnt; in ih264e_pic_init() local 1945 while (i4_mb_y < ps_proc->i4_ht_mbs) in ih264e_pic_init() 1947 if (i4_mb_y +(WORD32)ps_codec->s_cfg.u4_slice_param < ps_proc->i4_ht_mbs) in ih264e_pic_init() 1950 i4_mb_y += ps_codec->s_cfg.u4_slice_param; in ih264e_pic_init() 1954 cnt = (ps_proc->i4_ht_mbs - i4_mb_y) * ps_proc->i4_wd_mbs; in ih264e_pic_init() 1955 i4_mb_y += (ps_proc->i4_ht_mbs - i4_mb_y); in ih264e_pic_init()
|
D | ih264e_cavlc.c | 730 WORD32 i4_mb_x, i4_mb_y; in ih264e_encode_residue() local 734 i4_mb_y = ps_ent_ctxt->i4_mb_y; in ih264e_encode_residue() 735 pu1_slice_idx += (i4_mb_y * ps_ent_ctxt->i4_wd_mbs); in ih264e_encode_residue() 740 u1_mb_b = (i4_mb_y == 0 || in ih264e_encode_residue()
|
D | ih264e_intra_modes_eval.c | 124 WORD32 i4_mb_x, i4_mb_y; in ih264e_derive_nghbr_avbl_of_mbs() local 128 i4_mb_y = ps_proc->i4_mb_y; in ih264e_derive_nghbr_avbl_of_mbs() 132 pu1_slice_idx_curr += (i4_mb_y * i4_wd_mbs) + i4_mb_x; in ih264e_derive_nghbr_avbl_of_mbs() 163 if (i4_mb_y == 0) in ih264e_derive_nghbr_avbl_of_mbs() 176 if (i4_mb_x == i4_wd_mbs-1 || i4_mb_y == 0) in ih264e_derive_nghbr_avbl_of_mbs() 189 if (i4_mb_x == 0 || i4_mb_y == 0) in ih264e_derive_nghbr_avbl_of_mbs()
|
D | ih264e_me.c | 907 rows_above = MB_SIZE + ps_proc->i4_mb_y * MB_SIZE; in ih264e_compute_me_single_reflist() 908 rows_below = (ps_proc->i4_ht_mbs - ps_proc->i4_mb_y) * MB_SIZE; in ih264e_compute_me_single_reflist() 1113 UWORD8 *pu1_me_map = ps_proc->pu1_me_map + (ps_proc->i4_mb_y * ps_proc->i4_wd_mbs); in ih264e_compute_me_nmb() 1124 if (ps_proc->i4_mb_y > 0) in ih264e_compute_me_nmb() 1127 … UWORD8 *pu1_me_map_tp_rw = ps_proc->pu1_me_map + (ps_proc->i4_mb_y - 1) * ps_proc->i4_wd_mbs; in ih264e_compute_me_nmb() 1814 rows_above = MB_SIZE + ps_proc->i4_mb_y * MB_SIZE; in ih264e_compute_me_multi_reflist() 1815 rows_below = (ps_proc->i4_ht_mbs - ps_proc->i4_mb_y) * MB_SIZE; in ih264e_compute_me_multi_reflist()
|
/external/libavc/encoder/svc/ |
D | isvce_process.c | 227 ps_entropy->i4_mb_start_add = ps_entropy->i4_mb_y * ps_entropy->i4_wd_mbs + ps_entropy->i4_mb_x; in isvce_init_entropy_ctxt() 246 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in isvce_init_entropy_ctxt() 250 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in isvce_init_entropy_ctxt() 587 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in isvce_entropy() 590 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in isvce_entropy() 858 ps_entropy->i4_mb_y++; in isvce_entropy() 863 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in isvce_entropy() 867 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in isvce_entropy() 870 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in isvce_entropy() 873 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in isvce_entropy() [all …]
|
D | isvce_deblk.c | 688 s_mb_pos.i4_ordinate = ps_bs->i4_mb_y; in isvce_compute_bs() 712 pu4_bs_table[0] = ps_bs->i4_mb_y ? 0x04040404 : 0; in isvce_compute_bs() 984 coordinates_t s_cur_mb_pos = {ps_deblk->i4_mb_x, ps_deblk->i4_mb_y}; in isvce_get_deblk_mb_qp() 1052 coordinates_t s_cur_mb_pos = {ps_deblk->i4_mb_x, ps_deblk->i4_mb_y}; in isvce_deblock_mb() 1053 coordinates_t s_left_mb_pos = {ps_deblk->i4_mb_x - 1, ps_deblk->i4_mb_y}; in isvce_deblock_mb() 1054 coordinates_t s_top_mb_pos = {ps_deblk->i4_mb_x, ps_deblk->i4_mb_y - 1}; in isvce_deblock_mb() 1056 WORD32 i4_mb_x = ps_deblk->i4_mb_x, i4_mb_y = ps_deblk->i4_mb_y; in isvce_deblock_mb() local 1060 (i4_mb_x * MB_SIZE) + ((i4_mb_y * MB_SIZE) * i4_luma_stride); in isvce_deblock_mb() 1064 (i4_mb_x * MB_SIZE) + (i4_mb_y * (MB_SIZE / 2) * i4_chroma_stride); in isvce_deblock_mb() 1065 UWORD32 push_ptr = (i4_mb_y * ps_proc->i4_wd_mbs) + i4_mb_x; in isvce_deblock_mb() [all …]
|
D | isvce_process.h | 217 WORD32 i4_chroma_stride, WORD32 i4_mb_x, WORD32 i4_mb_y, 237 WORD32 i4_mb_x, WORD32 i4_mb_y);
|
D | isvce_utils.c | 2346 WORD32 i4_mb_y = 0, slice_idx = 0, cnt; in isvce_svc_layer_pic_init() local 2348 while(i4_mb_y < ps_proc->i4_ht_mbs) in isvce_svc_layer_pic_init() 2350 if(i4_mb_y + (WORD32) ps_codec->s_cfg.u4_slice_param < ps_proc->i4_ht_mbs) in isvce_svc_layer_pic_init() 2353 i4_mb_y += ps_codec->s_cfg.u4_slice_param; in isvce_svc_layer_pic_init() 2357 cnt = (ps_proc->i4_ht_mbs - i4_mb_y) * ps_proc->i4_wd_mbs; in isvce_svc_layer_pic_init() 2358 i4_mb_y += (ps_proc->i4_ht_mbs - i4_mb_y); in isvce_svc_layer_pic_init() 2514 WORD32 i4_mb_x, i4_mb_y; in isvce_init_layer_proc_ctxt() local 2524 i4_mb_y = ps_proc->i4_mb_y; in isvce_init_layer_proc_ctxt() 2539 ps_proc->s_src_buf_props.as_component_bufs[0].i4_data_stride * (i4_mb_y * MB_SIZE); in isvce_init_layer_proc_ctxt() 2543 ps_proc->s_src_buf_props.as_component_bufs[1].i4_data_stride * (i4_mb_y * BLK8x8SIZE); in isvce_init_layer_proc_ctxt() [all …]
|
D | isvce_cabac.c | 164 WORD32 i4_mb_x, i4_mb_y; in isvce_get_cabac_context() local 171 i4_mb_y = ps_ent_ctxt->i4_mb_y; in isvce_get_cabac_context() 172 pu1_slice_idx += (i4_mb_y * ps_ent_ctxt->i4_wd_mbs); in isvce_get_cabac_context() 176 i4_top_avail = (i4_mb_y == 0 || in isvce_get_cabac_context()
|
D | isvce_ibl_eval.h | 96 UWORD16 u2_mb_type, WORD32 i4_mb_x, WORD32 i4_mb_y,
|
D | isvce_structs.h | 567 WORD32 i4_mb_y; member 975 WORD32 i4_mb_y; member 1020 WORD32 i4_mb_y; member 1458 WORD32 i4_mb_y; member
|
D | isvce_cavlc.c | 725 WORD32 i4_mb_x, i4_mb_y; in isvce_encode_residue() local 729 i4_mb_y = ps_ent_ctxt->i4_mb_y; in isvce_encode_residue() 730 pu1_slice_idx += (i4_mb_y * ps_ent_ctxt->i4_wd_mbs); in isvce_encode_residue() 734 u1_mb_b = (i4_mb_y == 0 || in isvce_encode_residue()
|
D | isvce_ibl_eval.c | 1106 i1_y_odd = (ps_proc->i4_mb_y & 1); in isvce_get_mb_intra_pred() 1174 &s_out_luma, &s_out_chroma, ps_proc->i4_mb_x, ps_proc->i4_mb_y, 0, in isvce_get_mb_intra_pred() 1241 ps_intra_pred_ctxt->s_intra_pred_variables.s_mb_pos.i4_ordinate = ps_proc->i4_mb_y; in isvce_evaluate_IBL_mode() 1272 WORD32 i4_mb_y, WORD8 u1_base_mode_flag) in isvce_update_ibl_info() argument 1283 &ps_layer_state->pi1_mb_mode[i4_mb_x + (i4_mb_y * (ps_layer_state->i4_mb_mode_stride))]; in isvce_update_ibl_info()
|
D | isvce_core_coding.c | 1616 ps_proc->i4_mb_y * MB_SIZE * s_res.i4_data_stride; in isvce_code_luma_intra_macroblock_16x16() 1774 ps_proc->i4_mb_y * MB_SIZE * s_res.i4_data_stride; in isvce_code_luma_intra_macroblock_4x4() 2106 ps_proc->i4_mb_y * (MB_SIZE / 2) * s_res.i4_data_stride; in isvce_code_chroma_intra_macroblock_8x8() 2209 ps_proc->i4_mb_y * MB_SIZE * s_res.i4_data_stride; in isvce_code_luma_inter_macroblock_16x16() 2323 ps_proc->i4_mb_y * (MB_SIZE / 2) * s_res.i4_data_stride; in isvce_code_chroma_inter_macroblock_8x8()
|
D | isvce_me.c | 1657 rows_above = MB_SIZE + ps_proc->i4_mb_y * MB_SIZE; in isvce_compute_me_single_reflist() 1658 rows_below = (ps_proc->i4_ht_mbs - ps_proc->i4_mb_y) * MB_SIZE; in isvce_compute_me_single_reflist() 1859 UWORD8 *pu1_me_map = ps_proc->pu1_me_map + (ps_proc->i4_mb_y * ps_proc->i4_wd_mbs); in isvce_compute_me_nmb() 1874 if(ps_proc->i4_mb_y > 0) in isvce_compute_me_nmb() 1878 ps_proc->pu1_me_map + (ps_proc->i4_mb_y - 1) * ps_proc->i4_wd_mbs; in isvce_compute_me_nmb() 2602 rows_above = MB_SIZE + ps_proc->i4_mb_y * MB_SIZE; in isvce_compute_me_multi_reflist() 2603 rows_below = (ps_proc->i4_ht_mbs - ps_proc->i4_mb_y) * MB_SIZE; in isvce_compute_me_multi_reflist()
|
/external/libavc/decoder/svc/ |
D | isvcd_ii_pred.c | 160 WORD32 i4_mb_x, i4_mb_y; in isvcd_ii_get_ref_mb_mode() local 165 i4_mb_y = (i4_y_ref >> MB_HEIGHT_SHIFT); in isvcd_ii_get_ref_mb_mode() 168 pi1_ref_mb_modes += (i4_mb_y * i4_ref_mode_stride * i4_ref_mode_size); in isvcd_ii_get_ref_mb_mode() 213 WORD32 i4_mb_x, WORD32 i4_mb_y) in isvcd_ii_get_ref_projections() argument 233 i4_frame_y = i4_mb_y << 4; in isvcd_ii_get_ref_projections() 386 WORD32 i4_mb_x, i4_mb_y; in isvcd_ii_pred_compute_flags_mb() local 401 i4_mb_y = ps_coord->u2_mb_y; in isvcd_ii_pred_compute_flags_mb() 420 i4_mb_x, i4_mb_y); in isvcd_ii_pred_compute_flags_mb()
|
D | isvcd_residual_resamp.c | 142 WORD32 i4_mb_x, i4_mb_y; in isvcd_residual_chroma_dyadic_alt() local 151 i4_mb_y = i4_offset_y >> 3; in isvcd_residual_chroma_dyadic_alt() 158 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in isvcd_residual_chroma_dyadic_alt() 164 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in isvcd_residual_chroma_dyadic_alt() 169 i4_mb_y = (i4_offset_y + 4) >> 3; in isvcd_residual_chroma_dyadic_alt() 171 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in isvcd_residual_chroma_dyadic_alt() 177 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in isvcd_residual_chroma_dyadic_alt() 850 WORD32 i4_mb_x, i4_mb_y; in isvcd_ref_layer_ptr_incr() local 909 i4_mb_y = (i4_y_ref >> i4_mb_sft); in isvcd_ref_layer_ptr_incr() 913 i4_mb_y = 0; in isvcd_ref_layer_ptr_incr() [all …]
|
D | isvcd_mode_mv_resamp.c | 802 WORD32 i4_mb_x, i4_mb_y; in isvcd_ref_lyr_part_idc() local 819 i4_mb_y = ps_mb_params->u2_mby; in isvcd_ref_lyr_part_idc() 838 i4_curr_y = (i4_mb_y << 4) + (i4_blk_y << 2) + 1; in isvcd_ref_lyr_part_idc() 1567 WORD32 i4_mb_x, i4_mb_y; in isvcd_interlyr_motion_submbmode_pred() local 1585 i4_mb_y = ps_mb_params->u2_mby; in isvcd_interlyr_motion_submbmode_pred() 1589 i4_mb_pic_y = i4_mb_y << 4; in isvcd_interlyr_motion_submbmode_pred() 2589 WORD32 i4_mb_x, i4_mb_y; in isvcd_interlyr_motion_mode_pred_dyadic() local 2592 i4_mb_y = ps_mb_params->u2_mby; in isvcd_interlyr_motion_mode_pred_dyadic() 2596 i4_ref_y = ps_lyr_mem->pi2_ref_loc_y[i4_mb_y << 4]; in isvcd_interlyr_motion_mode_pred_dyadic() 2602 i4_mb_pic_y = i4_mb_y << 4; in isvcd_interlyr_motion_mode_pred_dyadic()
|
D | isvcd_resamp_svc.c | 2251 WORD32 i4_mb_x, i4_mb_y; in svcd_residual_chroma_dyadic_alt() local 2260 i4_mb_y = i4_offset_y >> 3; in svcd_residual_chroma_dyadic_alt() 2267 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in svcd_residual_chroma_dyadic_alt() 2275 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in svcd_residual_chroma_dyadic_alt() 2281 i4_mb_y = (i4_offset_y + 4) >> 3; in svcd_residual_chroma_dyadic_alt() 2284 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in svcd_residual_chroma_dyadic_alt() 2292 ps_inter_lyr_mb_prms_curr += i4_mb_y * i4_num_element_stride; in svcd_residual_chroma_dyadic_alt() 3195 WORD32 i4_mb_x, i4_mb_y; in svcd_residual_samp_mb_dyadic() local 3202 i4_mb_y = ((i4_offset_y + 1) >> MB_HEIGHT_SHIFT); in svcd_residual_samp_mb_dyadic() 3207 ps_inter_lyr_mb_prms += i4_mb_y * ps_ref_mb_mode->i4_num_element_stride; in svcd_residual_samp_mb_dyadic()
|
/external/libavc/common/svc/ |
D | isvc_intra_resample.c | 2307 WORD32 i4_mb_x, i4_mb_y; in isvc_reflayer_construction() local 2314 i4_mb_y = (i4_y_ref >> i4_mb_ht_sft); in isvc_reflayer_construction() 2319 pi1_ref_mb_modes += (i4_mb_y * i4_ref_mode_stride * i4_element_size); in isvc_reflayer_construction() 2431 WORD32 i4_mb_x, i4_mb_y; in isvc_reflayer_construction() local 2437 i4_mb_y = (i4_y_ref >> i4_mb_ht_sft); in isvc_reflayer_construction() 2441 pi1_ref_mb_modes += (i4_mb_y * i4_ref_mode_stride * i4_element_size); in isvc_reflayer_construction()
|