Home
last modified time | relevance | path

Searched refs:MIN2 (Results 1 - 5 of 5) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_math.h38 * MIN2(x,y) minimum of x and y
45 #ifndef MIN2
46 #define MIN2(x, y) ((x) < (y) ? (x) : (y)) macro
49 #define MIN3(x, y, z) ((x) < (y) ? MIN2(x, z) : MIN2(y, z))
207 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
208 *pcb = MAX2(MIN2(pcb_temp, 1023), 0); in Rgb2Yc_full()
209 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
254 *py = MAX2(MIN2(py_temp, 255), 0); in Rgb2Yc_full_8BIT()
255 *pcb = MAX2(MIN2(pcb_tem in Rgb2Yc_full_8BIT()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
H A Dhi_math.h41 * MIN2(x,y) minimum of x and y
48 #define MIN2(x, y) ((x) < (y) ? (x) : (y)) macro
50 #define MIN3(x, y, z) ((x) < (y) ? MIN2(x, z) : MIN2(y, z))
208 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
209 *pcb = MAX2(MIN2(pcb_temp, 1023), 0); in Rgb2Yc_full()
210 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
255 *py = MAX2(MIN2(py_temp, 255), 0); in Rgb2Yc_full_8BIT()
256 *pcb = MAX2(MIN2(pcb_temp, 255), 0); in Rgb2Yc_full_8BIT()
257 *pcr = MAX2(MIN2(pcr_tem in Rgb2Yc_full_8BIT()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_math.h38 * MIN2(x,y) minimum of x and y
45 #define MIN2(x, y) ((x) < (y) ? (x) : (y)) macro
47 #define MIN3(x, y, z) ((x) < (y) ? MIN2(x, z) : MIN2(y, z))
205 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
206 *pcb = MAX2(MIN2(pcb_temp, 1023), 0); in Rgb2Yc_full()
207 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
252 *py = MAX2(MIN2(py_temp, 255), 0); in Rgb2Yc_full_8BIT()
253 *pcb = MAX2(MIN2(pcb_temp, 255), 0); in Rgb2Yc_full_8BIT()
254 *pcr = MAX2(MIN2(pcr_tem in Rgb2Yc_full_8BIT()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/
H A Dtde_osictl_k.c1864 slice_data->xed_pos_blk = MIN2(slice_data->des_xed_pos_blk, slice_data->xdpos); in tde_osi_calc_slice_s1()
1950 slice_data->xst_pos_cord_in_tap_sp = MIN2(slice_data->xst_pos_cord_in_tap_luma, in tde_osi_calc_slice_sp()
2089 slice_data->des_crop_end_x = slice_data->des_crop_en ? (MIN2(slice_data->des_xed_pos_blk, in tde_osi_finalize_slice_calculation()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/hal/
H A Dvou_drv.c478 g_hal_dev_cfg[dev].vtth2 = MIN2(tmp, vtth1); in vou_drv_set_dev_vtth2()

Completed in 26 milliseconds