Home
last modified time | relevance | path

Searched refs:pcr_temp (Results 1 - 6 of 6) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/adapt/
H A Dhi_math_adapt.h198 hi_u16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full() local
202 pcr_temp = (hi_u16)(clip_min(((((r * 130 - g * 109) - b * 21) >> 8) + 128), 0) * 4); in rgb2_yc_full()
206 *pcr = hi_max2(hi_min2(pcr_temp, 1023), 0); in rgb2_yc_full()
245 hi_s16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full_8_bit() local
249 pcr_temp = (((r * 130 - g * 109) - b * 21) >> 8) + 128; in rgb2_yc_full_8_bit()
253 *pcr = hi_max2(hi_min2(pcr_temp, 255), 0); in rgb2_yc_full_8_bit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
H A Dhi_math.h202 HI_U16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full() local
206 pcr_temp = (HI_U16)(CLIP_MIN(((((r * 130 - g * 109) - b * 21) >> 8) + 128), 0) * 4); in Rgb2Yc_full()
210 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
249 HI_S16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full_8BIT() local
253 pcr_temp = (((r * 130 - g * 109) - b * 21) >> 8) + 128; in Rgb2Yc_full_8BIT()
257 *pcr = MAX2(MIN2(pcr_temp, 255), 0); in Rgb2Yc_full_8BIT()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/adapt/
H A Dhi_math_adapt.h195 hi_u16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full() local
199 pcr_temp = (hi_u16)(clip_min(((((r * 130 - g * 109) - b * 21) >> 8) + 128), 0) * 4); in rgb2_yc_full()
203 *pcr = hi_max2(hi_min2(pcr_temp, 1023), 0); in rgb2_yc_full()
242 hi_s16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full_8_bit() local
246 pcr_temp = (((r * 130 - g * 109) - b * 21) >> 8) + 128; in rgb2_yc_full_8_bit()
250 *pcr = hi_max2(hi_min2(pcr_temp, 255), 0); in rgb2_yc_full_8_bit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_math.h199 HI_U16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full() local
203 pcr_temp = (HI_U16)(CLIP_MIN(((((r * 130 - g * 109) - b * 21) >> 8) + 128), 0) * 4); in Rgb2Yc_full()
207 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
246 HI_S16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full_8BIT() local
250 pcr_temp = (((r * 130 - g * 109) - b * 21) >> 8) + 128; in Rgb2Yc_full_8BIT()
254 *pcr = MAX2(MIN2(pcr_temp, 255), 0); in Rgb2Yc_full_8BIT()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/
H A Dhi_math_adapt.h195 hi_u16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full() local
199 pcr_temp = (hi_u16)(clip_min(((((r * 130 - g * 109) - b * 21) >> 8) + 128), 0) * 4); in rgb2_yc_full()
203 *pcr = hi_max2(hi_min2(pcr_temp, 1023), 0); in rgb2_yc_full()
242 hi_s16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full_8_bit() local
246 pcr_temp = (((r * 130 - g * 109) - b * 21) >> 8) + 128; in rgb2_yc_full_8_bit()
250 *pcr = hi_max2(hi_min2(pcr_temp, 255), 0); in rgb2_yc_full_8_bit()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_math.h201 HI_U16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full() local
205 pcr_temp = (HI_U16)(CLIP_MIN(((((r * 130 - g * 109) - b * 21) >> 8) + 128), 0) * 4); in Rgb2Yc_full()
209 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
248 HI_S16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full_8BIT() local
252 pcr_temp = (((r * 130 - g * 109) - b * 21) >> 8) + 128; in Rgb2Yc_full_8BIT()
256 *pcr = MAX2(MIN2(pcr_temp, 255), 0); in Rgb2Yc_full_8BIT()

Completed in 5 milliseconds