Re: I just wondering how to set shutter or aperture value in uvc driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Heungjun,

On Wednesday 25 May 2011 08:49:31 Kim, HeungJun wrote:
> Hi Laurent,
> 
> I try to add the more exposure methods of the M-5MOLS driver. Currently,
> the only 2 exposure type are available in the M-5MOLS driver -
> V4L2_EXPOSURE_AUTO, V4L2_EXPOSURE_MANUAL. But, the HW is capable to shutter,
> aperture exposure value, of course auto exposure.
> So, I found the only UVC driver looks like using extra enumerations
> V4L2_EXPOSURE_SHUTTER_PRIORITY, V4L2_EXPOSURE_APERTURE_PRIORITY.
> But, I don't know how to set the each value in the each mode.
> 
> The way pointed the specific value is only one -
> V4L2_CID_EXPOSURE_ABSOLUTE. So, how can I set the specific value at the
> each mode?

You can control the aperture using the V4L2_CID_IRIS_ABSOLUTE control. See 
http://linuxtv.org/downloads/v4l-dvb-apis/extended-controls.html#camera-
controls for more information regarding the exposure and iris controls.

-- 
Regards,

Laurent Pinchart
--
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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux