[media] usbtv: Fix deinterlacing
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jul 2013 10:56:38 +0000 (07:56 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 3 Sep 2013 12:24:19 +0000 (09:24 -0300)
commit3080072460bb0efd156e415bfea783279bf64e92
treef368022fb18e38a2d6ed9d27264fb6bd18d1ecc0
parenta19dec6ea94c036af68c31930c1c92681f55af41
[media] usbtv: Fix deinterlacing

The image data is laid out a bit more weirdly and thus needs more work to
properly interlace. What we get from hardware is V4L2_FIELD_ALTERNATE, but
since userspace support for it is practically nonexistent, thus we make
V4L2_FIELD_INTERLACED from it so that it's more easily interpreted.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: stable@vger.kernel.org
drivers/media/usb/usbtv/usbtv.c