Skip to content

Commit

Permalink
[media] gspca - spca1528: Change the JPEG quality of the images
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Sep 24, 2011
1 parent 0dd8269 commit 3e12950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/gspca/spca1528.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3e12950

Please sign in to comment.