diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-03-16 21:48:30 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-04-26 10:09:22 +0100 |
commit | c01ece4cbbb47947a6ad31933960b51e5e4c56a7 (patch) | |
tree | fa9be7bc9e07700c5b5706f426b6a81307c32e2f /scripts/basic | |
parent | 8c40fa0bf74f61d9f007f5e4f11354c5d6269a7c (diff) | |
download | linux-c01ece4cbbb47947a6ad31933960b51e5e4c56a7.tar.gz linux-c01ece4cbbb47947a6ad31933960b51e5e4c56a7.tar.bz2 linux-c01ece4cbbb47947a6ad31933960b51e5e4c56a7.zip |
media: atomisp: Replace V4L2_PIX_FMT_RGB32 with V4L2_PIX_FMT_RGBX32
V4L2_PIX_FMT_RGB32 is deprecated because its definition never made
clear if the 4th byte was alpha data or unused. Instead either
V4L2_PIX_FMT_ARGB32 or V4L2_PIX_FMT_RGBX32 should be used.
V4L2_PIX_FMT_RGB32 internally is mapped to IA_CSS_FRAME_FORMAT_RGBA888
and ia_css_frame_format.h says that the alpha bits there are unused,
so replace V4L2_PIX_FMT_RGB32 with V4L2_PIX_FMT_RGBX32.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions