LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   When do the video4linux ioctls are called? (https://www.linuxquestions.org/questions/linux-kernel-70/when-do-the-video4linux-ioctls-are-called-830072/)

archieval 09-02-2010 10:52 PM

When do the video4linux ioctls are called?
 
Hello,

In the linux 2.6.29 source file

drivers/media/video/v4l2-ioctl.c

are the different ioctl commands for video output, does anyone know when these are called? Specifically the VIDIOC_S_OUTPUT ioctl case. During bootup this is called but I am not sure what exact application does this.

Thanks!

Mara 09-05-2010 01:32 PM

It is used in libvo (MPlayer) for instance.

Hard to say what runs it during your bootup, however.

linux_hy 09-07-2010 10:19 PM

try to reference the kernel source tree Documentation/video4linux/v4lgrab.c
maybe help for you.the ioctl is used to get some capablities and attributes of video card when initializing the device and user's process


All times are GMT -5. The time now is 10:24 AM.