aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2022-02-21 18:47:27 +0100
committerHans Verkuil <[email protected]>2022-02-23 08:53:08 +0100
commit80ebe988cf8f322ee8803f33d0e5652d4e3142dc (patch)
treedd578c3cc4deb3d188bf56f39f8c2cf7d8614815 /lib/memory-notifier-error-inject.c
parent28ba5e8024b9508df279c2172738d0c225c43496 (diff)
media: imx: imx-mipi-csis: Add output format
Due to how pixel components are transmitted on the CSI-2 serial bus and how they are deserialized by the CSI-2 receiver, the component ordering might change and the image formats on the sink and source pads of the receiver should reflect it. For RGB24, in example, the component ordering on the wire as described by the CSI-2 specification matches the BGR888 format, while once deserialized by the CSIS receiver it matches the RGB888 format. Add an additional .output field to struct csis_pix_format to allow propagating the correct format to the source pad after a format configuration on the sink. The change is only relevant for RGB24 but paves the way for further format translations in future. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Acked-by: Rui Miguel Silva <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions