diff options
author | Boris BREZILLON <[email protected]> | 2014-11-10 14:28:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2014-11-14 17:47:47 -0200 |
commit | edcf58bc031e621f519c9dfce3c7e1ea6880c70a (patch) | |
tree | b4501cd616c00412d1403181ac62d1d67cbe41bb /lib/test-string_helpers.c | |
parent | 698f6260b886291e14706c57daec2e1560d59af5 (diff) |
[media] Move mediabus format definition to a more standard place
Define MEDIA_BUS_FMT macros (re-using the values defined in the
v4l2_mbus_pixelcode enum) into a separate header file so that they can be
used from the DRM/KMS subsystem without any reference to the V4L2
subsystem.
Then set V4L2_MBUS_FMT definitions to the MEDIA_BUS_FMT values using the
V4L2_MBUS_FROM_MEDIA_BUS_FMT macro.
Signed-off-by: Boris Brezillon <[email protected]>
Acked-by: Guennadi Liakhovetski <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions