]> git.baikalelectronics.ru Git - kernel.git/commit
[media] gspca - sn9c20x: Add automatic JPEG compression mechanism
authorJean-François Moine <moinejf@free.fr>
Mon, 19 Mar 2012 07:47:24 +0000 (04:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:31:46 +0000 (22:31 -0300)
commitf1ca999262d03fc70c61a5022450197641cfd07e
tree3cc80dca609f64a54a3aaeea1f4fea924a2d0437
parent9205341aff4f5a47bccf1c7f11737a28afcdeb4e
[media] gspca - sn9c20x: Add automatic JPEG compression mechanism

The JPEG compression may be adjusted from the packet fill ratio and from
the flag 'USB FIFO full' returned in each frame.
The code is adapted from the one in gspca sonixj and uses a workqueue.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c