All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Németh Márton" <nm127@freemail.hu>
To: Jonathan Corbet <corbet@lwn.net>
Cc: video4linux-list@redhat.com, LKML <linux-kernel@vger.kernel.org>
Subject: cafe_ccic: possible reason why gqcam is not working
Date: Thu, 23 Oct 2008 11:17:39 +0200	[thread overview]
Message-ID: <49004133.7090805@freemail.hu> (raw)

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

             reply	other threads:[~2008-10-23  9:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23  9:17 Németh Márton [this message]
2008-10-23 14:55 ` cafe_ccic: possible reason why gqcam is not working Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49004133.7090805@freemail.hu \
    --to=nm127@freemail.hu \
    --cc=corbet@lwn.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.