linux/drivers/media/video/gspca
Hans de Goede eb3fb7c963 [media] gspca: Add a need_max_bandwidth flag to sd_desc
Some cameras will pretty much entirely fill all the image buffers all the
time even though they are using compression.

This patch adds a flag to sd_desc, which drivers for such cameras can set.

When this flag is set the bandwidth calculation code will no longer
assume that the image buffer size is a worst case and less bandwidth than
imagebufsize * fps will be used on average.

This patch sets this new flag for 3 drivers:
* For spca561 (for rev12a cameras) and nw80x cams as these simply don't work
  when given less bandwidth than imagebufsize * fps.
* For sn9c20x cameras, because these show severy jpeg artifacts when
  given less bandwidth than imagebufsize * fps and since these are usb2
  cameras there is plenty bandwidth anyways.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-06 09:07:49 -02:00
..
gl860 [media] gspca: Remove the useless variable 'nbalt' 2011-12-11 09:26:11 -02:00
m5602 [media] m5602: Use current logging styles 2011-09-03 21:12:53 -03:00
stv06xx [media] gspca: Check dev->actconfig rather than dev->config 2012-01-06 09:04:17 -02:00
autogain_functions.h [media] gspca: New file autogain_functions.h 2011-03-22 04:54:43 -03:00
benq.c [media] gspca: Remove the useless variable 'nbalt' 2011-12-11 09:26:11 -02:00
conex.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
cpia1.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
etoms.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
finepix.c [media] finepix: Use current logging styles 2011-09-03 21:13:08 -03:00
gspca.c [media] gspca: Add a need_max_bandwidth flag to sd_desc 2012-01-06 09:07:49 -02:00
gspca.h [media] gspca: Add a need_max_bandwidth flag to sd_desc 2012-01-06 09:07:49 -02:00
jeilinj.c [media] gspca - jeilinj: Cleanup code 2011-09-11 09:24:04 -03:00
jpeg.h [media] gspca: Remove useless instructions 2011-01-19 11:45:37 -02:00
Kconfig [media] gspca - topro: New subdriver for Topro webcams 2011-09-23 23:28:49 -03:00
kinect.c [media] gspca - kinect: Remove the gspca_debug definition 2011-09-11 09:25:22 -03:00
konica.c [media] gspca: Remove the useless variable 'nbalt' 2011-12-11 09:26:11 -02:00
Makefile [media] gspca - topro: New subdriver for Topro webcams 2011-09-23 23:28:49 -03:00
mars.c [media] gspca: Remove the useless variable 'nbalt' 2011-12-11 09:26:11 -02:00
mr97310a.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
nw80x.c [media] gspca: Add a need_max_bandwidth flag to sd_desc 2012-01-06 09:07:49 -02:00
ov519.c [media] gspca: Remove the useless variable 'reverse_alts' 2011-12-11 09:25:27 -02:00
ov534_9.c [media] gspca - ov534_9: New sensor ov5621 and webcam 05a9:1550 2012-01-06 08:51:02 -02:00
ov534.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
pac207.c [media] gspca_pac207: Raise max exposure + various autogain setting tweaks 2011-12-30 16:21:48 -02:00
pac7302.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
pac7311.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
pac_common.h V4L/DVB: gspca_pac7302: much improved exposure control 2010-02-26 15:11:09 -03:00
se401.c [media] gspca: Remove the useless variable 'nbalt' 2011-12-11 09:26:11 -02:00
se401.h [media] gspca: Add new se401 camera driver 2011-07-27 17:53:41 -03:00
sn9c20x.c [media] gspca: Add a need_max_bandwidth flag to sd_desc 2012-01-06 09:07:49 -02:00
sn9c2028.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
sn9c2028.h V4L/DVB (13992): gspca_sn9c2028: New gspca subdriver 2010-02-26 15:10:39 -03:00
sonixb.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sonixj.c [media] gspca - sonixj: Change color control for sensor po2030n 2011-12-11 09:26:46 -02:00
spca500.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
spca501.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
spca505.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
spca506.c V4L/DVB (13899): gspca - all subdrivers: Make control descriptors constant. 2010-02-26 15:10:29 -03:00
spca508.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
spca561.c [media] gspca: Add a need_max_bandwidth flag to sd_desc 2012-01-06 09:07:49 -02:00
spca1528.c [media] gspca - spca1528: Don't force the USB transfer alternate setting 2011-09-23 23:31:03 -03:00
sq905.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
sq905c.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
sq930x.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
stk014.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
stv0680.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
sunplus.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
t613.c [media] t613: Use current logging styles 2011-09-03 21:13:51 -03:00
topro.c [media] gspca - topro: Lower the frame rate in 640x480 for the tp6800 2011-12-11 09:27:08 -02:00
tv8532.c [media] gspca: Remove __devinit, __devinitconst and __devinitdata 2011-01-19 11:45:35 -02:00
vc032x.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
vicam.c [media] gscpa_vicam: Fix oops if unplugged while streaming 2011-12-30 16:22:04 -02:00
w996Xcf.c [media] gspca: Use current logging styles 2011-09-04 11:06:05 -03:00
xirlink_cit.c [media] gspca: Check dev->actconfig rather than dev->config 2012-01-06 09:04:17 -02:00
zc3xx-reg.h [media] gspca - zc3xx: Remove double definition 2011-03-22 04:54:40 -03:00
zc3xx.c [media] gspca - zc3xx: Bad initialization of zc305/gc0303 2011-12-11 09:27:36 -02:00