Searched refs:HME_CLIP (Results 1 – 4 of 4) sorted by relevance
/external/libhevc/encoder/ |
D | hme_common_defs.h | 49 #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); \
|
D | ihevce_coarse_me_pass.c | 1303 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()
|
D | hme_interface.c | 3923 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()
|
D | hme_utils.c | 2184 pu1_dst[j] = (U08)(HME_CLIP(tmp, 0, 255)); in hme_get_wt_inp()
|