Home
last modified time | relevance | path

Searched refs:pcr (Results 1 - 7 of 7) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/adapt/
H A Dhi_math_adapt.h175 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument
184 *pcr = (hi_u16)(((((r * 112 - g * 94) - b * 18) >> 8) + 128) << 2); in rgb2_yc()
196 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc_full() argument
206 *pcr = hi_max2(hi_min2(pcr_temp, 1023), 0); in rgb2_yc_full()
222 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument
231 *pcr = (hi_u8)((((r * 112 - g * 94) - b * 18) >> 8) + 128); in rgb2_yc_8_bit()
243 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_full_8_bit() argument
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.h179 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument
188 *pcr = (HI_U16)(((((r * 112 - g * 94) - b * 18) >> 8) + 128) << 2); in Rgb2Yc()
200 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc_full() argument
210 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
226 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument
235 *pcr = (HI_U8)((((r * 112 - g * 94) - b * 18) >> 8) + 128); in Rgb2Yc_8BIT()
247 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_full_8BIT() argument
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.h172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument
181 *pcr = (hi_u16)(((((r * 112 - g * 94) - b * 18) >> 8) + 128) << 2); in rgb2_yc()
193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc_full() argument
203 *pcr = hi_max2(hi_min2(pcr_temp, 1023), 0); in rgb2_yc_full()
219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument
228 *pcr = (hi_u8)((((r * 112 - g * 94) - b * 18) >> 8) + 128); in rgb2_yc_8_bit()
240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_full_8_bit() argument
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.h176 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument
185 *pcr = (HI_U16)(((((r * 112 - g * 94) - b * 18) >> 8) + 128) << 2); in Rgb2Yc()
197 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc_full() argument
207 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
223 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument
232 *pcr = (HI_U8)((((r * 112 - g * 94) - b * 18) >> 8) + 128); in Rgb2Yc_8BIT()
244 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_full_8BIT() argument
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.h172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument
181 *pcr = (hi_u16)(((((r * 112 - g * 94) - b * 18) >> 8) + 128) << 2); in rgb2_yc()
193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc_full() argument
203 *pcr = hi_max2(hi_min2(pcr_temp, 1023), 0); in rgb2_yc_full()
219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument
228 *pcr = (hi_u8)((((r * 112 - g * 94) - b * 18) >> 8) + 128); in rgb2_yc_8_bit()
240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_full_8_bit() argument
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.h178 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument
187 *pcr = (HI_U16)(((((r * 112 - g * 94) - b * 18) >> 8) + 128) << 2); in Rgb2Yc()
199 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc_full() argument
209 *pcr = MAX2(MIN2(pcr_temp, 1023), 0); in Rgb2Yc_full()
225 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument
234 *pcr = (HI_U8)((((r * 112 - g * 94) - b * 18) >> 8) + 128); in Rgb2Yc_8BIT()
246 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_full_8BIT() argument
256 *pcr = MAX2(MIN2(pcr_temp, 255), 0); in Rgb2Yc_full_8BIT()
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
H A Dcsi_gcc.h966 \param [in] pcr PCR Register value to set
968 __ALWAYS_STATIC_INLINE void __set_PCR(uint32_t pcr) in __set_PCR() argument
970 __ASM volatile("mtcr %0, cr<9, 3>" : : "r"(pcr)); in __set_PCR()

Completed in 12 milliseconds