Hello, This patch set adds new control class - V4L2_CID_JPEG_CLASS with initially four controls in it. It also adds V4L2_CID_JPEG_COMPRESSION_QUALITY control to two gspca sub-devices: sonixj and zc3xx, as these where drivers I had the hardware handy for. The gspca patches have been tested with v4l2ucp and v4l2-ctl. I could provide patches for some other drivers that currently use VIDIOC_S/G_JPEGCOMP ioctls for image quality setting only. The initial RFC can be found at http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg39012.html Changes since v1 [1]: - renamed trailing 'S' from V4L2_CID_JPEG_ACTIVE_MARKERS; - removed V4L2_JPEG_ACTIVE_MARKER_DAC and V4L2_JPEG_ACTIVE_MARKER_DNL definitions as these are normally controlled by higher level compression attributes and shouldn't be allowed to be discarded independently; These patches are intended for v3.4. Comments are welcome. Sylwester Nawrocki (4): V4L: Add JPEG compression control class V4L: Add JPEG compression control class documentation gspca: sonixj: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support gspca: zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support Documentation/DocBook/media/v4l/biblio.xml | 20 +++ Documentation/DocBook/media/v4l/compat.xml | 10 ++ Documentation/DocBook/media/v4l/controls.xml | 161 ++++++++++++++++++++ Documentation/DocBook/media/v4l/v4l2.xml | 9 + .../DocBook/media/v4l/vidioc-g-jpegcomp.xml | 16 ++- drivers/media/video/gspca/sonixj.c | 23 +++ drivers/media/video/gspca/zc3xx.c | 54 +++++-- drivers/media/video/v4l2-ctrls.c | 24 +++ include/linux/videodev2.h | 24 +++ 9 files changed, 322 insertions(+), 19 deletions(-) -- Thanks, Sylwester [1] http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg41070.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html