Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306316
b: refs/heads/master
c: 1b3bbcf
h: refs/heads/master
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed May 14, 2012
1 parent 448cb52 commit eb09a8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55db765c54cd9506524c2945e3905fcf9215ea71
refs/heads/master: 1b3bbcf5ab7250527a629ec1ffc36c8d1ea12681
9 changes: 6 additions & 3 deletions trunk/drivers/media/video/gspca/zc3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static const struct ctrl sd_ctrls[NCTRLS] = {
.type = V4L2_CTRL_TYPE_INTEGER,
.name = "Compression Quality",
.minimum = 50,
.maximum = 94,
.maximum = 87,
.step = 1,
.default_value = 75,
},
Expand Down Expand Up @@ -241,8 +241,11 @@ static const struct v4l2_pix_format sif_mode[] = {
.priv = 0},
};

/* bridge reg08 bits 1-2 -> JPEG quality conversion table */
static u8 jpeg_qual[] = {50, 75, 87, 94};
/*
* Bridge reg08 bits 1-2 -> JPEG quality conversion table. Note the highest
* quality setting is not usable as USB 1 does not have enough bandwidth.
*/
static u8 jpeg_qual[] = {50, 75, 87, /* 94 */};

/* usb exchanges */
struct usb_action {
Expand Down

0 comments on commit eb09a8a

Please sign in to comment.