/external/libavc/encoder/ |
D | ime.c | 90 void ime_diamond_search_16x16(me_ctxt_t *ps_me_ctxt, WORD32 i4_reflist) in ime_diamond_search_16x16() argument 93 mb_part_ctxt *ps_mb_part = &ps_me_ctxt->as_mb_part[i4_reflist]; in ime_diamond_search_16x16() 96 UWORD32 u4_lambda_motion = ps_me_ctxt->u4_lambda_motion; in ime_diamond_search_16x16() 99 WORD32 i4_srch_range_n = ps_me_ctxt->i4_srch_range_n; in ime_diamond_search_16x16() 100 WORD32 i4_srch_range_s = ps_me_ctxt->i4_srch_range_s; in ime_diamond_search_16x16() 101 WORD32 i4_srch_range_e = ps_me_ctxt->i4_srch_range_e; in ime_diamond_search_16x16() 102 WORD32 i4_srch_range_w = ps_me_ctxt->i4_srch_range_w; in ime_diamond_search_16x16() 108 UWORD8 *pu1_curr_mb = ps_me_ctxt->pu1_src_buf_luma; in ime_diamond_search_16x16() 109 UWORD8 *pu1_ref_mb = ps_me_ctxt->apu1_ref_buf_luma[i4_reflist]; in ime_diamond_search_16x16() 112 WORD32 i4_src_strd = ps_me_ctxt->i4_src_strd; in ime_diamond_search_16x16() [all …]
|
D | ih264e_me.c | 123 void ih264e_init_mv_bits(me_ctxt_t *ps_me_ctxt) in ih264e_init_mv_bits() argument 146 ps_me_ctxt->pu1_mv_bits[0] = 1; in ih264e_init_mv_bits() 160 ps_me_ctxt->pu1_mv_bits[-i] = ps_me_ctxt->pu1_mv_bits[i] = codesize; in ih264e_init_mv_bits() 214 me_ctxt_t *ps_me_ctxt, in ih264e_get_search_candidates() argument 227 mb_part_ctxt *ps_mb_part = &ps_me_ctxt->as_mb_part[i4_reflist]; in ih264e_get_search_candidates() 239 WORD32 i4_srch_range_n = ps_me_ctxt->i4_srch_range_n; in ih264e_get_search_candidates() 240 WORD32 i4_srch_range_s = ps_me_ctxt->i4_srch_range_s; in ih264e_get_search_candidates() 241 WORD32 i4_srch_range_e = ps_me_ctxt->i4_srch_range_e; in ih264e_get_search_candidates() 242 WORD32 i4_srch_range_w = ps_me_ctxt->i4_srch_range_w; in ih264e_get_search_candidates() 258 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = 0; in ih264e_get_search_candidates() [all …]
|
D | ime.h | 87 extern void ime_diamond_search_16x16(me_ctxt_t *ps_me_ctxt, WORD32 i4_reflist); 115 extern void ime_evaluate_init_srchposn_16x16(me_ctxt_t *ps_me_ctxt, 142 extern void ime_full_pel_motion_estimation_16x16(me_ctxt_t *ps_me_ctxt, 169 extern void ime_sub_pel_motion_estimation_16x16(me_ctxt_t *ps_me_ctxt, 196 extern void ime_compute_skip_cost(me_ctxt_t *ps_me_ctxt,
|
D | ih264e_function_selector_generic.c | 118 me_ctxt_t *ps_me_ctxt = NULL; in ih264e_init_function_ptr_generic() local 235 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_generic() 236 ps_me_ctxt->pf_ime_compute_sad_16x16[0] = ime_compute_sad_16x16; in ih264e_init_function_ptr_generic() 237 ps_me_ctxt->pf_ime_compute_sad_16x16[1] = ime_compute_sad_16x16_fast; in ih264e_init_function_ptr_generic() 238 ps_me_ctxt->pf_ime_compute_sad_16x8 = ime_compute_sad_16x8; in ih264e_init_function_ptr_generic() 239 ps_me_ctxt->pf_ime_compute_sad4_diamond = ime_calculate_sad4_prog; in ih264e_init_function_ptr_generic() 240 ps_me_ctxt->pf_ime_compute_sad3_diamond = ime_calculate_sad3_prog; in ih264e_init_function_ptr_generic() 241 ps_me_ctxt->pf_ime_compute_sad2_diamond = ime_calculate_sad2_prog; in ih264e_init_function_ptr_generic() 242 ps_me_ctxt->pf_ime_sub_pel_compute_sad_16x16 = ime_sub_pel_compute_sad_16x16; in ih264e_init_function_ptr_generic() 243 ps_me_ctxt->pf_ime_compute_sad_stat_luma_16x16 = ime_compute_satqd_16x16_lumainter; in ih264e_init_function_ptr_generic()
|
D | ih264e_utils.c | 2110 me_ctxt_t *ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_pic_init() local 2113 ps_me_ctxt->ai2_srch_boundaries[0] = in ih264e_pic_init() 2117 ps_me_ctxt->ai2_srch_boundaries[1] = in ih264e_pic_init() 2121 ps_me_ctxt->i4_rec_strd = ps_codec->i4_rec_strd; in ih264e_pic_init() 2124 ps_me_ctxt->u4_half_x_offset = ps_proc->u4_half_x_offset; in ih264e_pic_init() 2127 ps_me_ctxt->u4_half_y_offset = ps_proc->u4_half_y_offset; in ih264e_pic_init() 2130 ps_me_ctxt->u4_half_xy_offset = ps_proc->u4_half_xy_offset; in ih264e_pic_init() 2133 ps_me_ctxt->u4_enable_fast_sad = u4_enable_fast_sad; in ih264e_pic_init() 2136 ps_me_ctxt->u4_enable_hpel = ps_codec->s_cfg.u4_enable_hpel; in ih264e_pic_init() 2139 ps_me_ctxt->u4_num_layers = u4_num_layers; in ih264e_pic_init() [all …]
|
D | ih264e_mc.c | 116 me_ctxt_t *ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_motion_comp_luma() local 161 ps_me_ctxt->u4_subpel_buf_strd; in ih264e_motion_comp_luma()
|
/external/libavc/encoder/x86/ |
D | ih264e_function_selector_sse42.c | 109 me_ctxt_t *ps_me_ctxt = NULL; in ih264e_init_function_ptr_sse42() local 132 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_sse42() 133 ps_me_ctxt->pf_ime_compute_sad_16x16[0] = ime_compute_sad_16x16_sse42; in ih264e_init_function_ptr_sse42() 134 ps_me_ctxt->pf_ime_compute_sad_16x16[1] = ime_compute_sad_16x16_fast_sse42; in ih264e_init_function_ptr_sse42() 135 ps_me_ctxt->pf_ime_compute_sad_16x8 = ime_compute_sad_16x8_sse42; in ih264e_init_function_ptr_sse42() 136 ps_me_ctxt->pf_ime_compute_sad4_diamond = ime_calculate_sad4_prog_sse42; in ih264e_init_function_ptr_sse42() 137 ps_me_ctxt->pf_ime_sub_pel_compute_sad_16x16 = ime_sub_pel_compute_sad_16x16_sse42; in ih264e_init_function_ptr_sse42() 138 … ps_me_ctxt->pf_ime_compute_sad_stat_luma_16x16 = ime_compute_satqd_16x16_lumainter_sse42; in ih264e_init_function_ptr_sse42()
|
/external/libavc/encoder/arm/ |
D | ih264e_function_selector_av8.c | 116 me_ctxt_t *ps_me_ctxt = NULL; in ih264e_init_function_ptr_neon_av8() local 232 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_neon_av8() 233 ps_me_ctxt->pf_ime_compute_sad_16x16[0] = ime_compute_sad_16x16_av8; in ih264e_init_function_ptr_neon_av8() 234 ps_me_ctxt->pf_ime_compute_sad_16x16[1] = ime_compute_sad_16x16_fast_av8; in ih264e_init_function_ptr_neon_av8() 235 ps_me_ctxt->pf_ime_compute_sad_16x8 = ime_compute_sad_16x8_av8; in ih264e_init_function_ptr_neon_av8() 236 ps_me_ctxt->pf_ime_compute_sad4_diamond = ime_calculate_sad4_prog_av8; in ih264e_init_function_ptr_neon_av8() 237 ps_me_ctxt->pf_ime_compute_sad3_diamond = ime_calculate_sad3_prog_av8; in ih264e_init_function_ptr_neon_av8() 238 ps_me_ctxt->pf_ime_compute_sad2_diamond = ime_calculate_sad2_prog_av8; in ih264e_init_function_ptr_neon_av8() 239 ps_me_ctxt->pf_ime_sub_pel_compute_sad_16x16 = ime_sub_pel_compute_sad_16x16_av8; in ih264e_init_function_ptr_neon_av8() 240 ps_me_ctxt->pf_ime_compute_sad_stat_luma_16x16 = ime_compute_satqd_16x16_lumainter_av8; in ih264e_init_function_ptr_neon_av8()
|
D | ih264e_function_selector_a9q.c | 109 me_ctxt_t *ps_me_ctxt = NULL; in ih264e_init_function_ptr_neon_a9q() local 222 ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_init_function_ptr_neon_a9q() 223 ps_me_ctxt->pf_ime_compute_sad_16x16[0] = ime_compute_sad_16x16_a9q; in ih264e_init_function_ptr_neon_a9q() 224 ps_me_ctxt->pf_ime_compute_sad_16x16[1] = ime_compute_sad_16x16_fast_a9q; in ih264e_init_function_ptr_neon_a9q() 225 ps_me_ctxt->pf_ime_compute_sad_16x8 = ime_compute_sad_16x8_a9q; in ih264e_init_function_ptr_neon_a9q() 226 ps_me_ctxt->pf_ime_compute_sad4_diamond = ime_calculate_sad4_prog_a9q; in ih264e_init_function_ptr_neon_a9q() 227 ps_me_ctxt->pf_ime_compute_sad3_diamond = ime_calculate_sad3_prog_a9q; in ih264e_init_function_ptr_neon_a9q() 228 ps_me_ctxt->pf_ime_compute_sad2_diamond = ime_calculate_sad2_prog_a9q; in ih264e_init_function_ptr_neon_a9q() 229 ps_me_ctxt->pf_ime_sub_pel_compute_sad_16x16 = ime_sub_pel_compute_sad_16x16_a9q; in ih264e_init_function_ptr_neon_a9q() 230 ps_me_ctxt->pf_ime_compute_sad_stat_luma_16x16 = ime_compute_satqd_16x16_lumainter_a9q; in ih264e_init_function_ptr_neon_a9q()
|
/external/libhevc/encoder/ |
D | ihevce_me_pass.c | 428 me_master_ctxt_t *ps_me_ctxt; in ihevce_me_init() local 470 ps_me_ctxt = (me_master_ctxt_t *)pv_me_ctxt; in ihevce_me_init() 472 ps_me_ctxt->pv_tile_params_base = pv_tile_params_base; in ihevce_me_init() 484 ps_me_ctxt->i4_num_me_frm_pllel = i4_num_me_frm_pllel; in ihevce_me_init() 488 hme_init_function_ptr(ps_me_ctxt, e_arch_type); in ihevce_me_init() 491 (ihevce_me_optimised_function_list_t *)ps_me_ctxt->pv_me_optimised_function_list, in ihevce_me_init() 495 &ps_me_ctxt->s_cmn_opt_func, u1_is_popcnt_available, e_arch_type); in ihevce_me_init()
|
D | hme_refine.c | 5772 me_frm_ctxt_t *ps_me_ctxt, in hme_merge_prms_init() argument 5800 ps_prms->ps_results_tl = &ps_me_ctxt->as_search_results_16x16[i4_cu_16x16]; in hme_merge_prms_init() 5801 ps_prms->ps_results_tr = &ps_me_ctxt->as_search_results_16x16[i4_cu_16x16 + 1]; in hme_merge_prms_init() 5802 ps_prms->ps_results_bl = &ps_me_ctxt->as_search_results_16x16[i4_cu_16x16 + 2]; in hme_merge_prms_init() 5803 ps_prms->ps_results_br = &ps_me_ctxt->as_search_results_16x16[i4_cu_16x16 + 3]; in hme_merge_prms_init() 5806 ps_prms->ps_results_merge = &ps_me_ctxt->as_search_results_32x32[i4_32x32_id]; in hme_merge_prms_init() 5811 ps_prms->ps_8x8_cu_results = &ps_me_ctxt->as_cu8x8_results[i4_32x32_id << 4]; in hme_merge_prms_init() 5816 ps_prms->ps_results_tl = &ps_me_ctxt->as_search_results_32x32[0]; in hme_merge_prms_init() 5817 ps_prms->ps_results_tr = &ps_me_ctxt->as_search_results_32x32[1]; in hme_merge_prms_init() 5818 ps_prms->ps_results_bl = &ps_me_ctxt->as_search_results_32x32[2]; in hme_merge_prms_init() [all …]
|
D | hme_interface.c | 2362 coarse_me_master_ctxt_t *ps_me_ctxt = (coarse_me_master_ctxt_t *)pv_ctxt; in hme_coarse_dep_mngr_init() local 2402 ps_me_ctxt->apv_dep_mngr_hme_sync[i - 1] = ihevce_dmgr_init( in hme_coarse_dep_mngr_init() 2435 coarse_me_master_ctxt_t *ps_me_ctxt = (coarse_me_master_ctxt_t *)pv_ctxt; in hme_coarse_dep_mngr_reg_sem() local 2436 coarse_me_ctxt_t *ps_ctxt = ps_me_ctxt->aps_me_ctxt[0]; in hme_coarse_dep_mngr_reg_sem() 2442 ps_me_ctxt->apv_dep_mngr_hme_sync[i - 1], ppv_sem_hdls, i4_num_proc_thrds); in hme_coarse_dep_mngr_reg_sem() 2470 coarse_me_master_ctxt_t *ps_me_ctxt = (coarse_me_master_ctxt_t *)pv_me_ctxt; in hme_coarse_dep_mngr_delete() local 2492 ihevce_dmgr_del(ps_me_ctxt->apv_dep_mngr_hme_sync[i - 1]); in hme_coarse_dep_mngr_delete()
|