/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_color_mgmt.c | 305 if (copy_from_user(b_base, (void __user *)(unsigned long)crtc_lut->blue, size)) { in drm_mode_gamma_set_ioctl() 369 if (copy_to_user((void __user *)(unsigned long)crtc_lut->blue, b_base, size)) { in drm_mode_gamma_get_ioctl() 522 if (entry[i].red != entry[i].blue || entry[i].red != entry[i].green) { in drm_color_lut_check() 530 entry[i].blue < entry[i - 1].blue) { in drm_color_lut_check()
|
H A D | drm_atomic_helper.c | 3539 * @blue: green correction table 3548 int drm_atomic_helper_legacy_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, uint32_t size, in drm_atomic_helper_legacy_gamma_set() argument 3576 blob_data[i].blue = blue[i]; in drm_atomic_helper_legacy_gamma_set()
|
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/ |
H A D | framebuffer_allocator.cpp | 40 varInfo.blue.length = 8; // 8 bits in SetFdFormatAndVirtualRes() 45 varInfo.blue.offset = 16; // offset 16 of blue channel in SetFdFormatAndVirtualRes()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/ |
H A D | hifb_main.c | 141 static HIFB_COLOR_FMT_E hifb_getfmtbyargb(struct fb_bitfield *red, struct fb_bitfield *green, struct fb_bitfield *blue, 461 .blue = {0, 5, 0}, 483 .blue = {0, 5, 0}, 505 .blue = {0, 5, 0}, 527 .blue = {0, 5, 0}, 681 .blue = {0, 5, 0}, 688 .blue = {0, 8, 0}, 695 .blue = {0, 4, 0}, 702 .blue = {0, 5, 0}, 709 .blue 3639 hifb_getfmtbyargb(struct fb_bitfield *red, struct fb_bitfield *green, struct fb_bitfield *blue, struct fb_bitfield *transp, hi_u32 color_depth) global() argument [all...] |
H A D | hifb_main.h | 220 struct fb_bitfield blue;
member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/ |
H A D | hifb_blit.c | 386 option->color_key_value.argb_color_key.blue.component_max = opt->ckey.blue_max;
in drv_blit_option_init() 387 option->color_key_value.argb_color_key.blue.component_min = opt->ckey.blue_min;
in drv_blit_option_init() 388 option->color_key_value.argb_color_key.blue.is_component_out = opt->ckey.key_mode;
in drv_blit_option_init() 389 option->color_key_value.argb_color_key.blue.component_mask = 0xff; /* 0xff mask */
in drv_blit_option_init()
|
H A D | hifb_vou_drv.c | 348 b = (key >> var->blue.offset) << (8 - var->blue.length); /* 8 flip data */
in hifb_drv_color_convert() 352 b_mask = (0xff >> var->blue.length); /* 0xff bit */
in hifb_drv_color_convert()
|
/device/soc/rockchip/rk3588/hardware/rga/include/ |
H A D | im2d_type.h | 289 uint8_t blue; member
|
H A D | rga.h | 360 uint8_t blue; member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/ |
H A D | tde_hal_k.c | 141 static hi_u32 tde_hal_get_argb_key_mask(hi_u8 blue, hi_u8 green, hi_u8 red, hi_u8 alpha); 1999 hi_tde_color_key_comp blue = color_key->color_key_value.argb_color_key.blue; in tde_hal_node_set_argbcolor_key_para() local 2005 tde_hal_get_argb_key_mask(blue.component_min, green.component_min, red.component_min, alpha.component_min); in tde_hal_node_set_argbcolor_key_para() 2007 tde_hal_get_argb_key_mask(blue.component_max, green.component_max, red.component_max, alpha.component_max); in tde_hal_node_set_argbcolor_key_para() 2009 tde_hal_get_argb_key_mask(blue.component_mask, green.component_mask, red.component_mask, alpha.component_mask); in tde_hal_node_set_argbcolor_key_para() 2011 hw_node->cbmkeypara.bits.keybmode = tde_hal_get_color_key_mode(&blue); in tde_hal_node_set_argbcolor_key_para() 2035 static hi_u32 tde_hal_get_argb_key_mask(hi_u8 blue, hi_u8 green, hi_u8 red, hi_u8 alpha) in tde_hal_get_argb_key_mask() argument 2037 return (hi_u32)(blue | (green << TDE_EIGHT_BITS_SHIFT) | (red << TDE_SIXTEEN_BITS_SHIFT) | in tde_hal_get_argb_key_mask()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/include/ |
H A D | hifb.h | 128 b = hifb_rgb(&pVar->blue, color);
in hifb_color2key()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/include/ |
H A D | drv_tde_type.h | 41 * and blue occupies four bits. Other formats may be deduced by 294 hi_tde_color_key_comp blue; /* <Blue component */ member
|
/device/qemu/riscv32_virt/liteos_m/board/driver/video/ |
H A D | fb.h | 403 uint8_t *blue; /* Table of 8-bit blue values */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | hifb.h | 103 b = hifb_rgb(&pVar->blue, color);
in hifb_color2key()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hifb.h | 108 b = hifb_rgb(&pVar->blue, color);
in hifb_color2key()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 1407 static void rockchip_vop_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, u16 blue, int regno) in rockchip_vop_crtc_fb_gamma_set() argument 1419 b = blue * (lut_len - 1) / 0xffff; in rockchip_vop_crtc_fb_gamma_set() 1423 static void rockchip_vop_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, int regno) in rockchip_vop_crtc_fb_gamma_get() argument 1438 *blue = b * 0xffff / (lut_len - 1); in rockchip_vop_crtc_fb_gamma_get() 1441 static int vop_crtc_legacy_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, uint32_t size, in vop_crtc_legacy_gamma_set() argument 1453 rockchip_vop_crtc_fb_gamma_set(crtc, red[i], green[i], blue[i], i); in vop_crtc_legacy_gamma_set() 1468 rockchip_vop_crtc_fb_gamma_set(crtc, lut[i].red, lut[i].green, lut[i].blue, i); in vop_crtc_atomic_gamma_set()
|
H A D | rockchip_drm_vop2.c | 2900 static void rockchip_vop2_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, u16 blue, int regno) in rockchip_vop2_crtc_fb_gamma_set() argument 2912 b = blue * (lut_len - 1) / 0xffff; in rockchip_vop2_crtc_fb_gamma_set() 2916 static void rockchip_vop2_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, int regno) in rockchip_vop2_crtc_fb_gamma_get() argument 2931 *blue = b * 0xffff / (lut_len - 1); in rockchip_vop2_crtc_fb_gamma_get() 2934 static int vop2_crtc_legacy_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, uint32_t size, in vop2_crtc_legacy_gamma_set() argument 2949 rockchip_vop2_crtc_fb_gamma_set(crtc, red[i], green[i], blue[i], i); in vop2_crtc_legacy_gamma_set() 2963 rockchip_vop2_crtc_fb_gamma_set(crtc, lut[i].red, lut[i].green, lut[i].blue, i); in vop2_crtc_atomic_gamma_set() 3006 (lut[0x2 * i].red & 0xfff) + ((lut[0x2 * i].green & 0xfff) << 0xc) + ((lut[0x2 * i].blue & 0xff) << 0x18); in vop2_crtc_atomic_cubic_lut_set() 3007 *cubic_lut_kvaddr++ = ((lut[0x2 * i].blue & 0xf00) >> 0x8) + ((lut[0x2 * i + 1].red & 0xfff) << 0x4) + in vop2_crtc_atomic_cubic_lut_set() 3008 ((lut[0x2 * i + 1].green & 0xfff) << 0x10) + ((lut[0x2 * i + 1].blue in vop2_crtc_atomic_cubic_lut_set() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 2891 u16 green, u16 blue, int regno) in rockchip_vop2_crtc_fb_gamma_set() 2902 b = blue * (lut_len - 1) / 0xffff; in rockchip_vop2_crtc_fb_gamma_set() 2907 u16 *green, u16 *blue, int regno) in rockchip_vop2_crtc_fb_gamma_get() 2921 *blue = b * 0xffff / (lut_len - 1); in rockchip_vop2_crtc_fb_gamma_get() 2925 u16 *green, u16 *blue, uint32_t size, in vop2_crtc_legacy_gamma_set() 2941 blue[i], i); in vop2_crtc_legacy_gamma_set() 2956 lut[i].blue, i); in vop2_crtc_atomic_gamma_set() 2999 ((lut[2 * i].blue & 0xff) << 24); in vop2_crtc_atomic_cubic_lut_set() 3000 *cubic_lut_kvaddr++ = ((lut[2 * i].blue & 0xf00) >> 8) + in vop2_crtc_atomic_cubic_lut_set() 3003 ((lut[2 * i + 1].blue in vop2_crtc_atomic_cubic_lut_set() 2890 rockchip_vop2_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, u16 blue, int regno) rockchip_vop2_crtc_fb_gamma_set() argument 2906 rockchip_vop2_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, int regno) rockchip_vop2_crtc_fb_gamma_get() argument 2924 vop2_crtc_legacy_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, uint32_t size, struct drm_modeset_acquire_ctx *ctx) vop2_crtc_legacy_gamma_set() argument [all...] |