summaryrefslogtreecommitdiff
path: root/v4l_experimental
diff options
context:
space:
mode:
authorAntoine Jacquet <royale@zerezo.com>2009-07-15 20:54:55 -0300
committerAntoine Jacquet <royale@zerezo.com>2009-07-15 20:54:55 -0300
commit340a2011aeb2b8f88e241a9165733518fb97a61c (patch)
tree3ad764b7d7de2b9a5ff82c4a2e56749b4e25d214 /v4l_experimental
parentfb32196fab0e4281fa924b7b4a7651878d1c8a77 (diff)
downloadmediapointer-dvb-s2-340a2011aeb2b8f88e241a9165733518fb97a61c.tar.gz
mediapointer-dvb-s2-340a2011aeb2b8f88e241a9165733518fb97a61c.tar.bz2
zr364xx: implement V4L2_CAP_STREAMING
From: Lamarque Vieira Souza <lamarque@gmail.com> This patch implements V4L2_CAP_STREAMING for the zr364xx driver, by converting the driver to use videobuf. This version is synced with v4l-dvb as of 15/Jul/2009. Tested with Creative PC-CAM 880. It basically: . implements V4L2_CAP_STREAMING using videobuf; . re-implements V4L2_CAP_READWRITE using videobuf; . copies cam->udev->product to the card field of the v4l2_capability struct. That gives more information to the users about the webcam; . moves the brightness setting code from before requesting a frame (in read_frame) to the vidioc_s_ctrl ioctl. This way the brightness code is executed only when the application requests a change in brightness and not before every frame read; . comments part of zr364xx_vidioc_try_fmt_vid_cap that says that Skype + libv4l do not work. This patch fixes zr364xx for applications such as mplayer, Kopete+libv4l and Skype+libv4l can make use of the webcam that comes with zr364xx chip. Signed-off-by: Lamarque V. Souza <lamarque@gmail.com> Signed-off-by: Antoine Jacquet <royale@zerezo.com>
Diffstat (limited to 'v4l_experimental')
0 files changed, 0 insertions, 0 deletions