Re: about exact usage of definition - Control Flags in videodev.h

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

 



On Tuesday 12 May 2009 08:12:35 Kim, Heung Jun wrote:
> Hello Hans,
>
> Nice to meet u on the mailing-list.
> I'm an engineer of camera device driver, and work with Nathaniel(Dongsoo,
> Kim). I'm wondering about how to use the Control Flags defined in the
> videodev2.h. The Control Flags defined in the videodev2.h is the
> following as you know,
>
> /*  Control flags  */
> #define V4L2_CTRL_FLAG_DISABLED		0x0001
> #define V4L2_CTRL_FLAG_GRABBED		0x0002
> #define V4L2_CTRL_FLAG_READ_ONLY 	0x0004
> #define V4L2_CTRL_FLAG_UPDATE 		0x0008
> #define V4L2_CTRL_FLAG_INACTIVE 	0x0010
> #define V4L2_CTRL_FLAG_SLIDER 		0x0020
>
> I tryed to find the usage of this definitions in the directories of
> drivers/media/video
> & include/, but I didn't. Actually, I need to use this definitions for
> checking of ISP status.
> So, I wanna know exact usage of this definitions to make the generic
> driver code.
>
> i'll appreciate your answer beforehand.
> Thanks to read.
>
> Regard,
> riverful (HeungJun, Kim)

The V4L2 API spec is here:

http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html

And you can find a description of these flags here:

http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html#VIDIOC-QUERYCTRL

Let me know if you have questions not answered in the spec.

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
--
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