media: vim2m: don't accept YUYV anymore as output format
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 1 Mar 2019 12:41:24 +0000 (07:41 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 1 Mar 2019 16:16:48 +0000 (11:16 -0500)
commit69d68a4e9b15720cbd80cb4219541f033fb51f26
tree36a659ae06b1fe4052f8c31f8e126eb5a6bcccaa
parent0b390d0c2e1c44e0ee4a843faf10a2206120616f
media: vim2m: don't accept YUYV anymore as output format

Handling any Y,Cr,Cb formats require some extra logic, as it
handles a group of two pixels. That's easy while we don't do
horizontal scaling.

However, doing horizontal scaling with such formats would require
a lot more code, in order to avoid distortions, as, if it scales
to two non-consecutive points, the logic would need to read 4
points in order to properly convert to RGB.

As this is just a test driver, and we want fast algorithms,
let's just get rid of this format as an output one.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vim2m.c