Home
last modified time | relevance | path

Searched refs:HME_CLIP (Results 1 – 4 of 4) sorted by relevance

/external/libhevc/encoder/
Dhme_common_defs.h49 #define HME_CLIP(x, min, max) (((x) < (min)) ? (min) : (((x) > (max)) ? (max) : (x))) macro
78 HME_CLIP(x, -32768, 32767); \
79 HME_CLIP(y, -32768, 32767); \
Dihevce_coarse_me_pass.c1303 v1 = HME_CLIP(v1, 0, (num_vert_n - 1)); in ihevce_coarse_me_get_lyr_prms_job_que()
1304 v2 = HME_CLIP(v2, 0, (num_vert_n - 1)); in ihevce_coarse_me_get_lyr_prms_job_que()
Dhme_interface.c3923 tb = HME_CLIP((curr_poc - poc_to), -128, 127); in hme_scale_for_ref_idx()
3924 td = HME_CLIP((curr_poc - poc_from), -128, 127); in hme_scale_for_ref_idx()
3928 i2_scf = HME_CLIP((((tb * tx) + 32) >> 6), -4096, 4095); in hme_scale_for_ref_idx()
Dhme_utils.c2184 pu1_dst[j] = (U08)(HME_CLIP(tmp, 0, 255)); in hme_get_wt_inp()