Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153917
b: refs/heads/master
c: 9764398
h: refs/heads/master
i:
  153915: 9c5fadb
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Jun 23, 2009
1 parent 1f35c05 commit 3faf863
Show file tree
Hide file tree
Showing 2 changed files with 10 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: e080fcd9298d544f3233d8c45304990be1920b3d
refs/heads/master: 9764398bdeef49414b37ef8bd35abfec1f44bd3e
12 changes: 9 additions & 3 deletions trunk/drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ static int sd_setinfrared(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getinfrared(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
#define BRIGHTNESS_IDX 0
{
{
.id = V4L2_CID_BRIGHTNESS,
Expand All @@ -113,6 +114,7 @@ static struct ctrl sd_ctrls[] = {
.set = sd_setbrightness,
.get = sd_getbrightness,
},
#define CONTRAST_IDX 1
{
{
.id = V4L2_CID_CONTRAST,
Expand All @@ -128,6 +130,7 @@ static struct ctrl sd_ctrls[] = {
.set = sd_setcontrast,
.get = sd_getcontrast,
},
#define COLOR_IDX 2
{
{
.id = V4L2_CID_SATURATION,
Expand All @@ -142,6 +145,7 @@ static struct ctrl sd_ctrls[] = {
.set = sd_setcolors,
.get = sd_getcolors,
},
#define BLUE_BALANCE_IDX 3
{
{
.id = V4L2_CID_BLUE_BALANCE,
Expand All @@ -156,6 +160,7 @@ static struct ctrl sd_ctrls[] = {
.set = sd_setblue_balance,
.get = sd_getblue_balance,
},
#define RED_BALANCE_IDX 4
{
{
.id = V4L2_CID_RED_BALANCE,
Expand All @@ -170,6 +175,7 @@ static struct ctrl sd_ctrls[] = {
.set = sd_setred_balance,
.get = sd_getred_balance,
},
#define GAMMA_IDX 5
{
{
.id = V4L2_CID_GAMMA,
Expand All @@ -184,7 +190,7 @@ static struct ctrl sd_ctrls[] = {
.set = sd_setgamma,
.get = sd_getgamma,
},
#define AUTOGAIN_IDX 5
#define AUTOGAIN_IDX 6
{
{
.id = V4L2_CID_AUTOGAIN,
Expand All @@ -200,7 +206,7 @@ static struct ctrl sd_ctrls[] = {
.get = sd_getautogain,
},
/* ov7630/ov7648 only */
#define VFLIP_IDX 6
#define VFLIP_IDX 7
{
{
.id = V4L2_CID_VFLIP,
Expand All @@ -216,7 +222,7 @@ static struct ctrl sd_ctrls[] = {
.get = sd_getvflip,
},
/* mt9v111 only */
#define INFRARED_IDX 7
#define INFRARED_IDX 8
{
{
.id = V4L2_CID_INFRARED,
Expand Down

0 comments on commit 3faf863

Please sign in to comment.