From: Jean-Francois Moine <moinejf@free.fr>
To: Hans de Goede <hdegoede@redhat.com>
Cc: linux-media@vger.kernel.org
Subject: gspca zc3xx - JPEG quality / frame overflow
Date: Sat, 5 May 2012 20:54:09 +0200 [thread overview]
Message-ID: <20120505205409.312e271f@tele> (raw)
Hi Hans,
I quickly looked at your patches about the changes for the JPEG
quality, and I have some remarks.
Indeed, as I don't have any zc3xx webcam nor a lot of documentation
about the zc3xx bridge, my information come only from USB trace
analysis, and I am not sure there are fully valid.
- the register 08 always have values 0..3 (bits 0 and 1). I never saw
the bits 2 or 3 set when the frame transfer regulation is active.
- when frame overflows occur or disappear, the register 07 is always
updated before the register 08. There are bug fixes about the setting
of the registers 07 and 08 in my gspca test tarball 2.15.17.
- as it is (read the register 11 every 100 ms), the work queue is
usefull when there is no polling of the snapshot button, because the
frame overflow is reported as the bit 0 in the forth byte (data[3])
of the interrupt messages.
In fact, in the traces I have, only the webcams which don't do button
polling by interrupt messages have to read the register 11. Why only
when the sensor is hv7131r or pas202b? I don't know. But with gspca,
the polling is always active when CONFIG_INPUT is defined.
Regards.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
next reply other threads:[~2012-05-05 18:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-05 18:54 Jean-Francois Moine [this message]
2012-05-06 18:17 ` gspca zc3xx - JPEG quality / frame overflow Hans de Goede
2012-05-06 18:43 ` Jean-Francois Moine
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=20120505205409.312e271f@tele \
--to=moinejf@free.fr \
--cc=hdegoede@redhat.com \
--cc=linux-media@vger.kernel.org \
/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.