Home
last modified time | relevance | path

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

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
H A Dhi_math.h40 * MAX2(x,y) maximum of x and y
47 #define MAX2(x, y) ((x) > (y) ? (x) : (y)) macro
49 #define MAX3(x, y, z) ((x) > (y) ? MAX2(x, z) : MAX2(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(MIN in Rgb2Yc_full_8BIT()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_math.h37 * MAX2(x,y) maximum of x and y
44 #define MAX2(x, y) ((x) > (y) ? (x) : (y)) macro
46 #define MAX3(x, y, z) ((x) > (y) ? MAX2(x, z) : MAX2(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(MIN in Rgb2Yc_full_8BIT()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_math.h37 * MAX2(x,y) maximum of x and y
44 #define MAX2(x, y) ((x) > (y) ? (x) : (y)) macro
48 #define MAX3(x, y, z) ((x) > (y) ? MAX2(x, z) : MAX2(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_temp, 255), 0); in Rgb2Yc_full_8BIT()
256 *pcr = MAX2(MIN in Rgb2Yc_full_8BIT()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/hal/
H A Dvou_drv.c436 g_hal_dev_cfg[dev].vtth = MAX2(vtth, dft_vtth); in vou_drv_set_dev_vtth()
476 tmp = MAX2(vtth, dft_vtth2); in vou_drv_set_dev_vtth2()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/
H A Dtde_osictl_k.c1952 slice_data->xed_pos_cord_in_tap_sp = MAX2(slice_data->xed_pos_cord_in_tap_luma, in tde_osi_calc_slice_sp()
2087 slice_data->des_crop_start_x = slice_data->des_crop_en ? (MAX2(slice_data->des_xst_pos_blk, in tde_osi_finalize_slice_calculation()

Completed in 15 milliseconds