pwc
[Top] [All Lists]

[pwc] Setting Framerate via V4L2?

To:
Subject: [pwc] Setting Framerate via V4L2?
From: Florian Echtler <>
Date: Wed, 21 Jun 2006 22:33:26 +0200
Hello everybody,

I haven't (yet) subscribed to the list, so please send me a CC of your
reply - thanks.

I have noticed that there's no really usable way to set the desired
framerate when using the V4L2 API. The responsible code in pwc-v4l.c is

if (f->fmt.pix.priv) {
  compression = (f->fmt.pix.priv & PWC_QLT_MASK) >> PWC_QLT_SHIFT;
  snapshot = !!(f->fmt.pix.priv & PWC_FPS_SNAPSHOT);
  fps = (f->fmt.pix.priv & PWC_FPS_FRMASK) >> PWC_FPS_SHIFT;
  if (fps == 0)
    fps = pdev->vframes;
}

so there's no way to change only one of the parameters (especially as I
can't know the other values). Is there a reason for this?

Thanks, Yours, Florian

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc
<Prev in Thread] Current Thread [Next in Thread>
  • [pwc] Setting Framerate via V4L2?, Florian Echtler <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU