[media] media: imx: Add IC subdev drivers
authorSteve Longerbeam <slongerbeam@gmail.com>
Wed, 7 Jun 2017 18:34:03 +0000 (15:34 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 10:41:24 +0000 (07:41 -0300)
commitf0d9c8924e2c33764dca0c3a4f693a345ecf6579
treec376a666e2db06e7a67426079d1dc9823befb842
parent93dae31149bff7213baa38ffdf98cdff8ddbf130
[media] media: imx: Add IC subdev drivers

This is a set of three media entity subdevice drivers for the i.MX
Image Converter:

- Pre-process Router: Takes input frames from CSI0, CSI1, or VDIC.
  Two output pads enable either or both of the preprocess tasks
  below. If the input is from one of the CSIs, both proprocess task
  links can be enabled to process frames from that CSI simultaneously.
  If the input is the VDIC, only the Pre-processing Viewfinder task
  link can be enabled.

- Pre-processing Encode task: video frames are routed directly from
  the CSI and can be scaled, color-space converted, and rotated.
  Scaled output is limited to 1024x1024 resolution. Output frames
  are routed to the prpenc capture device.

- Pre-processing Viewfinder task: this task can perform the same
  conversions as the pre-process encode task, but in addition can
  be used for hardware motion compensated deinterlacing. Frames can
  come either directly from the CSI or from the VDIC. Scaled output
  is limited to 1024x1024 resolution. Output frames are routed to
  the prpvf capture device.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/Makefile
drivers/staging/media/imx/imx-ic-common.c [new file with mode: 0644]
drivers/staging/media/imx/imx-ic-prp.c [new file with mode: 0644]
drivers/staging/media/imx/imx-ic-prpencvf.c [new file with mode: 0644]
drivers/staging/media/imx/imx-ic.h [new file with mode: 0644]