Home
last modified time | relevance | path

Searched refs:green (Results 1 - 18 of 18) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_color_mgmt.c299 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
363 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_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()
529 if (entry[i].red < entry[i - 1].red || entry[i].green < entry[i - 1].green || in drm_color_lut_check()
H A Ddrm_atomic_helper.c3538 * @green: green correction table
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
3575 blob_data[i].green = green[i]; in drm_atomic_helper_legacy_gamma_set()
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
H A Dframebuffer_allocator.cpp39 varInfo.green.length = 8; // 8 bits in SetFdFormatAndVirtualRes()
44 varInfo.green.offset = 8; // offset 8 of green channel in SetFdFormatAndVirtualRes()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/
H A Dhifb_main.c141 static HIFB_COLOR_FMT_E hifb_getfmtbyargb(struct fb_bitfield *red, struct fb_bitfield *green, struct fb_bitfield *blue,
460 .green = {5, 5, 0},
482 .green = {5, 5, 0},
504 .green = {5, 5, 0},
526 .green = {5, 5, 0},
680 .green = {5, 6, 0},
687 .green = {8, 8, 0},
694 .green = {4, 4, 0},
701 .green = {5, 5, 0},
708 .green
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 Dhifb_main.h219 struct fb_bitfield green; /* else only length is significant */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/
H A Dhifb_blit.c382 option->color_key_value.argb_color_key.green.component_max = opt->ckey.green_max; in drv_blit_option_init()
383 option->color_key_value.argb_color_key.green.component_min = opt->ckey.green_min; in drv_blit_option_init()
384 option->color_key_value.argb_color_key.green.is_component_out = opt->ckey.key_mode; in drv_blit_option_init()
385 option->color_key_value.argb_color_key.green.component_mask = 0xff; /* 0xff mask */ in drv_blit_option_init()
H A Dhifb_vou_drv.c347 g = (key >> var->green.offset) << (8 - var->green.length); /* 8 flip data */ in hifb_drv_color_convert()
351 g_mask = (0xff >> var->green.length); /* 0xff bit */ in hifb_drv_color_convert()
/device/soc/rockchip/rk3588/hardware/rga/include/
H A Dim2d_type.h288 uint8_t green; member
H A Drga.h359 uint8_t green; member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/
H A Dtde_hal_k.c141 static hi_u32 tde_hal_get_argb_key_mask(hi_u8 blue, hi_u8 green, hi_u8 red, hi_u8 alpha);
2000 hi_tde_color_key_comp green = color_key->color_key_value.argb_color_key.green; 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()
2012 hw_node->cbmkeypara.bits.keygmode = tde_hal_get_color_key_mode(&green); 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 Dhifb.h127 g = hifb_rgb(&pVar->green, color); in hifb_color2key()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/include/
H A Ddrv_tde_type.h40 * red occupies four bits, green occupies four bits,
293 hi_tde_color_key_comp green; /* <Green component */ member
/device/qemu/riscv32_virt/liteos_m/board/driver/video/
H A Dfb.h402 uint8_t *green; /* Table of 8-bit green values */ member
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhifb.h102 g = hifb_rgb(&pVar->green, color); in hifb_color2key()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhifb.h107 g = hifb_rgb(&pVar->green, color); in hifb_color2key()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c1407 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
1418 g = green * (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
1437 *green = g * 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 Drockchip_drm_vop2.c2900 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
2911 g = green * (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
2930 *green = g * 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()
3008 ((lut[0x2 * i + 1].green & 0xfff) << 0x10) + ((lut[0x2 * i + 1].blue & 0xf) << 0x1c); in vop2_crtc_atomic_cubic_lut_set()
3015 (lut[0x2 * i].red & 0xfff) + ((lut[0x2 * i].green in vop2_crtc_atomic_cubic_lut_set()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c2891 u16 green, u16 blue, int regno) in rockchip_vop2_crtc_fb_gamma_set()
2901 g = green * (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()
2920 *green = g * 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()
2940 rockchip_vop2_crtc_fb_gamma_set(crtc, red[i], green[i], in vop2_crtc_legacy_gamma_set()
2955 rockchip_vop2_crtc_fb_gamma_set(crtc, lut[i].red, lut[i].green, in vop2_crtc_atomic_gamma_set()
2998 ((lut[2 * i].green & 0xfff) << 12) + in vop2_crtc_atomic_cubic_lut_set()
3002 ((lut[2 * i + 1].green & 0xfff) << 16) + in vop2_crtc_atomic_cubic_lut_set()
3010 ((lut[2 * i].green 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...]

Completed in 48 milliseconds