]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: Add mem2mem deinterlacing driver
authorJavier Martin <javier.martin@vista-silicon.com>
Thu, 26 Jul 2012 08:55:18 +0000 (05:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 6 Aug 2012 12:02:55 +0000 (09:02 -0300)
commit8f0755c06b90a97e9e793cb474f216303cf88c2d
tree94303680d8bfc03cee925a3be5fdb6bab2941d8f
parentb6c14dc29757a546dd0992e5f721b69099e84705
[media] media: Add mem2mem deinterlacing driver

Some video decoders such as tvp5150 provide separate
video fields (V4L2_FIELD_SEQ_TB/BT). This driver uses
dmaengine to convert this format to V4L2_FIELD_INTERLACED_TB/BT
(weaving) or V4L2_FIELD_NONE (line doubling) so that the
image can be displayed or processed.

Of course there will be combing effect in the image but this
can be accepted for some low quality applications.

Currently only YUV420 and YUYV formats are supported but
it can be extended later.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/Kconfig
drivers/media/video/Makefile
drivers/media/video/m2m-deinterlace.c [new file with mode: 0644]