Re: [PATCH] media: vim2m: add bayer capture formats

2019-02-04 Thread Tomasz Figa
Hi Mauro, On Fri, Feb 1, 2019 at 11:19 PM Mauro Carvalho Chehab wrote: > > The vim2m device is interesting to simulate a webcam. Hmm, how would you simulate a webcam with a mem2mem device? The same process needs to control both OUTPUT and CAPTURE queues, so regular webcam apps wouldn't work. Be

[PATCH] media: vim2m: add bayer capture formats

2019-02-01 Thread Mauro Carvalho Chehab
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