• Home
  • Raw
  • Download

Lines Matching full:alpha

94 this DRM property and the alpha blending equations in :ref:`DRM Plane
97 Basically, a blend mode sets the alpha blending equation for plane
98 composition that fits the mode in which the alpha channel affects the state of
100 example, consider the following elements of the alpha blending equation:
103 - *fg.alpha*: Alpha component value from the foreground's pixel.
105 - *plane_alpha*: Plane alpha value set by the **plane "alpha" property**, see
108 in the basic alpha blending equation::
110 out.rgb = alpha * fg.rgb + (1 - alpha) * bg.rgb
112 the alpha channel value of each pixel in a plane is ignored and only the plane
113 alpha affects the resulted pixel color values.
117 * **None**: Blend formula that ignores the pixel alpha.
120 plane was already pre-multiplied by its own alpha channel before storage.
123 pre-multiplied with the alpha channel values.
128 provides a set of subtests to verify plane alpha and blend mode properties.
142 :c:type:`pre_multiplied_alpha` is the alpha pre-multiplied mode flag used to
143 set :c:type:`MPCC_ALPHA_MULTIPLIED_MODE`. It controls whether alpha is
145 :c:type:`mpcc_alpha_blend_mode` defines the alpha blend mode regarding pixel
146 alpha and plane alpha values. It sets one of the three modes for
155 * *MPC pixel alpha* matches *DRM fg.alpha* as the alpha component value
157 * *MPC global alpha* matches *DRM plane_alpha* when the pixel alpha should
159 * *MPC global gain* assumes *MPC global alpha* value when both *DRM
160 fg.alpha* and *DRM plane_alpha* participate in the blend equation
162 In short, *fg.alpha* is ignored by selecting
164 fg.alpha) component becomes available by selecting
167 pre-multiplied by alpha or not.
172 The alpha blending equation is configured from DRM to DC interface by the