linux/drivers/media/platform/vimc
Helen Fornazier b6c61a6c37 media: vimc: propagate pixel format in the stream
Media bus codes were being mapped to pixelformats, which causes a
limitation on vimc because not all pixelformats can be mapped to media
bus codes.
Also, media bus codes are an internal configuration from the device.
Userspace only assures media bus codes matches between pads and expects
the image in a given pixelformat. So we can allow almost any media bus
format to be configured between pads, except for debayer that expects a
media bus code of type bayer in the sink pad.

[hverkuil-cisco@xs4all.nl: drop use of v4l2_get_fourcc_name: not yet available]
[hverkuil-cisco@xs4all.nl: made vimc_mbus_list static]

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-22 10:58:51 -04:00
..
Kconfig media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Makefile media: vimc: Add vimc-streamer for stream control 2019-02-07 12:23:09 -05:00
vimc-capture.c media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00
vimc-common.c media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00
vimc-common.h media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00
vimc-core.c media: vimc: zero the media_device on probe 2019-03-19 13:30:32 -04:00
vimc-debayer.c media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00
vimc-scaler.c media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00
vimc-sensor.c media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00
vimc-streamer.c media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00
vimc-streamer.h media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00