LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* cafe_ccic: possible reason why gqcam is not working
@ 2008-10-23 9:17 Németh Márton
2008-10-23 14:55 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Németh Márton @ 2008-10-23 9:17 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: video4linux-list, LKML
Dear Jonathan,
I read in your documentation found at linux-2.6.27/Documentation/video4linux/cafe_ccic, and
found that you mention that "gqcam" is not working together with cafe_ccic.
I have done some investigation of the gqcam 0.9.1-4 found in Debian system. I wanted
to use gqcam with a different webcam and found out the following things:
- gqcam currently only supports video4linux 1, and it uses the following
ioctls: VIDIOCSPICT, VIDIOCSWIN, VIDIOCGCAP, VIDIOCGWIN and VIDIOCGPICT.
- gqcam only supports read() method of getting the frames.
- gqcam currently has a limitation that it allocates a static buffer size of
640*480*3 bytes. This is defined in gqcam.h, struct Camera, field rawbuffer.
As I came across with this buffer limitation, I created a simple patch which at least
can warn the user about this problem instead of getting segmentation fault. The
patch available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502350 .
I hope this helps you to track down why gqcam is not working with cafe_ccic.
Regards,
Márton Németh
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cafe_ccic: possible reason why gqcam is not working
2008-10-23 9:17 cafe_ccic: possible reason why gqcam is not working Németh Márton
@ 2008-10-23 14:55 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2008-10-23 14:55 UTC (permalink / raw)
To: Németh Márton; +Cc: video4linux-list, LKML
On Thu, 23 Oct 2008 11:17:39 +0200
Németh Márton <nm127@freemail.hu> wrote:
> - gqcam currently only supports video4linux 1, and it uses the
> following ioctls: VIDIOCSPICT, VIDIOCSWIN, VIDIOCGCAP, VIDIOCGWIN and
> VIDIOCGPICT.
...and that, of course, is the problem. The V4L1 emulation in the
kernel cannot do a perfect job of things. This application really
needs to be dragged forward to V4L2 if it is to work well with
contemporary video drivers.
Thanks,
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-23 14:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-23 9:17 cafe_ccic: possible reason why gqcam is not working Németh Márton
2008-10-23 14:55 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).