linux-stable/drivers/media
Mauro Carvalho Chehab 1875a7c857 media: vim2m: add bayer capture formats
The vim2m device is interesting to simulate a webcam. As most
sensors are arranged using bayer formats, the best is to support
to output data using those formats.

So, add support for them.

All 4 8-bit bayer formats tested with:

	$ qvidcap -p &
	$ v4l2-ctl --stream-mmap --stream-out-mmap --stream-to-host localhost --stream-lossless --stream-out-hor-speed 1 -v pixelformat=RGGB

It was tested also with GStreamer with:

	$ gst-validate-1.0 filesrc location=some_video.mp4 ! qtdemux ! avdec_h264 ! videoconvert ! videoscale ! v4l2convert disable-passthrough=1 extra-controls="s,horizontal_flip=0,vertical_flip=0" ! bayer2rgb ! videoconvert ! xvimagesink

For all possible HFLIP/VFLIP values.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-01 11:01:50 -05:00
..
cec media: cec: fix epoll() by calling poll_wait first 2019-02-18 14:44:45 -05:00
common media: common: fix several typos 2019-03-01 09:44:48 -05:00
dvb-core media: dvb-core: fix several typos 2019-03-01 09:28:08 -05:00
dvb-frontends media: dvb-frontends: fix several typos 2019-03-01 09:26:20 -05:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2018-12-05 05:34:33 -05:00
i2c media: i2c: fix several typos 2019-03-01 09:29:58 -05:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
platform media: vim2m: add bayer capture formats 2019-03-01 11:01:50 -05:00
radio media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
rc media: rc: fix several typos 2019-03-01 09:39:39 -05:00
spi media: cxd2880-spi: fix two memory leaks of dvb_spi 2019-01-16 11:44:29 -05:00
tuners media: tuners: fix several typos 2019-03-01 09:40:29 -05:00
usb media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
v4l2-core media: v4l2-core: fix several typos 2019-03-01 09:44:17 -05:00
Kconfig media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
Makefile media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-device.c media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: v4l2-mc: switch it to use the new approach to setup pipelines 2018-09-17 13:16:19 -04:00
media-request.c media: media-request: fix epoll() by calling poll_wait first 2019-02-18 14:45:33 -05:00