Thanks. I'm studying this struct uvc_streaming_control (
http://lxr.linux.no/linux+v2.6.32/drivers/media/video/uvc/uvcvideo.h#L176
).

Good bye!
Palmax

2010/2/4 Laurent Pinchart <[email protected]>:
> Hi Palmax,
>
> On Wednesday 03 February 2010 12:11:31 [email protected] wrote:
>> Hello there,
>>
>> I want to get some information about my webcam: size of still image
>> captures, size of transfers, ... I think that I have to use
>> VS_PROBE_CONTROL, but I don't know how.
>>
>> Could you explain my one example?
>
> Most information available can be retrieved from the USB descriptors. You
> won't need to issue any UVC request for that.
>
> The VS_PROBE_CONTROL is used to negotiate frame format, size and interval with
> the camera and retrieve streaming parameters (such as the required bandwidth).
> Have a look at the uvc_get_video_ctrl function in uvc_ctrl.c. It queries the
> VS_PROBE_CONTROL (when probe == 1) or VS_COMMIT_CONTROL (when probe == 0)
> using GET_CUR/DEF/MIN/MAX/RES depending on the query parameter. The data
> retrieved from the camera is then converted to a uvc_streaming_control
> structure.
>
> --
> Regards,
>
> Laurent Pinchart
>
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to