diff options
| author | Sven Püschel <s.pueschel@pengutronix.de> | 2026-05-21 01:44:09 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-05-21 13:32:18 +0300 |
| commit | 84fbe791a6203e35a602f7fef94d967466cd8d29 (patch) | |
| tree | df2a879628c803953b73d8c6716af8899c057dd2 /include/linux | |
| parent | e623f2b7397079005e940d101b80796b3c39d229 (diff) | |
| download | linux-84fbe791a6203e35a602f7fef94d967466cd8d29.tar.xz | |
media: v4l2-common: add has_alpha to v4l2_format_info
Add a has_alpha value to the v4l2_format_info struct to indicate if the
format contains an alpha component. This information can currently not
be queried in a generic way, but might be useful for potential drivers
to properly setup alpha blending to copy or set the alpha value.
The implementation is based on the drm_format_info implementation.
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
