Home
last modified time | relevance | path

Searched refs:blend (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c211 struct zynqmp_disp_blend blend; member
656 static void zynqmp_disp_blend_write(struct zynqmp_disp_blend *blend, in zynqmp_disp_blend_write() argument
659 writel(val, blend->base + reg); in zynqmp_disp_blend_write()
710 static void zynqmp_disp_blend_set_output_format(struct zynqmp_disp_blend *blend, in zynqmp_disp_blend_set_output_format() argument
726 zynqmp_disp_blend_write(blend, ZYNQMP_DISP_V_BLEND_OUTPUT_VID_FMT, fmt); in zynqmp_disp_blend_set_output_format()
736 zynqmp_disp_blend_write(blend, in zynqmp_disp_blend_set_output_format()
741 zynqmp_disp_blend_write(blend, in zynqmp_disp_blend_set_output_format()
757 static void zynqmp_disp_blend_set_bg_color(struct zynqmp_disp_blend *blend, in zynqmp_disp_blend_set_bg_color() argument
760 zynqmp_disp_blend_write(blend, ZYNQMP_DISP_V_BLEND_BG_CLR_0, rcr); in zynqmp_disp_blend_set_bg_color()
761 zynqmp_disp_blend_write(blend, ZYNQMP_DISP_V_BLEND_BG_CLR_1, gy); in zynqmp_disp_blend_set_bg_color()
[all …]
/drivers/gpu/drm/nouveau/dispnv50/
Dwndw.c163 if (asyw->set.blend) wndw->func->blend_set(wndw, asyw); in nv50_wndw_flush_set()
333 asyw->blend.depth = 255 - asyw->state.normalized_zpos; in nv50_wndw_atomic_check_acquire()
334 asyw->blend.k1 = asyw->state.alpha >> 8; in nv50_wndw_atomic_check_acquire()
337 asyw->blend.src_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_SRC_COLOR_FACTOR_MATCH_SELECT_K1; in nv50_wndw_atomic_check_acquire()
338 …asyw->blend.dst_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_DST_COLOR_FACTOR_MATCH_SELECT_NEG_K1_… in nv50_wndw_atomic_check_acquire()
341 …asyw->blend.src_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_SRC_COLOR_FACTOR_MATCH_SELECT_K1_TIME… in nv50_wndw_atomic_check_acquire()
342 …asyw->blend.dst_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_DST_COLOR_FACTOR_MATCH_SELECT_NEG_K1_… in nv50_wndw_atomic_check_acquire()
346 asyw->blend.src_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_SRC_COLOR_FACTOR_MATCH_SELECT_K1; in nv50_wndw_atomic_check_acquire()
347 … asyw->blend.dst_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_DST_COLOR_FACTOR_MATCH_SELECT_NEG_K1; in nv50_wndw_atomic_check_acquire()
350 if (memcmp(&armw->blend, &asyw->blend, sizeof(asyw->blend))) in nv50_wndw_atomic_check_acquire()
[all …]
Dwndwc37e.c110 NVVAL(NVC37E, SET_COMPOSITION_CONTROL, DEPTH, asyw->blend.depth), in wndwc37e_blend_set()
113 NVVAL(NVC37E, SET_COMPOSITION_CONSTANT_ALPHA, K1, asyw->blend.k1) | in wndwc37e_blend_set()
118 asyw->blend.src_color) | in wndwc37e_blend_set()
120 asyw->blend.src_color) | in wndwc37e_blend_set()
122 asyw->blend.dst_color) | in wndwc37e_blend_set()
124 asyw->blend.dst_color), in wndwc37e_blend_set()
Datom.h251 } blend; member
262 bool blend:1; member
/drivers/media/pci/ttpci/
Dav7110_hw.c945 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) in OSDSetColor() argument
952 yuv = blend ? RGB2YUV(r,g,b) : 0; in OSDSetColor()
959 color, ((blend >> 4) & 0x0f)); in OSDSetColor()
972 u32 color, blend, yuv; in OSDSetPalette() local
976 blend = (color & 0xF0000000) >> 4; in OSDSetPalette()
977 yuv = blend ? RGB2YUV(color & 0xFF, (color >> 8) & 0xFF, in OSDSetPalette()
978 (color >> 16) & 0xFF) | blend : 0; in OSDSetPalette()
1088 u8 r, g = 0, b = 0, blend = 0; in av7110_osd_cmd() local
1094 get_user(blend, colors + i * 4 + 3)) { in av7110_osd_cmd()
1098 ret = OSDSetColor(av7110, dc->color + i, r, g, b, blend); in av7110_osd_cmd()
/drivers/gpu/drm/vkms/
Dvkms_composer.c91 static void blend(void *vaddr_dst, void *vaddr_src, in blend() function
140 blend(vaddr_out, cursor_vkms_obj->vaddr, in compose_cursor()
/drivers/media/platform/davinci/
Dvpbe_osd.c282 enum osd_blending_factor blend) in _osd_set_blending_factor() argument
287 blend << OSD_OSDWIN0MD_BLND0_SHIFT, OSD_OSDWIN0MD); in _osd_set_blending_factor()
291 blend << OSD_OSDWIN1MD_BLND1_SHIFT, OSD_OSDWIN1MD); in _osd_set_blending_factor()
1273 osdwin_state->blend); in osd_set_layer_config()
1403 osdwin_state->blend = OSD_8_VID_0; in osd_init_layer()
1404 _osd_set_blending_factor(sd, osdwin, osdwin_state->blend); in osd_init_layer()
/drivers/gpu/drm/tidss/
Dtidss_dispc.h35 } blend; member
/drivers/gpu/drm/qxl/
Dqxl_dev.h693 struct qxl_copy blend; member
722 struct qxl_copy blend; member
/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c582 u8 blend = cin->pixel_blend_mode; in compiz_enable_input() local
584 if (blend == DRM_MODE_BLEND_PIXEL_NONE) in compiz_enable_input()
586 else if (blend == DRM_MODE_BLEND_PREMULTI) in compiz_enable_input()
/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c253 bool blend = dev->bitmap_out || dev->clipcount_out || dev->fbuf_out_flags; in vivid_copy_buffer() local
366 if (blend) in vivid_copy_buffer()