android_kernel_xiaomi_sm8350/drivers/media/video/gspca
Hans de Goede bf2a2202f7 V4L/DVB (8870): gspca: Fix dark room problem with sonixb.
When using the sonixb driver in a dark room and given that the autoexposure
algorithm starts with a setting most suitable for daylight, the picture
produced by the cam may actually be 100% black leading to a avg_lum value of 0,
so an avg_lum value of 0 does not always signal an exposure settings change
(which it normally does). This patch adds a check for the really black image
case and stops dropping all frames as invalid in this case.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-04 16:22:56 -03:00
..
conex.c V4L/DVB (8829): gspca: Have a clean kmalloc-ated buffer for USB exchanges. 2008-09-03 18:37:42 -03:00
etoms.c V4L/DVB (8831): gspca: Resolve webcam conflicts between some drivers. 2008-09-03 18:37:44 -03:00
gspca.c V4L/DVB (8829): gspca: Have a clean kmalloc-ated buffer for USB exchanges. 2008-09-03 18:37:42 -03:00
gspca.h V4L/DVB (8829): gspca: Have a clean kmalloc-ated buffer for USB exchanges. 2008-09-03 18:37:42 -03:00
jpeg.h V4L/DVB (8156): Many bug fixes, zc3xx added. 2008-07-20 07:14:45 -03:00
Kconfig V4L/DVB (8157): gspca: all subdrivers 2008-07-20 07:14:49 -03:00
Makefile V4L/DVB (8157): gspca: all subdrivers 2008-07-20 07:14:49 -03:00
mars.c V4L/DVB (8829): gspca: Have a clean kmalloc-ated buffer for USB exchanges. 2008-09-03 18:37:42 -03:00
ov519.c V4L/DVB (8823): gspca: H and V flips work for ov7670 only in ov519. 2008-09-03 18:37:36 -03:00
pac207.c V4L/DVB (8825): gspca: More controls for pac73xx and new webcam 093a:2624. 2008-09-03 18:37:38 -03:00
pac7311.c V4L/DVB (8830): gspca: Move some probe code to the new init function. 2008-09-03 18:37:43 -03:00
pac_common.h V4L/DVB (8825): gspca: More controls for pac73xx and new webcam 093a:2624. 2008-09-03 18:37:38 -03:00
sonixb.c V4L/DVB (8870): gspca: Fix dark room problem with sonixb. 2008-09-04 16:22:56 -03:00
sonixj.c V4L/DVB (8831): gspca: Resolve webcam conflicts between some drivers. 2008-09-03 18:37:44 -03:00
spca500.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
spca501.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
spca505.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
spca506.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
spca508.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
spca561.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
stk014.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
sunplus.c V4L/DVB (8829): gspca: Have a clean kmalloc-ated buffer for USB exchanges. 2008-09-03 18:37:42 -03:00
t613.c V4L/DVB (8829): gspca: Have a clean kmalloc-ated buffer for USB exchanges. 2008-09-03 18:37:42 -03:00
tv8532.c V4L/DVB (8822): gspca: Change some subdriver functions for suspend/resume. 2008-09-03 18:37:35 -03:00
vc032x.c V4L/DVB (8832): gspca: Bad pixelformat of vc0321 webcams. 2008-09-03 18:37:45 -03:00
zc3xx-reg.h V4L/DVB (8359): gspca: Adds register aliases for zc03xx registers 2008-07-20 07:26:49 -03:00
zc3xx.c V4L/DVB (8831): gspca: Resolve webcam conflicts between some drivers. 2008-09-03 18:37:44 -03:00