/external/libhevc/encoder/arm/ |
D | ihevce_ssd_calculator_neon.c | 238 UWORD8 *pu1_inp, in ihevce_ssd_calculator_plane_neon() argument 256 ssd = vaddq_u32(ssd, ihevce_1x8_ssd_computer_neon(pu1_inp, pu1_ref, chroma_plane)); in ihevce_ssd_calculator_plane_neon() 258 ssd = vaddq_u32(ssd, ihevce_1x16_ssd_computer_neon(pu1_inp, pu1_ref, chroma_plane)); in ihevce_ssd_calculator_plane_neon() 260 ssd = vaddq_u32(ssd, ihevce_1x32_ssd_computer_neon(pu1_inp, pu1_ref, chroma_plane)); in ihevce_ssd_calculator_plane_neon() 262 ssd = vaddq_u32(ssd, ihevce_1x64_ssd_computer_neon(pu1_inp, pu1_ref, chroma_plane)); in ihevce_ssd_calculator_plane_neon() 266 UWORD8 *inp = pu1_inp, *ref = pu1_ref; in ihevce_ssd_calculator_plane_neon() 276 pu1_inp += inp_stride; in ihevce_ssd_calculator_plane_neon() 283 ssd = ihevce_4x4_ssd_computer_neon(pu1_inp, pu1_ref, inp_stride, ref_stride, chroma_plane); in ihevce_ssd_calculator_plane_neon() 291 UWORD8 *pu1_inp, UWORD8 *pu1_ref, UWORD32 inp_stride, UWORD32 ref_stride, UWORD32 wd, in ihevce_ssd_calculator_neon() argument 294 return ihevce_ssd_calculator_plane_neon(pu1_inp, pu1_ref, inp_stride, ref_stride, wd, ht, in ihevce_ssd_calculator_neon() [all …]
|
D | ihevce_coarse_layer_sad_neon.c | 109 U08 *pu1_inp, *pu1_ref; in hme_store_4x4_sads_high_speed_neon() local 125 pu1_inp = ps_wt_inp_prms->apu1_wt_inp[i4_search_idx]; in hme_store_4x4_sads_high_speed_neon() 129 pu1_inp += ps_search_prms->i4_cu_x_off; in hme_store_4x4_sads_high_speed_neon() 130 pu1_inp += ps_search_prms->i4_cu_y_off * i4_inp_stride; in hme_store_4x4_sads_high_speed_neon() 161 a[i] = vld1_dup_u32((uint32_t *)pu1_inp); in hme_store_4x4_sads_high_speed_neon() 162 pu1_inp += i4_inp_stride; in hme_store_4x4_sads_high_speed_neon() 262 U08 *pu1_inp, *pu1_ref; in hme_store_4x4_sads_high_quality_neon() local 278 pu1_inp = ps_wt_inp_prms->apu1_wt_inp[i4_search_idx]; in hme_store_4x4_sads_high_quality_neon() 282 pu1_inp += ps_search_prms->i4_cu_x_off; in hme_store_4x4_sads_high_quality_neon() 283 pu1_inp += ps_search_prms->i4_cu_y_off * i4_inp_stride; in hme_store_4x4_sads_high_quality_neon() [all …]
|
D | ihevce_me_neon.c | 432 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsad_grid_npu_MxN_neon() local 441 pu1_inp, in hme_evalsad_grid_npu_MxN_neon() 453 ps_prms->pu1_inp, in hme_evalsad_pt_npu_MxN_8bit_neon() 497 ps_err_prms->pu1_inp = ps_wt_inp_prms->apu1_wt_inp[ps_search_node->i1_ref_idx] + i4_inp_off; in hme_calc_sad_and_1_best_result_neon() 505 UWORD8 *pu1_curr = ps_err_prms->pu1_inp; in hme_calc_sad_and_1_best_result_neon() 625 UWORD8 *pu1_curr = ps_err_prms->pu1_inp; in hme_calc_sad_and_1_best_result_subpel_neon()
|
D | ihevce_subpel_neon.c | 375 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon() local 386 U08 *pu1_src = pu1_inp + (i & 0x1) * 8 + (i >> 1) * inp_stride * 8; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
|
D | ihevce_hme_utils_neon.c | 250 pu1_src = ps_curr_layer->pu1_inp; in hme_get_wt_inp_8x8_neon() 406 pu1_src = ps_curr_layer->pu1_inp; in hme_get_wt_inp_ctb_neon() 680 pu1_src = ps_curr_layer->pu1_inp; in hme_get_wt_inp_ctb_neon()
|
/external/libhevc/encoder/ |
D | hme_common_utils.c | 76 U32 hme_compute_2d_sum_u08(U08 *pu1_inp, S32 i4_wd, S32 i4_ht, S32 i4_stride) in hme_compute_2d_sum_u08() argument 84 u4_sum += (U32)pu1_inp[j]; in hme_compute_2d_sum_u08() 86 pu1_inp += i4_stride; in hme_compute_2d_sum_u08()
|
D | ihevce_common_utils.c | 861 UWORD8 *pu1_inp, UWORD8 *pu1_ref, UWORD32 inp_stride, UWORD32 ref_stride, UWORD32 wd, in ihevce_ssd_calculator() argument 871 ssd += (pu1_inp[j] - pu1_ref[j]) * (pu1_inp[j] - pu1_ref[j]); in ihevce_ssd_calculator() 874 pu1_inp += inp_stride; in ihevce_ssd_calculator() 914 UWORD8 *pu1_inp, UWORD8 *pu1_ref, UWORD32 inp_stride, UWORD32 ref_stride, UWORD32 wd, in ihevce_chroma_interleave_ssd_calculator() argument 919 pu1_inp += chroma_plane; in ihevce_chroma_interleave_ssd_calculator() 930 val = pu1_inp[j * 2] - pu1_ref[j * 2]; in ihevce_chroma_interleave_ssd_calculator() 934 pu1_inp += inp_stride; in ihevce_chroma_interleave_ssd_calculator()
|
D | ihevce_lap_interface.c | 423 UWORD8 *pu1_inp; in ihevce_lap_pad_input_bufs() local 432 pu1_inp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_y_buf; in ihevce_lap_pad_input_bufs() 433 pu1_inp += ps_curr_inp->s_lap_out.s_input_buf.i4_y_wd; in ihevce_lap_pad_input_bufs() 441 pu1_inp[ctr_horz] = pu1_inp[-1]; in ihevce_lap_pad_input_bufs() 445 pu1_inp += ps_curr_inp->s_lap_out.s_input_buf.i4_y_strd; in ihevce_lap_pad_input_bufs() 453 pu1_inp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_u_buf; in ihevce_lap_pad_input_bufs() 454 pu2_inp = (UWORD16 *)(pu1_inp + ps_curr_inp->s_lap_out.s_input_buf.i4_uv_wd); in ihevce_lap_pad_input_bufs() 473 UWORD8 *pu1_inp, *pu1_src; in ihevce_lap_pad_input_bufs() local 479 pu1_inp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_y_buf; in ihevce_lap_pad_input_bufs() 480 pu1_inp += ps_curr_inp->s_lap_out.s_input_buf.i4_y_ht * in ihevce_lap_pad_input_bufs() [all …]
|
D | hme_subpel.c | 932 s_err_prms.pu1_inp = (U08 *)ps_inter_ctb_prms->pu1_non_wt_inp + inp_offset; in hme_compute_pred_and_evaluate_bi() 1230 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_8x8_tu_rec() local 1259 pu1_inp, in hme_evalsatd_pt_pu_8x8_tu_rec() 1329 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_update_2_best_results_pt_pu_16x16() local 1345 pu1_src = pu1_inp + (i & 0x01) * 8 + (i >> 1) * inp_stride * 8; in hme_evalsatd_update_2_best_results_pt_pu_16x16() 1502 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_update_1_best_result_pt_pu_16x16() local 1518 pu1_src = pu1_inp + (i & 0x01) * 8 + (i >> 1) * inp_stride * 8; in hme_evalsatd_update_1_best_result_pt_pu_16x16() 1661 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_16x16_tu_rec() local 1689 pu1_inp, in hme_evalsatd_pt_pu_16x16_tu_rec() 1746 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_32x32() local [all …]
|
D | hme_err_compute.c | 432 &s_grid, ps_prms->pu1_inp, ps_prms->i4_inp_stride, apu2_sad_grid, as_candt, &num_candts); in hme_evalsad_grid_pu_16x16() 458 pu1_inp_base = ps_prms->pu1_inp; in hme_evalsad_grid_npu_MxN() 463 U08 *pu1_inp, *pu1_ref; in hme_evalsad_grid_npu_MxN() local 469 pu1_inp = pu1_inp_base; in hme_evalsad_grid_npu_MxN() 475 sad += (ABS((pu1_inp[k] - pu1_ref[k]))); in hme_evalsad_grid_npu_MxN() 477 pu1_inp += ps_prms->i4_inp_stride; in hme_evalsad_grid_npu_MxN() 487 UWORD8 *pu1_inp, in hme_evalsad_pt_npu_MxN_8bit_compute() argument 498 sad += (ABS(((S32)pu1_inp[j] - (S32)pu1_ref[j]))); in hme_evalsad_pt_npu_MxN_8bit_compute() 500 pu1_inp += i4_inp_stride; in hme_evalsad_pt_npu_MxN_8bit_compute() 509 U08 *pu1_inp, *pu1_ref; in hme_evalsad_pt_npu_MxN_8bit() local [all …]
|
D | hme_coarse.c | 570 U08 *pu1_inp, *pu1_inp_orig, *pu1_ref; in hme_store_4x4_sads_high_quality() local 621 pu1_inp = pu1_inp_orig; in hme_store_4x4_sads_high_quality() 629 sad += (ABS(((S32)pu1_inp[j] - (S32)pu1_ref[j]))); in hme_store_4x4_sads_high_quality() 631 pu1_inp += i4_inp_stride; in hme_store_4x4_sads_high_quality() 653 U08 *pu1_inp, *pu1_inp_orig, *pu1_ref; in hme_store_4x4_sads_high_speed() local 705 pu1_inp = pu1_inp_orig; in hme_store_4x4_sads_high_speed() 713 sad += (ABS(((S32)pu1_inp[j] - (S32)pu1_ref[j]))); in hme_store_4x4_sads_high_speed() 715 pu1_inp += i4_inp_stride; in hme_store_4x4_sads_high_speed()
|
D | ihevce_recur_bracketing.h | 100 … UWORD8 *pu1_inp, WORD32 i4_inp_stride, UWORD8 *pu1_ref, WORD32 i4_ref_stride, WORD32 trans_size);
|
D | ihevce_decomp_pre_intra_structs.h | 155 UWORD8 *pu1_inp; member
|
D | ihevce_enc_loop_utils.h | 321 UWORD8 *pu1_inp, 367 UWORD8 *pu1_inp,
|
D | hme_utils.h | 293 S32 hme_study_input_segmentation(U08 *pu1_inp, S32 i4_inp_stride, S32 limit_active_partitions); 1011 U08 *pu1_inp,
|
D | ihevce_decomp_pre_intra_pass.c | 1394 ps_ctxt->as_layers[0].pu1_inp = (UWORD8 *)ps_lap_out_prms->s_input_buf.pv_y_buf; in ihevce_decomp_pre_intra_process() 1405 pu1_src = ps_ctxt->as_layers[i4_layer_no].pu1_inp; in ihevce_decomp_pre_intra_process() 1408 pu1_dst = ps_ctxt->as_layers[i4_layer_no + 1].pu1_inp; in ihevce_decomp_pre_intra_process() 1447 pu1_dst = ps_ctxt->as_layers[i4_layer_no + 1].pu1_inp + in ihevce_decomp_pre_intra_process() 1565 pu1_dst = ps_ctxt->as_layers[i4_layer_no + 1].pu1_inp + in ihevce_decomp_pre_intra_process() 1768 ps_ctxt->as_layers[j].pu1_inp = NULL; in ihevce_decomp_pre_intra_init() 1844 ps_ctxt->as_layers[j].pu1_inp = ppu1_decomp_lyr_bufs[j - 1]; in ihevce_decomp_pre_intra_frame_init()
|
D | hme_refine.c | 885 s_err_prms.pu1_inp = in hme_pick_eval_merge_candts() 6024 U08 *pu1_inp; in hme_refine() local 7140 U08 *pu1_inp = ps_curr_layer->pu1_inp + (s_common_frm_prms.i4_ctb_x_off + in hme_refine() local 7145 pu1_inp, in hme_refine() 7162 U08 *pu1_inp = in hme_refine() local 7163 ps_curr_layer->pu1_inp + in hme_refine() 7179 pu1_inp + i4_inp_buf_offset, in hme_refine() 7213 U08 *pu1_inp = in hme_refine() local 7214 ps_curr_layer->pu1_inp + (s_common_frm_prms.i4_ctb_x_off + in hme_refine() 7233 pu1_inp + i4_inp_buf_offset, in hme_refine() [all …]
|
D | ihevce_me_instr_set_router.c | 372 ps_prms->pu1_inp, in hme_evalsad_grid_pu_MxM()
|
D | hme_utils.c | 791 S32 hme_study_input_segmentation(U08 *pu1_inp, S32 i4_inp_stride, S32 limit_active_partitions) in hme_study_input_segmentation() argument 824 pu1_tmp = pu1_inp; in hme_study_input_segmentation() 2123 pu1_src = ps_curr_layer->pu1_inp; in hme_get_wt_inp() 2688 ps_err_prms->pu1_inp = apu1_inp[0]; in hme_decide_part_types() 2736 ps_err_prms->pu1_inp = in hme_decide_part_types() 5435 s_err_prms.pu1_inp = in ihevce_16x16block_temporal_noise_detect() 5445 pu1_l0_block = s_err_prms.pu1_inp; in ihevce_16x16block_temporal_noise_detect() 5663 U08 *pu1_inp, in hme_part_mask_populator() argument 5686 hme_study_input_segmentation(pu1_inp, i4_inp_stride, u1_limit_active_partitions); in hme_part_mask_populator()
|
D | hme_search_algo.c | 316 s_err_prms.pu1_inp = ps_wt_inp_prms->apu1_wt_inp[s_search_node.i1_ref_idx] + i4_inp_off; in hme_pred_search_square_stepn()
|
D | ihevce_recur_bracketing.c | 2943 UWORD8 *pu1_inp, WORD32 i4_inp_stride, UWORD8 *pu1_ref, WORD32 i4_ref_stride, WORD32 trans_size) in ihevce_nxn_sad_computer() argument 2955 sad += (ABS(((WORD32)pu1_inp[j] - (WORD32)pu1_ref[j]))); in ihevce_nxn_sad_computer() 2957 pu1_inp += i4_inp_stride; in ihevce_nxn_sad_computer()
|
D | hme_defs.h | 1644 U08 *pu1_inp; member 1978 U08 *pu1_inp; member
|
D | ihevce_coarse_me_pass.c | 1149 ppu1_decomp_lyr_bufs[lyr_no - 1] = ps_curr_descr->aps_layers[lyr_no]->pu1_inp; in ihevce_coarse_me_get_lyr_buf_desc()
|
D | hme_interface.c | 726 ps_layer->pu1_inp = ps_layer->pu1_inp_base + ps_layer->i4_inp_offset; in hme_set_layer_res_attrs() 3197 ps_layer_ctxt->pu1_inp = ps_attr->pu1_y; in hme_add_inp() 3262 ps_layer_ctxt->pu1_inp = ps_attr->pu1_y; in hme_coarse_add_inp() 4392 ppu1_inp[j] = ps_layer->pu1_inp; in hme_coarse_process_frm_init()
|
D | ihevce_enc_loop_structs.h | 2856 UWORD8 *pu1_inp; member
|