Home
last modified time | relevance | path

Searched full:alpha (Results 1 – 25 of 911) sorted by relevance

12345678910>>...37

/linux/Documentation/gpu/amdgpu/display/
H A Ddisplay-manager.rst94 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.
[all …]
H A Dmpo-overview.rst81 * Only overlay planes have alpha blending support
140 (i.e., set the alpha to zero). The primary plane video will be visible through
153 (i.e., set the alpha to zero). The primary plane videos will be visible through
169 - ``kms_plane_alpha_blend@pipe-*-alpha-basic``
170 - ``kms_plane_alpha_blend@pipe-*-alpha-transparant-fb``
171 - ``kms_plane_alpha_blend@pipe-*-alpha-opaque-fb``
172 - ``kms_plane_alpha_blend@pipe-*-constant-alpha-min``
173 - ``kms_plane_alpha_blend@pipe-*-constant-alpha-mid``
174 - ``kms_plane_alpha_blend@pipe-*-constant-alpha-max``
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rpf.c171 * On Gen2 use the alpha channel (extended to 8 bits) when available or in rpf_configure_stream()
172 * a fixed alpha value set through the V4L2_CID_ALPHA_COMPONENT control in rpf_configure_stream()
175 * The Gen3+ RPF has extended alpha capability and can both multiply the in rpf_configure_stream()
176 * alpha channel by a fixed global alpha value, and multiply the pixel in rpf_configure_stream()
177 * components to convert the input to premultiplied alpha. in rpf_configure_stream()
179 * As alpha premultiplication is available in the BRx for both Gen2 and in rpf_configure_stream()
180 * Gen3+ we handle it there and use the Gen3 alpha multiplier for global in rpf_configure_stream()
181 * alpha multiplication only. This however prevents conversion to in rpf_configure_stream()
182 * premultiplied alpha if no BRx is present in the pipeline. If that use in rpf_configure_stream()
186 * We enable alpha multiplication on Gen3+ using the fixed alpha value in rpf_configure_stream()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-fbuf.rst227 - The device supports clipping/blending using the alpha channel of
228 the framebuffer or VGA signal. Alpha blending makes no sense for
232 - The device supports alpha blending using a global alpha value.
233 Alpha blending makes no sense for destructive overlays.
236 - The device supports clipping/blending using the inverted alpha
237 channel of the framebuffer or VGA signal. Alpha blending makes no
289 - Use the alpha channel of the framebuffer to clip or blend
291 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
292 The actual alpha depth depends on the framebuffer pixel format.
295 - Use a global alpha value to blend the framebuffer with video
[all …]
H A Dpixfmt-rgb.rst17 presence of an alpha component or additional padding bits.
19 The usage and value of the alpha bits in formats that support them (named ARGB
20 or a permutation thereof, collectively referred to as alpha formats) depend on
22 (including capture queues of mem-to-mem devices) fill the alpha component in
23 memory. When the device captures an alpha channel the alpha component will have
24 a meaningful value. Otherwise, when the device doesn't capture an alpha channel
25 but can set the alpha bit to a user-configurable value, the
26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to
27 specify that alpha value, and the alpha component of all pixels will be set to
29 an alpha component (XRGB or XBGR) must be used instead of an alpha format.
[all …]
/linux/arch/alpha/
H A DMakefile2 # alpha/Makefile
35 libs-y += arch/alpha/lib/
37 # export what is needed by arch/alpha/boot/Makefile
41 boot := arch/alpha/boot
53 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all
56 echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)'
57 echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)'
58 echo ' bootpfile - BOOTP bootable image (arch/alpha/boot/bootpfile)'
59 echo ' bootpzfile - compressed kernel BOOTP image (arch/alpha/boot/bootpzfile)'
H A DKconfig2 config ALPHA config
43 The Alpha is a 64-bit general-purpose processor designed and
45 now Hewlett-Packard. The Alpha Linux project has a home page at
81 prompt "Alpha system type"
85 run on any supported Alpha system. However, if you configure a
88 To find out what type of Alpha system you have, you may want to
89 check out the Linux/Alpha FAQ, accessible on the WWW from
92 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
116 A generic kernel will run on all supported Alpha hardware.
119 bool "Alcor/Alpha-XLT"
[all …]
/linux/net/ipv4/
H A Dtcp_illinois.c50 u32 alpha; /* Additive increase */ member
73 ca->alpha = ALPHA_MAX; in tcp_illinois_init()
97 /* ignore bogus values, this prevents wraparound in alpha math */ in tcp_illinois_acked()
129 * Compute value of alpha used for additive increase.
134 * then use large alpha (10.0) to increase faster.
136 * then use small alpha (0.3)
140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() function
149 /* Wait for 5 good RTT's before allowing alpha to go alpha max. in alpha()
153 return ca->alpha; in alpha()
174 * alpha = ---------- in alpha()
[all …]
H A Dtcp_dctcp.c77 MODULE_PARM_DESC(dctcp_alpha_on_init, "parameter for initial alpha value");
136 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha()
152 /* alpha = (1 - g) * alpha + g * F */ in dctcp_update_alpha()
154 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
163 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_react_to_loss()
169 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_react_to_loss()
125 u32 alpha = ca->dctcp_alpha; dctcp_update_alpha() local
[all...]
H A Dtcp_htcp.c27 u32 alpha; /* Fixed point arith, << 7 */ member
127 if (ca->packetcount >= tcp_snd_cwnd(tp) - (ca->alpha >> 7 ? : 1) && in measure_achieved_throughput()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
195 if (!ca->alpha) in htcp_alpha_update()
196 ca->alpha = ALPHA_BASE; in htcp_alpha_update()
243 * In theory this is tp->snd_cwnd += alpha / tp->snd_cwnd in htcp_cong_avoid()
245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tcp_snd_cwnd(tp)) { in htcp_cong_avoid()
262 ca->alpha = ALPHA_BASE; in htcp_init()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c16 /* Maximum value for alpha on ISP interface */
65 * Compute an alpha value for the ISP kernel from sigma value on the host
71 s32 alpha; in compute_alpha() local
75 alpha = XNR_MAX_ALPHA; in compute_alpha()
77 alpha = ((IA_CSS_XNR3_SIGMA_SCALE * XNR_ALPHA_SCALE_FACTOR) + offset) / sigma; in compute_alpha()
79 if (alpha > XNR_MAX_ALPHA) in compute_alpha()
80 alpha = XNR_MAX_ALPHA; in compute_alpha()
83 return alpha; in compute_alpha()
158 /* alpha's are represented in qN.5 format */ in ia_css_xnr3_encode()
159 to->alpha.y0 = alpha_y0; in ia_css_xnr3_encode()
[all …]
/linux/Documentation/devicetree/bindings/iio/afe/
H A Dtemperature-sense-rtd.yaml24 R(T) = r0 * (1 + alpha * T)
25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc)
62 alpha-ppm-per-celsius:
64 alpha can also be expressed in micro-ohms per ohm Celsius. It's a linear
68 alpha = (R_100 - R_0) / (100 * R_0)
74 Pure platinum has an alpha of 3925. Industry standards such as IEC60751
75 and ASTM E-1137 specify an alpha of 3850.
87 - alpha-ppm-per-celsius
98 alpha-ppm-per-celsius = <3908>;
H A Dtemperature-transducer.yaml26 T = (Isense(T) / alpha) + offset
27 T = 1 / (Rsense * alpha) * (V + offset * Rsense * alpha)
78 alpha-ppm-per-celsius:
82 alpha is expressed in parts per million which can be micro-amps per
92 - alpha-ppm-per-celsius
103 alpha-ppm-per-celsius = <1>; /* 1 uA/K */
112 alpha-ppm-per-celsius = <4000>; /* 4 mV/K */
/linux/drivers/gpu/drm/
H A Ddrm_blend.c94 * alpha:
95 * Alpha is setup with drm_plane_create_alpha_property(). It controls the
97 * combined with pixel alpha.
99 * pre-multiplied by the global alpha associated to the plane.
144 * It adds a blend mode for alpha blending equation selection, describing
148 * Three alpha blending equations are defined:
151 * Blend formula that ignores the pixel alpha::
158 * have been already pre-multiplied with the alpha
162 * (1 - (plane_alpha * fg.alpha)) * bg.rgb
169 * out.rgb = plane_alpha * fg.alpha * fg.rgb +
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dxylon,logicvc-display.yaml145 xylon,layer-alpha-mode:
147 # Alpha is configured layer-wide (C_LAYER_X_ALPHA_MODE == 0)
149 # Alpha is configured per-pixel (C_LAYER_X_ALPHA_MODE == 1)
151 description: Alpha mode for the layer (C_LAYER_X_ALPHA_MODE).
177 - xylon,layer-alpha-mode
248 xylon,layer-alpha-mode = "layer";
258 xylon,layer-alpha-mode = "layer";
267 xylon,layer-alpha-mode = "layer";
276 xylon,layer-alpha-mode = "layer";
285 xylon,layer-alpha-mode = "layer";
/linux/drivers/accessibility/speakup/
H A Dmain.c205 PUNC, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* `abcdefg */
206 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* hijklmno */
207 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* pqrstuvw */
208 ALPHA, ALPHA, ALPHA, PUNC, PUNC, PUNC, PUNC, 0, /* xyz{|}~ */
225 A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, A_CAP, ALPHA, /* 216-223 */
226 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* 224-231 */
227 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, /* 232-239 */
228 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, B_SYM, /* 240-247 */
229 ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA, ALPHA /* 248-255 */
1098 char_type = ALPHA; in spkup_write()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c133 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() local
135 /* alpha = (1 - g) * alpha + g * F */ in BPF_PROG()
137 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG()
147 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in BPF_PROG()
149 ca->dctcp_alpha = alpha; in BPF_PROG()
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c41 * What we call depth in this driver only counts color components, not alpha.
64 .alpha = true,
189 /* Layer alpha */ in logicvc_plane_atomic_update()
194 u32 alpha; in logicvc_plane_atomic_update() local
213 alpha = new_state->alpha * alpha_max / DRM_BLEND_ALPHA_OPAQUE; in logicvc_plane_atomic_update()
215 drm_dbg_kms(drm_dev, "Setting layer %d alpha to %d/%d\n", index, in logicvc_plane_atomic_update()
216 alpha, alpha_max); in logicvc_plane_atomic_update()
219 alpha); in logicvc_plane_atomic_update()
355 bool alpha; in logicvc_layer_formats_lookup() local
358 alpha = (layer->config.alpha_mode == LOGICVC_LAYER_ALPHA_PIXEL); in logicvc_layer_formats_lookup()
[all …]
/linux/tools/arch/alpha/include/uapi/asm/
H A Dmman.h38 /* MADV_HWPOISON is undefined on alpha, fix it for perf */
40 /* MADV_SOFT_OFFLINE is undefined on alpha, fix it for perf */
42 /* MAP_32BIT is undefined on alpha, fix it for perf */
44 /* MAP_UNINITIALIZED is undefined on alpha, fix it for perf */
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c2326 static bool is_opaque(u16 alpha) in is_opaque() argument
2328 return (alpha >> 8) == 0xff; in is_opaque()
2332 struct vop2_alpha *alpha) in vop2_parse_alpha() argument
2341 alpha->src_color_ctrl.val = 0; in vop2_parse_alpha()
2342 alpha->dst_color_ctrl.val = 0; in vop2_parse_alpha()
2343 alpha->src_alpha_ctrl.val = 0; in vop2_parse_alpha()
2344 alpha->dst_alpha_ctrl.val = 0; in vop2_parse_alpha()
2347 alpha->src_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha()
2349 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha()
2351 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX_GLOBAL; in vop2_parse_alpha()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmpc.h30 * that performs blending of multiple planes, using global and per-pixel alpha.
47 * - Alpha blending of multiple layers from different DPP pipes;
78 * enum mpcc_alpha_blend_mode - define the alpha blend mode regarding pixel
79 * alpha and plane alpha values
83 * @MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA: per pixel alpha using DPP
84 * alpha value
89 * pixel alpha using DPP alpha value multiplied by a global gain (plane
90 * alpha)
94 * @MPCC_ALPHA_BLEND_MODE_GLOBAL_ALPHA: global alpha value, ignores
95 * pixel alpha and consider only plane alpha
[all …]
/linux/arch/alpha/lib/
H A Dev67-strlen.S3 * arch/alpha/lib/ev67-strlen.S
4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com>
7 * Alpha architecture:
13 * Compiler Writer's Guide for the Alpha 21264
/linux/tools/testing/kunit/qemu_configs/
H A Dalpha.py3 QEMU_ARCH = QemuArchParams(linux_arch='alpha',
7 qemu_arch='alpha',
8 kernel_path='arch/alpha/boot/vmlinux',
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_backend.c38 /* alpha at the lowest z position is not always supported */
264 val = SUN4I_BACKEND_ATTCTL_REG0_LAY_GLBALPHA(state->alpha >> 8); in sun4i_backend_update_layer_formats()
265 if (state->alpha != DRM_BLEND_ALPHA_OPAQUE) in sun4i_backend_update_layer_formats()
426 * support for an alpha component (which the frontend doesn't support). in sun4i_backend_plane_uses_frontend()
514 if (fb->format->has_alpha || (plane_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) in sun4i_backend_atomic_check()
541 * The second step is the actual alpha blending, that takes in sun4i_backend_atomic_check()
542 * the two pipes as input, and uses the potential alpha in sun4i_backend_atomic_check()
546 * robust alpha blending between the 4 layers in all in sun4i_backend_atomic_check()
548 * with alpha at the lowest position of our two pipes. in sun4i_backend_atomic_check()
552 * pipe (pipe 0, priority 0), if it has any alpha, will in sun4i_backend_atomic_check()
[all …]
/linux/samples/ftrace/
H A Dsample-trace-array.h30 * TRACE_SYSTEM is expected to be a C valid variable (alpha-numeric
38 * But the above is only needed if TRACE_SYSTEM is not alpha-numeric
40 * TRACE_SYSTEM. As TRACE_SYSTEM_VAR must be alpha-numeric, if
42 * only alpha-numeric and underscores.

12345678910>>...37