/linux/Documentation/gpu/amdgpu/display/ |
H A D | display-manager.rst | 87 Blend Mode Properties 90 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: 117 * **None**: Blend formula that ignores the pixel alpha. 119 * **Pre-multiplied**: Blend formula that assumes the pixel color values in a 122 * **Coverage**: Blend formula that assumes the pixel color values were not 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. [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_blend.c | 142 * pixel blend mode: 143 * Pixel blend mode is set up with drm_plane_create_blend_mode_property(). 144 * It adds a blend mode for alpha blending equation selection, describing 151 * Blend formula that ignores the pixel alpha:: 157 * Blend formula that assumes the pixel color values 165 * Blend formula that assumes the pixel color values have not 543 * drm_plane_create_blend_mode_property - create a new blend mode property 550 * This creates a new property describing the blend mode. 553 * drm_property_create_enum()) called "pixel blend mode" and has the 557 * Blend formula that ignores the pixel alpha. [all …]
|
/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_composer.c | 30 * @pixel_count: The number of pixels to blend 180 * clamp_line_coordinates() - Compute and clamp the coordinate to read and write during the blend 190 * @dst_x_start: x coordinate to blend the read line 191 * @pixel_count: number of pixels to blend 207 /* Get the correct number of pixel to blend, it depends of the direction */ in clamp_line_coordinates() 252 * blend_line() - Blend a line from a plane to the output buffer 258 * @output_buffer: buffer to blend the read line into. 356 * blend - blend the pixels from all planes and compute crc 360 * @output_buffer: A buffer of a row that will receive the result of the blend(s) 361 * @stage_buffer: The line with the pixels from plane being blend to the output [all …]
|
/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dpu.c | 294 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() [all …]
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_brx.c | 3 * vsp1_brx.c -- R-Car VSP1 Blend ROP Unit (BRU and BRS) 318 * Blend/ROP unit B SRC input. Only needed for BRU, the BRS has no ROP in brx_configure_stream() 332 * Configure all Blend/ROP units corresponding to an enabled BRx in brx_configure_stream() 333 * input for alpha blending. Blend/ROP units corresponding to in brx_configure_stream() 348 * Select the virtual RPF as the Blend/ROP unit A DST input to in brx_configure_stream() 355 * Route inputs 0 to 3 as SRC inputs to Blend/ROP units A to D in brx_configure_stream() 356 * in that order. In the BRU the Blend/ROP unit B SRC is in brx_configure_stream()
|
H A D | vsp1_brx.h | 3 * vsp1_brx.h -- R-Car VSP1 Blend ROP Unit (BRU and BRS)
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-fbuf.rst | 289 - 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 =
|
H A D | dev-overlay.rst | 106 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/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wndwc37e.c | 105 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()
|
H A D | atom.h | 251 } blend; member 262 bool blend:1; member
|
/linux/fs/afs/ |
H A D | dir_search.c | 73 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()
|
H A D | dir_edit.c | 117 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/drivers/staging/media/av7110/ |
H A D | av7110_hw.c | 930 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/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mpc.h | 78 * enum mpcc_alpha_blend_mode - define the alpha blend mode regarding pixel 133 * @alpha_mode: alpha blend mode (MPCC_ALPHA_BLND_MODE). 145 * @global_gain: Used when blend mode considers both pixel alpha and plane. 162 * @bottom_gain_mode: Blend mode for bottom gain setting. 177 * @bottom_inside_gain: Blend mode for bottom inside. 182 * @bottom_outside_gain: Blend mode for bottom outside.
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mode.h | 409 * blending. Userspace set a blend LUT to convert colors after 3D LUT 418 * size of blend LUT as supported by the driver (read-only). 423 * transfer function for pre-blending blend/out_gamma (after applying 424 * 3D LUT) with or without LUT. There is no blend ROM, but we can use
|
/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.c | 144 * @blend: Register I/O base address for the blender 152 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/tools/perf/pmu-events/arch/x86/amdzen4/ |
H A D | floating-point.json | 185 "BriefDescription": "Retired scalar floating-point blend ops.", 251 "BriefDescription": "Retired vector floating-point blend ops.", 503 "BriefDescription": "Retired 128-bit packed floating-point blend ops.", 581 "BriefDescription": "Retired 256-bit packed floating-point blend ops.",
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_catalog.h | 91 * @DPU_MIXER_LAYER Layer mixer layer blend configuration, 339 * @max_mixer_blendstages max layer mixer blend stages or 389 * @maxblendstages: Max number of blend-stages supported 390 * @blendstage_base: Blend-stage register base offset
|
H A D | dpu_hw_util.h | 97 * @ blend_cfg: blend coefficients configuration 251 * @blend_cfg: Selection of blend coefficients
|
/linux/Documentation/devicetree/bindings/display/xlnx/ |
H A D | xlnx,zynqmp-dpsub.yaml | 56 - const: blend 191 reg-names = "dp", "blend", "av_buf", "aud";
|
/linux/Documentation/admin-guide/media/ |
H A D | si476x.rst | 42 crossed below the blend threshold 62 0x11 stblend Stereo blend in %
|
/linux/include/video/ |
H A D | newport.h | 64 #define NPORT_DMODE1_BENAB 0x00040000 /* Blend enable */ 79 #define NPORT_DMODE1_BBENAB 0x02000000 /* Back blend enable */ 81 #define NPORT_DMODE1_ABLEND 0x08000000 /* Alpha blend */
|
/linux/drivers/video/fbdev/kyro/ |
H A D | STG4000OverlayDevice.c | 129 /* Set Blend mode to Alpha Blend */ in ResetOverlayRegisters() 130 /* ????? SG 08/11/2001 Surely this isn't the alpha blend mode, in ResetOverlayRegisters()
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_ctl.h | 43 * mdp5_ctl_blend() - Blend multiple layers on a Layer Mixer (LM)
|
/linux/include/linux/mfd/ |
H A D | si476x-reports.h | 103 * below the blend threshold as set by FM_ACF_BLEND_THRESHOLD
|