Home
last modified time | relevance | path

Searched refs:py_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
200 py_temp = (hi_u16)(((r * 76 + g * 150 + b * 29) >> 8) * 4); in rgb2_yc_full()
204 *py = hi_max2(hi_min2(py_temp, 1023), 0); in rgb2_yc_full()
245 hi_s16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full_8_bit() local
247 py_temp = (r * 76 + g * 150 + b * 29) >> 8; in rgb2_yc_full_8_bit()
251 *py = hi_max2(hi_min2(py_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
204 py_temp = (HI_U16)(((r * 76 + g * 150 + b * 29) >> 8) * 4); in Rgb2Yc_full()
208 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
249 HI_S16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full_8BIT() local
251 py_temp = (r * 76 + g * 150 + b * 29) >> 8; in Rgb2Yc_full_8BIT()
255 *py = MAX2(MIN2(py_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
197 py_temp = (hi_u16)(((r * 76 + g * 150 + b * 29) >> 8) * 4); in rgb2_yc_full()
201 *py = hi_max2(hi_min2(py_temp, 1023), 0); in rgb2_yc_full()
242 hi_s16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full_8_bit() local
244 py_temp = (r * 76 + g * 150 + b * 29) >> 8; in rgb2_yc_full_8_bit()
248 *py = hi_max2(hi_min2(py_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
201 py_temp = (HI_U16)(((r * 76 + g * 150 + b * 29) >> 8) * 4); in Rgb2Yc_full()
205 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
246 HI_S16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full_8BIT() local
248 py_temp = (r * 76 + g * 150 + b * 29) >> 8; in Rgb2Yc_full_8BIT()
252 *py = MAX2(MIN2(py_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
197 py_temp = (hi_u16)(((r * 76 + g * 150 + b * 29) >> 8) * 4); in rgb2_yc_full()
201 *py = hi_max2(hi_min2(py_temp, 1023), 0); in rgb2_yc_full()
242 hi_s16 py_temp, pcb_temp, pcr_temp; in rgb2_yc_full_8_bit() local
244 py_temp = (r * 76 + g * 150 + b * 29) >> 8; in rgb2_yc_full_8_bit()
248 *py = hi_max2(hi_min2(py_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
203 py_temp = (HI_U16)(((r * 76 + g * 150 + b * 29) >> 8) * 4); in Rgb2Yc_full()
207 *py = MAX2(MIN2(py_temp, 1023), 0); in Rgb2Yc_full()
248 HI_S16 py_temp, pcb_temp, pcr_temp; in Rgb2Yc_full_8BIT() local
250 py_temp = (r * 76 + g * 150 + b * 29) >> 8; in Rgb2Yc_full_8BIT()
254 *py = MAX2(MIN2(py_temp, 255), 0); in Rgb2Yc_full_8BIT()

Completed in 5 milliseconds