]> 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)
commitec602646feb4e9e6610cbb7bca14eb79584305bc
tree3cc80dca609f64a54a3aaeea1f4fea924a2d0437
parent0a1bdc9b21eb2f8291e0778810e297f1d54edb5f
[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