public void setJPGQuality ( int q ) { state . checkReleased ( ) ; if ( q < V4L4JConstants . MIN_JPEG_QUALITY ) q = V4L4JConstants . MIN_JPEG_QUALITY ; if ( q > V4L4JConstants . MAX_JPEG_QUALITY ) q = V4L4JConstants . MAX_JPEG_QUALITY ; setQuality ( object , q ) ; quality = q ; }
This method sets the desired JPEG quality .