diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-05-13 15:14:12 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-07-08 15:37:14 +0100 |
commit | 6ac98b41b4fb44656ef0ccccee4fda73751eb7bf (patch) | |
tree | 71d76c45cc8b1259901196ed5ebfe813d5f8a9ab /drivers/media/i2c/cs5345.c | |
parent | 0a43fcd791f9089be96948d999e500b2980165e8 (diff) |
media: ov5640: Add BGR888 format
Add support for BGR888 image format.
No existing media bus codes describe exactly the way data is transferred
on the CSI-2 bus. This is not a new issue, the CSI-2 YUV422 8-bit format
is described by MEDIA_BUS_FMT_UYVY8_1X16 which is an arbitrary
convention and not an exact match. Use the MEDIA_BUS_FMT_BGR888_1X24 to
follow the same convention, based on the order in which bits are
transmitted over the CSI-2 bus when producing images in RGB24 format.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/i2c/cs5345.c')
0 files changed, 0 insertions, 0 deletions