Home
last modified time | relevance | path

Searched refs:red (Results 1 - 20 of 20) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_color_mgmt.c293 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl()
357 if (copy_to_user((void __user *)(unsigned long)crtc_lut->red, r_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.c3537 * @red: red 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
3574 blob_data[i].red = red[i]; in drm_atomic_helper_legacy_gamma_set()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
H A DTree.h69 unsigned int red : 1; member
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
H A Dframebuffer_allocator.cpp38 varInfo.red.length = 8; // 8 bits in SetFdFormatAndVirtualRes()
43 varInfo.red.offset = 0; // offset 16 of red 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,
459 .red = {10, 5, 0},
481 .red = {10, 5, 0},
503 .red = {10, 5, 0},
525 .red = {10, 5, 0},
679 .red = {11, 5, 0},
686 .red = {16, 8, 0},
693 .red = {8, 4, 0},
700 .red = {10, 5, 0},
707 .red
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.h218 struct fb_bitfield red; /* bitfield in fb mem if true color, */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/
H A Dhifb_blit.c378 option->color_key_value.argb_color_key.red.component_max = opt->ckey.red_max; in drv_blit_option_init()
379 option->color_key_value.argb_color_key.red.component_min = opt->ckey.red_min; in drv_blit_option_init()
380 option->color_key_value.argb_color_key.red.is_component_out = opt->ckey.key_mode; in drv_blit_option_init()
381 option->color_key_value.argb_color_key.red.component_mask = 0xff; /* 0xff mask */ in drv_blit_option_init()
H A Dhifb_vou_drv.c346 r = (key >> var->red.offset) << (8 - var->red.length); /* 8 flip data */ in hifb_drv_color_convert()
350 r_mask = (0xff >> var->red.length); /* 0xff bit */ in hifb_drv_color_convert()
/device/soc/rockchip/rk3588/hardware/rga/include/
H A Dim2d_type.h287 uint8_t red; member
H A Drga.h358 uint8_t red; 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);
2001 hi_tde_color_key_comp red = color_key->color_key_value.argb_color_key.red; 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()
2013 hw_node->cbmkeypara.bits.keyrmode = tde_hal_get_color_key_mode(&red); 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.h126 r = hifb_rgb(&pVar->red, 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,
292 hi_tde_color_key_comp red; /* <Red component */ member
/device/qemu/riscv32_virt/liteos_m/board/driver/video/
H A Dfb.h401 uint8_t *red; /* Table of 8-bit red values */ member
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhifb.h101 r = hifb_rgb(&pVar->red, color); in hifb_color2key()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhifb.h106 r = hifb_rgb(&pVar->red, 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
1417 r = red * (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
1436 *red = r * 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
2910 r = red * (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
2929 *red = r * 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()
3015 (lut[0x2 * i].red in vop2_crtc_atomic_cubic_lut_set()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c2890 static void rockchip_vop2_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, in rockchip_vop2_crtc_fb_gamma_set() argument
2900 r = red * (lut_len - 1) / 0xffff; in rockchip_vop2_crtc_fb_gamma_set()
2906 static void rockchip_vop2_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, in rockchip_vop2_crtc_fb_gamma_get() argument
2919 *red = r * 0xffff / (lut_len - 1); in rockchip_vop2_crtc_fb_gamma_get()
2924 static int vop2_crtc_legacy_gamma_set(struct drm_crtc *crtc, u16 *red, in vop2_crtc_legacy_gamma_set() argument
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()
2997 *cubic_lut_kvaddr++ = (lut[2 * i].red & 0xfff) + in vop2_crtc_atomic_cubic_lut_set()
3001 ((lut[2 * i + 1].red & 0xfff) << 4) + in vop2_crtc_atomic_cubic_lut_set()
3009 *cubic_lut_kvaddr++ = (lut[2 * i].red in vop2_crtc_atomic_cubic_lut_set()
[all...]
/device/soc/hisilicon/common/hal/middleware/ffmpeg_adapt/
H A Dconfigure_llvm6940 test_cc -mno-red-zone <<EOF && noredzone_flags="-mno-red-zone"

Completed in 65 milliseconds