[media] s5p-jpeg: Add JPEG controls support
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 17 Feb 2012 14:39:36 +0000 (11:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 1 Mar 2012 20:10:30 +0000 (17:10 -0300)
This patch replaces VIDIOC_S/G_JPEGCOMP ioctl handlers with
V4L2_CID_JPEG_QUALITY control. Additionally it enables JPEG subsampling
and the restart interval configuration through V4L2_CID_JPEG_SUBSAMPLING
and V4L2_CID_JPEG_RESTART_INTERVAL controls. For the decoder video node
only V4L2_CID_JPEG_SUBSAMPLING is available as a read-only control.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found