/external/libavc/common/svc/ |
D | isvc_intra_resample.c | 52 typedef void(PF_INTRA_SAMP_PADDING)(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 136 static void isvc_left_right_padding(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, in isvc_left_right_padding() argument 151 pu1_dst = pu1_refarray_1 + i4_x + (i4_y * i4_refarray_stride); in isvc_left_right_padding() 166 static void isvc_left_right_padding_chroma(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, in isvc_left_right_padding_chroma() argument 182 i4_tmp = i4_x + (i4_y * i4_refarray_stride); in isvc_left_right_padding_chroma() 206 static void isvc_top_bot_padding(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, in isvc_top_bot_padding() argument 221 pu1_dst = pu1_refarray_1 + i4_x + (i4_y * i4_refarray_stride); in isvc_top_bot_padding() 235 static void isvc_top_bot_padding_chroma(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, in isvc_top_bot_padding_chroma() argument 251 i4_tmp = i4_x + (i4_y * i4_refarray_stride); in isvc_top_bot_padding_chroma() 277 static void isvc_diag_reconstruction(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, in isvc_diag_reconstruction() argument [all …]
|
/external/libavc/decoder/svc/ |
D | isvcd_intra_resamp.c | 506 UWORD8 isvcd_diagonal_construct_dyadic(WORD32 i4_x, WORD32 i4_y, WORD32 i4_xd_index, in isvcd_diagonal_construct_dyadic() argument 521 i4_xc = i4_x - (i4_sgn_xy * i4_yd_index); in isvcd_diagonal_construct_dyadic() 530 i4_xc = i4_x - i4_xd_index; in isvcd_diagonal_construct_dyadic() 543 i4_ref_xd = i4_x - i4_xd_index; in isvcd_diagonal_construct_dyadic() 557 pu1_tmp[i4_x] = i4_result; in isvcd_diagonal_construct_dyadic() 579 void isvcd_left_right_padding(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, in isvcd_left_right_padding() argument 594 pu1_dst = pu1_refarray_1 + i4_x + (i4_y * i4_refarray_stride); in isvcd_left_right_padding() 624 void isvcd_left_right_padding_chroma(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, in isvcd_left_right_padding_chroma() argument 640 i4_tmp = i4_x + (i4_y * i4_refarray_stride); in isvcd_left_right_padding_chroma() 679 void isvcd_top_bot_padding(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, in isvcd_top_bot_padding() argument [all …]
|
D | isvcd_resamp_svc.c | 335 UWORD8 svcd_diagonal_construct_dyadic(WORD32 i4_x, WORD32 i4_y, WORD32 i4_xd_index, in svcd_diagonal_construct_dyadic() argument 350 i4_xc = i4_x - (i4_sgn_xy * i4_yd_index); in svcd_diagonal_construct_dyadic() 361 i4_xc = i4_x - i4_xd_index; in svcd_diagonal_construct_dyadic() 376 i4_ref_xd = i4_x - i4_xd_index; in svcd_diagonal_construct_dyadic() 394 pu1_tmp[i4_x] = i4_result; in svcd_diagonal_construct_dyadic() 426 void svcd_corner_samp_dyadic(WORD32 i4_x, WORD32 i4_y, WORD32 i4_xD, WORD32 i4_yD, in svcd_corner_samp_dyadic() argument 437 i4_ref_xD = i4_x - i4_xD; in svcd_corner_samp_dyadic() 516 WORD32 i4_x, i4_y; in svcd_reflayer_construction_dyadic() local 736 for(i4_x = i4_x0; i4_x < i4_x0 + 8; i4_x++) in svcd_reflayer_construction_dyadic() 738 pu1_tmp_dst1[i4_x] = pu1_tmp_src[i4_x]; in svcd_reflayer_construction_dyadic() [all …]
|
D | isvcd_residual_resamp.c | 840 WORD32 i4_x, i4_y; in isvcd_ref_layer_ptr_incr() local 874 i4_x = 0; in isvcd_ref_layer_ptr_incr() 971 i4_prev_x = i4_x; in isvcd_ref_layer_ptr_incr() 972 i4_x_ref = i4_x_offset + i4_x; in isvcd_ref_layer_ptr_incr() 975 if(i4_x >= i4_mb_quard1_part_x) in isvcd_ref_layer_ptr_incr() 986 else if(i4_x < i4_mb_quard1_part_x) in isvcd_ref_layer_ptr_incr() 1000 pu1_incr_x = pu1_ref_x_ptr_incr + i4_x; in isvcd_ref_layer_ptr_incr() 1005 i4_x_idx = i4_x; in isvcd_ref_layer_ptr_incr() 1008 i4_x += (16 - i4_pos_x); in isvcd_ref_layer_ptr_incr() 1067 if(i4_x < i4_act_ary_wd) in isvcd_ref_layer_ptr_incr() [all …]
|
D | isvcd_intra_resamp.h | 130 typedef void(ftype_intra_samp_padding)(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, 135 void isvcd_left_right_padding(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 141 void isvcd_left_right_padding_chroma(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 147 void isvcd_top_bot_padding(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 152 void isvcd_top_bot_padding_chroma(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 158 void isvcd_diag_padding(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 163 void isvcd_diag_padding_chroma(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 169 void isvcd_diag_reconstruction(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, WORD8 i1_yd_index, 175 void isvcd_diag_reconstruction_chroma(WORD32 i4_x, WORD32 i4_y, WORD8 i1_xd_index, 611 WORD32 isvcd_get_ceil_log2(WORD32 i4_x);
|
D | isvcd_mode_mv_resamp.c | 1180 WORD32 i4_x, i4_y; in isvcd_motion_scale_crop_wdw_change() local 1235 i4_x = i4_part_frm_x - ps_lyr_mem->i4_offset_x; in isvcd_motion_scale_crop_wdw_change() 1243 i4_mv_x += ((i4_x * i4_scale_x + 32768) >> 16) - 4 * i4_dox; in isvcd_motion_scale_crop_wdw_change()
|
/external/libavc/encoder/ |
D | ih264e_time_stamp.c | 116 static WORD32 gcd(WORD32 i4_x, WORD32 i4_y) in gcd() argument 118 if (i4_x > i4_y) in gcd() 120 i4_x = i4_y + i4_x; in gcd() 121 i4_y = i4_x - i4_y; in gcd() 122 i4_x = i4_x - i4_y; in gcd() 127 i4_x = i4_x % i4_y; in gcd() 128 temp = i4_x; in gcd() 129 i4_x = i4_y; in gcd() 132 return (i4_x); in gcd()
|
/external/libavc/decoder/arm/svc/ |
D | isvcd_intra_resamp_neon.c | 389 WORD32 i4_x, i4_y; in isvcd_interpolate_intra_base_neonintr() local 540 for(i4_x = 0; i4_x < i4_mb_wd; i4_x++) in isvcd_interpolate_intra_base_neonintr() 542 arr_x_ref_pos_luma[i4_x] = ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_ref_pos; in isvcd_interpolate_intra_base_neonintr() 543 arr_phase_luma[i4_x] = ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_phase; in isvcd_interpolate_intra_base_neonintr() 544 arr_x_ref_pos_luma[i4_x] = arr_x_ref_pos_luma[i4_x] - strt_indx - 1; in isvcd_interpolate_intra_base_neonintr() 547 for(i4_x = 0; i4_x < i4_mb_wd_hlf; i4_x++) in isvcd_interpolate_intra_base_neonintr() 549 i4_x2 = i4_x << 1; in isvcd_interpolate_intra_base_neonintr() 550 arr_x_ref_pos_luma_low[i4_x2] = (arr_x_ref_pos_luma[i4_x]) << 1; in isvcd_interpolate_intra_base_neonintr() 553 for(i4_x = i4_mb_wd_hlf; i4_x < i4_mb_wd; i4_x++) in isvcd_interpolate_intra_base_neonintr() 555 i4_x2 = (i4_x - i4_mb_wd_hlf) << 1; in isvcd_interpolate_intra_base_neonintr() [all …]
|
D | isvcd_residual_resamp_neon.c | 627 WORD32 i4_x, i4_y; in isvcd_interpolate_residual_neonintr() local 736 for(i4_x = 0; i4_x < i4_mb_wd; i4_x++) in isvcd_interpolate_residual_neonintr() 738 arr_x_ref_pos[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_ref_pos; in isvcd_interpolate_residual_neonintr() 739 arr_x_phase[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_phase; in isvcd_interpolate_residual_neonintr() 1087 for(i4_x = 0; i4_x < i4_mb_wd; i4_x++) in isvcd_interpolate_residual_neonintr() 1089 arr_x_ref_pos[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_ref_pos; in isvcd_interpolate_residual_neonintr() 1090 arr_x_phase[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_phase; in isvcd_interpolate_residual_neonintr() 1091 i4_x2 = i4_x << 1; in isvcd_interpolate_residual_neonintr() 1092 arr_x_ref_pos_low[i4_x2] = (arr_x_ref_pos[i4_x]) << 1; in isvcd_interpolate_residual_neonintr()
|
/external/libavc/encoder/svc/ |
D | isvce_residual_pred.c | 1294 WORD32 i4_x, i4_y; in isvce_ref_layer_ptr_incr() local 1311 i4_x = 0; in isvce_ref_layer_ptr_incr() 1324 i4_prev_x = i4_x; in isvce_ref_layer_ptr_incr() 1326 i4_x_ref = i4_x_offset + i4_x; in isvce_ref_layer_ptr_incr() 1338 pu1_incr_x = pu1_ref_x_ptr_incr + i4_x; in isvce_ref_layer_ptr_incr() 1344 i4_x_idx = i4_x; in isvce_ref_layer_ptr_incr() 1349 i4_x += (16 - i4_pos_x); in isvce_ref_layer_ptr_incr() 1411 if(i4_x < i4_act_ary_wd) in isvce_ref_layer_ptr_incr() 1418 i4_x = 0; in isvce_ref_layer_ptr_incr() 1420 } while((i4_y < i4_act_ary_ht) || (i4_x < i4_act_ary_wd)); in isvce_ref_layer_ptr_incr() [all …]
|
/external/libavc/decoder/x86/svc/ |
D | isvcd_intra_resamp_sse42.c | 80 WORD32 i4_x, i4_y; in isvcd_interpolate_base_luma_dyadic_sse42() local 102 for(i4_x = 0; i4_x < 1; i4_x++) in isvcd_interpolate_base_luma_dyadic_sse42() 373 for(i4_x = 0; i4_x < 1; i4_x++) in isvcd_interpolate_base_luma_dyadic_sse42() 623 WORD32 i4_x, i4_y; in isvcd_interpolate_intra_base_sse42() local 786 for(i4_x = 0; i4_x < i4_mb_wd; i4_x++) in isvcd_interpolate_intra_base_sse42() 788 arr_x_ref_pos_luma[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_ref_pos; in isvcd_interpolate_intra_base_sse42() 789 arr_phase_luma[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_phase; in isvcd_interpolate_intra_base_sse42() 790 arr_x_ref_pos_luma[i4_x] = arr_x_ref_pos_luma[i4_x] - strt_indx - 1; in isvcd_interpolate_intra_base_sse42() 793 for(i4_x = 0; i4_x < i4_mb_wd_hlf; i4_x++) in isvcd_interpolate_intra_base_sse42() 795 i4_x2 = i4_x << 1; in isvcd_interpolate_intra_base_sse42() [all …]
|
D | isvcd_residual_resamp_sse42.c | 610 WORD32 i4_x, i4_y; in isvcd_interpolate_residual_sse42() local 724 for(i4_x = 0; i4_x < i4_mb_wd; i4_x++) in isvcd_interpolate_residual_sse42() 726 arr_x_ref_pos[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_ref_pos; in isvcd_interpolate_residual_sse42() 727 arr_x_phase[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_phase; in isvcd_interpolate_residual_sse42() 1029 for(i4_x = 0; i4_x < i4_mb_wd; i4_x++) in isvcd_interpolate_residual_sse42() 1031 arr_x_ref_pos[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_ref_pos; in isvcd_interpolate_residual_sse42() 1032 arr_x_phase[i4_x] = (WORD8) ps_x_pos_phase[i4_x + i4_frm_mb_x].i2_phase; in isvcd_interpolate_residual_sse42()
|
/external/libhevc/encoder/ |
D | ihevce_coarse_me_pass.c | 569 WORD32 i4_y, i4_x; in ihevce_coarse_me_frame_end() local 576 for(i4_x = 0; i4_x < ps_hist_thrd0->i4_num_cols; i4_x++) in ihevce_coarse_me_frame_end() 580 i4_bin_id = i4_x + (i4_y * ps_hist_thrd0->i4_num_cols); in ihevce_coarse_me_frame_end()
|
D | hme_utils.c | 356 S32 i4_offset, i4_lobe_size, i4_y, i4_x, *pi4_bin_count; in hme_calculate_global_mv() local 368 for(i4_x = i4_offset; i4_x < ps_hist->i4_num_cols - i4_offset; i4_x++) in hme_calculate_global_mv() 371 i4_bin_id = (i4_x - 2) + ((i4_y - 2) * ps_hist->i4_num_cols); in hme_calculate_global_mv() 383 i4_max_x = i4_x; in hme_calculate_global_mv() 455 S32 x_start, y_start, x_end, y_end, i4_x, i4_y; in hme_map_mvs_to_grid() local 523 for(i4_x = x_start; i4_x < x_end; i4_x++) in hme_map_mvs_to_grid() 525 ps_grid_node_tmp[i4_x].s_mv.i2_mvx = i2_mv_x; in hme_map_mvs_to_grid() 526 ps_grid_node_tmp[i4_x].s_mv.i2_mvy = i2_mv_y; in hme_map_mvs_to_grid() 527 ps_grid_node_tmp[i4_x].i1_ref_idx = i1_ref_idx; in hme_map_mvs_to_grid() 528 ps_grid_node_tmp[i4_x].u1_subpel_done = 1; in hme_map_mvs_to_grid() [all …]
|
D | ihevce_enc_cu_recursion.c | 451 WORD32 i4_num_8x8, i4_x, i4_y; in ihevce_store_cu_results() local 458 for(i4_x = 0; i4_x < i4_num_8x8; i4_x++) in ihevce_store_cu_results() 462 ps_ctxt->ai4_qp_qg[((i4_cu_pox_y + i4_y) * 8) + (i4_cu_pos_x + i4_x)] = in ihevce_store_cu_results() 467 ps_ctxt->ai4_qp_qg[((i4_cu_pox_y + i4_y) * 8) + (i4_cu_pos_x + i4_x)] = in ihevce_store_cu_results()
|
D | hme_coarse.c | 325 S32 i4_x, in hme_derive_worst_case_search_range() argument 332 MIN((ps_pic_limit->i2_max_x - (S16)blk_wd - (S16)(i4_x - 4)), ps_mv_limit->i2_max_x); in hme_derive_worst_case_search_range() 333 ps_range->i2_min_x = MAX((ps_pic_limit->i2_min_x - (S16)i4_x), ps_mv_limit->i2_min_x); in hme_derive_worst_case_search_range()
|
D | hme_utils.h | 464 S32 i4_x,
|
D | hme_refine.c | 6332 S32 i4_x, i4_y; in hme_refine() local 6339 i4_x = (S32)gau1_encode_to_raster_x[i]; in hme_refine() 6341 i4_x <<= 4; in hme_refine() 6350 i4_x, in hme_refine() 6380 i4_x = (S32)gau1_encode_to_raster_x[i]; in hme_refine() 6382 i4_x <<= 5; in hme_refine() 6391 i4_x, in hme_refine()
|