Home
last modified time | relevance | path

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

12

/linux-6.14.4/Documentation/gpu/amdgpu/display/
Ddisplay-manager.rst90 Pixel blend mode is a DRM plane composition property of :c:type:`drm_plane` used to
92 background plane (bg). Here, we present main concepts of DRM blend mode to help
97 Basically, a blend mode sets the alpha blending equation for plane
115 DRM has three blend mode to define the blend formula in the plane composition:
125 and pre-multiplied is the default pixel blend mode, that means, when no blend
128 provides a set of subtests to verify plane alpha and blend mode properties.
130 The DRM blend mode and its elements are then mapped by AMDGPU display manager
141 multiplied (true/false), being only true for DRM pre-multiplied blend mode.
142 :c:type:`mpcc_alpha_blend_mode` defines the alpha blend mode regarding pixel
150 blend formula, as follows:
[all …]
Ddcn-overview.rst21 * **Display Pipe and Plane (DPP)**: This block provides pre-blend pixel
104 is to change, blend and compose pixel data, while BE's job is to frame a
/linux-6.14.4/drivers/gpu/drm/sprd/
Dsprd_dpu.c294 u32 blend = 0; in drm_blend_to_dpu() local
299 blend |= BIT_DPU_LAY_COMBO_ALPHA; in drm_blend_to_dpu()
301 blend |= BIT_DPU_LAY_MODE_BLEND_NORMAL; in drm_blend_to_dpu()
305 blend |= BIT_DPU_LAY_COMBO_ALPHA; in drm_blend_to_dpu()
307 blend |= BIT_DPU_LAY_MODE_BLEND_PREMULT; in drm_blend_to_dpu()
313 blend |= BIT_DPU_LAY_LAYER_ALPHA; in drm_blend_to_dpu()
317 return blend; in drm_blend_to_dpu()
325 u32 addr, size, offset, pitch, blend, format, rotation; in sprd_dpu_layer() local
367 blend = drm_blend_to_dpu(state); in sprd_dpu_layer()
372 blend | in sprd_dpu_layer()
/linux-6.14.4/drivers/gpu/drm/nouveau/dispnv50/
Dwndw.c172 if (asyw->set.blend) wndw->func->blend_set(wndw, asyw); in nv50_wndw_flush_set()
342 asyw->blend.depth = 255 - asyw->state.normalized_zpos; in nv50_wndw_atomic_check_acquire()
343 asyw->blend.k1 = asyw->state.alpha >> 8; 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 …asyw->blend.src_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_SRC_COLOR_FACTOR_MATCH_SELECT_K1_TIME… in nv50_wndw_atomic_check_acquire()
351 …asyw->blend.dst_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_DST_COLOR_FACTOR_MATCH_SELECT_NEG_K1_… in nv50_wndw_atomic_check_acquire()
355 asyw->blend.src_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_SRC_COLOR_FACTOR_MATCH_SELECT_K1; in nv50_wndw_atomic_check_acquire()
356 … asyw->blend.dst_color = NVC37E_SET_COMPOSITION_FACTOR_SELECT_DST_COLOR_FACTOR_MATCH_SELECT_NEG_K1; in nv50_wndw_atomic_check_acquire()
359 if (memcmp(&armw->blend, &asyw->blend, sizeof(asyw->blend))) in nv50_wndw_atomic_check_acquire()
[all …]
Dwndwc37e.c105 NVVAL(NVC37E, SET_COMPOSITION_CONTROL, DEPTH, asyw->blend.depth), in wndwc37e_blend_set()
108 NVVAL(NVC37E, SET_COMPOSITION_CONSTANT_ALPHA, K1, asyw->blend.k1) | in wndwc37e_blend_set()
113 asyw->blend.src_color) | in wndwc37e_blend_set()
115 asyw->blend.src_color) | in wndwc37e_blend_set()
117 asyw->blend.dst_color) | in wndwc37e_blend_set()
119 asyw->blend.dst_color), in wndwc37e_blend_set()
Datom.h251 } blend; member
262 bool blend:1; member
/linux-6.14.4/fs/afs/
Ddir_search.c73 size_t blend = (block + 1) * AFS_DIR_BLOCK_SIZE, fpos = iter->fpos; in afs_dir_find_block() local
83 if (dvnode->directory_size < blend) in afs_dir_find_block()
97 if (blend <= fpos + fsize) { in afs_dir_find_block()
Ddir_edit.c117 size_t blend = (block + 1) * AFS_DIR_BLOCK_SIZE, fpos = iter->fpos; in afs_dir_get_block() local
120 if (dvnode->directory_size < blend) { in afs_dir_get_block()
124 NULL, &dvnode->directory, &cur_size, blend, in afs_dir_get_block()
140 if (blend <= fpos + fsize) { in afs_dir_get_block()
/linux-6.14.4/drivers/staging/media/av7110/
Dav7110_hw.c930 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) in OSDSetColor() argument
937 yuv = blend ? RGB2YUV(r, g, b) : 0; in OSDSetColor()
944 color, ((blend >> 4) & 0x0f)); in OSDSetColor()
957 u32 color, blend, yuv; in OSDSetPalette() local
961 blend = (color & 0xF0000000) >> 4; in OSDSetPalette()
962 yuv = blend ? RGB2YUV(color & 0xFF, (color >> 8) & 0xFF, in OSDSetPalette()
963 (color >> 16) & 0xFF) | blend : 0; in OSDSetPalette()
1074 u8 r, g = 0, b = 0, blend = 0; in av7110_osd_cmd() local
1081 get_user(blend, colors + i * 4 + 3)) { in av7110_osd_cmd()
1085 ret = OSDSetColor(av7110, dc->color + i, r, g, b, blend); in av7110_osd_cmd()
/linux-6.14.4/Documentation/userspace-api/media/v4l/
Dvidioc-g-fbuf.rst289 - Use the alpha channel of the framebuffer to clip or blend
290 framebuffer pixels with video images. The blend function is:
295 - Use a global alpha value to blend the framebuffer with video
296 images. The blend function is: output = (framebuffer pixel * alpha
305 framebuffer to clip or blend framebuffer pixels with video images,
306 but with an inverted alpha value. The blend function is: output =
Ddev-overlay.rst106 blend the framebuffer with the video.
108 5. A global alpha value can be specified to blend the framebuffer
245 The global alpha value used to blend the framebuffer with video
/linux-6.14.4/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c152 void __iomem *blend; member
646 writel(val, disp->blend + reg); in zynqmp_disp_blend_write()
1370 disp->blend = devm_platform_ioremap_resource_byname(pdev, "blend"); in zynqmp_disp_probe()
1371 if (IS_ERR(disp->blend)) { in zynqmp_disp_probe()
1372 ret = PTR_ERR(disp->blend); in zynqmp_disp_probe()
/linux-6.14.4/Documentation/admin-guide/media/
Dsi476x.rst42 crossed below the blend threshold
62 0x11 stblend Stereo blend in %
/linux-6.14.4/drivers/gpu/drm/tidss/
Dtidss_dispc.h35 } blend; member
/linux-6.14.4/drivers/gpu/drm/vkms/
Dvkms_composer.c368 static void blend(struct vkms_writeback_job *wb, in blend() function
472 blend(active_wb, crtc_state, crc32, &stage_buffer, in compose_active_planes()
/linux-6.14.4/drivers/gpu/drm/qxl/
Dqxl_dev.h693 struct qxl_copy blend; member
722 struct qxl_copy blend; member
/linux-6.14.4/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-comp.h210 struct mdp_comp_blend blend; member
Dmtk-mdp3-cmdq.c182 b = &data->comp_data[id].blend; in mdp_path_subfrm_require()
Dmtk-mdp3-comp.c1637 b = &m->mdp_data->comp_data[id].blend; in mdp_comp_clocks_on()
1665 b = &m->mdp_data->comp_data[id].blend; in mdp_comp_clocks_off()
/linux-6.14.4/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c584 u8 blend = cin->pixel_blend_mode; in compiz_enable_input() local
586 if (blend == DRM_MODE_BLEND_PIXEL_NONE) in compiz_enable_input()
588 else if (blend == DRM_MODE_BLEND_PREMULTI) in compiz_enable_input()
/linux-6.14.4/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c234 bool blend = out_dev->fbuf_out_flags; in vivid_copy_buffer() local
347 if (blend) in vivid_copy_buffer()
/linux-6.14.4/Documentation/gpu/
Dvkms.rst181 - Optimize CRC computation ``compute_crc()`` and plane blending ``blend()``
/linux-6.14.4/sound/pci/asihpi/
Dhpi.h1456 u16 hpi_tuner_set_hd_radio_signal_blend(u32 h_control, const u32 blend);
Dhpi_internal.h846 u32 blend; member
Dhpifunc.c2677 u16 hpi_tuner_set_hd_radio_signal_blend(u32 h_control, const u32 blend) in hpi_tuner_set_hd_radio_signal_blend() argument
2680 blend, 0); in hpi_tuner_set_hd_radio_signal_blend()

12