CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/04/10 20:04:48
Modified files:
sys/dev/usb : uvideo.c uvideo.h
Log message:
uncompressed video formats have a fixed per-pixel bit depth, which
means the data size of a frame can be calculated if the dimensions
are known.
* calculate frame data sizes for uncompressed formats instead of believing
what the hardware says. the UVC spec changed between 1.0 and 1.1, and
as a result, some devices return bogus information.
* skip under-sized as well as over-sized uncompressed frames; there is
only one correct size for uncompressed frames.
* remove quirk to fix uncompressed frame sizes on certain devices,
since that now always happens.
* check that the device is actually using the parameters we think it's
using.