Home
last modified time | relevance | path

Searched refs:i2_max_x (Results 1 – 8 of 8) sorted by relevance

/external/libhevc/encoder/arm/
Dihevce_coarse_layer_sad_neon.c149 mv_x_range = (-ps_mv_limit->i2_min_x + ps_mv_limit->i2_max_x) >> step_shift_x; in hme_store_4x4_sads_high_speed_neon()
156 S32 mv_x_sweep = ps_range_prms->i2_max_x - ps_range_prms->i2_min_x; in hme_store_4x4_sads_high_speed_neon()
181 for(mvx = ps_range_prms->i2_min_x; mvx < ps_range_prms->i2_max_x;) in hme_store_4x4_sads_high_speed_neon()
188 if((mvx + (stepx * 4)) <= ps_range_prms->i2_max_x) // 16x4 in hme_store_4x4_sads_high_speed_neon()
209 else if((mvx + (stepx * 2)) <= ps_range_prms->i2_max_x) // 8x4 in hme_store_4x4_sads_high_speed_neon()
228 else if((mvx + stepx) <= ps_range_prms->i2_max_x) // 4x4 in hme_store_4x4_sads_high_speed_neon()
302 mv_x_range = (-ps_mv_limit->i2_min_x + ps_mv_limit->i2_max_x) >> step_shift_x; in hme_store_4x4_sads_high_quality_neon()
307 S32 mv_x_sweep = ps_range_prms->i2_max_x - ps_range_prms->i2_min_x; in hme_store_4x4_sads_high_quality_neon()
332 for(mvx = ps_range_prms->i2_min_x; mvx < ps_range_prms->i2_max_x;) in hme_store_4x4_sads_high_quality_neon()
339 if((mvx + (stepx * 8)) <= ps_range_prms->i2_max_x) // 16x4 in hme_store_4x4_sads_high_quality_neon()
[all …]
/external/libhevc/encoder/
Dhme_coarse.c331 ps_range->i2_max_x = in hme_derive_worst_case_search_range()
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()
399 mv_x_range = (-ps_mv_limit->i2_min_x + ps_mv_limit->i2_max_x) >> step_shift_x; in hme_combine_4x4_sads_and_compute_cost_high_quality()
405 for(mvx = ps_mv_range->i2_min_x; mvx < ps_mv_range->i2_max_x; mvx += stepx) in hme_combine_4x4_sads_and_compute_cost_high_quality()
476 mv_x_range = (-ps_mv_limit->i2_min_x + ps_mv_limit->i2_max_x) >> step_shift_x; in hme_combine_4x4_sads_and_compute_cost_high_speed()
483 ASSERT(MAX_MVX_SUPPORTED_IN_COARSE_LAYER >= ABS(ps_mv_range->i2_max_x)); in hme_combine_4x4_sads_and_compute_cost_high_speed()
489 for(mvx = ps_mv_range->i2_min_x; mvx < ps_mv_range->i2_max_x; mvx += stepx) in hme_combine_4x4_sads_and_compute_cost_high_speed()
611 mv_x_range = (-ps_mv_limit->i2_min_x + ps_mv_limit->i2_max_x) >> step_shift_x; in hme_store_4x4_sads_high_quality()
617 for(mvx = ps_range_prms->i2_min_x; mvx < ps_range_prms->i2_max_x; mvx += stepx) in hme_store_4x4_sads_high_quality()
695 mv_x_range = (-ps_mv_limit->i2_min_x + ps_mv_limit->i2_max_x) >> step_shift_x; in hme_store_4x4_sads_high_speed()
[all …]
Dhme_common_defs.h66 s_pic_limit.i2_max_x = (S16)((wd) + (pad_x) - (num_post_refine)); \
95 (((x) > (range)->i2_min_x) && ((x) < (range)->i2_max_x) && ((y) > (range)->i2_min_y) && \
Dihevce_me_common_defs.h284 if((x) > ((range)->i2_max_x - i4_range_erosion_metric)) \
285 (x) = ((range)->i2_max_x - i4_range_erosion_metric); \
439 WORD16 i2_max_x; member
Dhme_interface.c3961 S16 i2_max_x = 0, i2_max_y = 0; in hme_process_frm_init() local
4173 i2_max_x = ps_frm_prms->i2_mv_range_x; in hme_process_frm_init()
4178 i2_max_x = (S16)FLOOR8(((i2_max_x * ps_ctxt->i4_wd) / ps_ctxt->i4_wd)); in hme_process_frm_init()
4182 ps_layer_ctxt->i2_max_mv_x = i2_max_x; in hme_process_frm_init()
4225 S16 i2_max_x = 0, i2_max_y = 0; in hme_coarse_process_frm_init() local
4402 i2_max_x = ps_frm_prms->i2_mv_range_x; in hme_coarse_process_frm_init()
4410 i2_max_x = (S16)FLOOR8(((i2_max_x * ps_ctxt->a_wd[i]) / ps_ctxt->a_wd[i - 1])); in hme_coarse_process_frm_init()
4414 ps_layer_ctxt->i2_max_mv_x = i2_max_x; in hme_coarse_process_frm_init()
Dhme_defs.h1043 (((x) > (range)->i2_min_x) && ((x) < (range)->i2_max_x) && ((y) > (range)->i2_min_y) && \
1048 (range)->i2_max_x <<= 2; \
1056 (range)->i2_max_x >>= 2; \
Dhme_utils.c1078 if(ps_search_node->s_mv.i2_mvx + i4_step >= ps_mvrange->i2_max_x) in hme_clamp_grid_by_mvrange()
1351 ps_range->i2_max_x = in hme_derive_search_range()
1352 MIN((ps_pic_limit->i2_max_x - (S16)blk_wd - (S16)i4_x), ps_mv_limit->i2_max_x); in hme_derive_search_range()
5631 ps_mv_limit[ref_ctr].i2_max_x = ps_curr_layer->i2_max_mv_x; in hme_set_mv_limit_using_dvsr_data()
5653 ps_mv_limit[ref_ctr].i2_max_x = ps_curr_layer->i2_max_mv_x; in hme_set_mv_limit_using_dvsr_data()
Dhme_refine.c2427 prm1.i2_max_x = prm2.i2_max_x << shift; \
2435 prm1->i2_max_x = prm2->i2_max_x << shift; \
9391 as_mv_limit[ref_ctr].i2_max_x = ps_curr_layer->i2_max_mv_x; in hme_refine_no_encode()
9402 as_mv_limit[ref_ctr].i2_max_x = ps_curr_layer->i2_max_mv_x; in hme_refine_no_encode()