mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 16:44:27 +08:00
[media] gspca - spca1528: Change the JPEG quality of the images
The JPEG quality was guessed as around 82%. Information in ms-win drivers says it should be 85%. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
0dd8269627
commit
3e12950d86
@ -365,8 +365,8 @@ static int sd_start(struct gspca_dev *gspca_dev)
|
||||
jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width,
|
||||
0x22); /* JPEG 411 */
|
||||
|
||||
/* the JPEG quality seems to be 82% */
|
||||
jpeg_set_qual(sd->jpeg_hdr, 82);
|
||||
/* the JPEG quality shall be 85% */
|
||||
jpeg_set_qual(sd->jpeg_hdr, 85);
|
||||
|
||||
/* set the controls */
|
||||
setbrightness(gspca_dev);
|
||||
|
Loading…
Reference in New Issue
Block a user