[media] cx23885: correct the contrast, saturation and hue controls
Signed-off-by: Mijhail Moreyra <mijhail.moreyra@gmail.com> Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
18d6447671
commit
b12ab3f81c
1 changed files with 6 additions and 6 deletions
|
@ -171,7 +171,7 @@ static struct cx23885_ctrl cx23885_ctls[] = {
|
||||||
.id = V4L2_CID_CONTRAST,
|
.id = V4L2_CID_CONTRAST,
|
||||||
.name = "Contrast",
|
.name = "Contrast",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 0xff,
|
.maximum = 0x7f,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 0x3f,
|
.default_value = 0x3f,
|
||||||
.type = V4L2_CTRL_TYPE_INTEGER,
|
.type = V4L2_CTRL_TYPE_INTEGER,
|
||||||
|
@ -184,10 +184,10 @@ static struct cx23885_ctrl cx23885_ctls[] = {
|
||||||
.v = {
|
.v = {
|
||||||
.id = V4L2_CID_HUE,
|
.id = V4L2_CID_HUE,
|
||||||
.name = "Hue",
|
.name = "Hue",
|
||||||
.minimum = 0,
|
.minimum = -127,
|
||||||
.maximum = 0xff,
|
.maximum = 128,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 0x7f,
|
.default_value = 0x0,
|
||||||
.type = V4L2_CTRL_TYPE_INTEGER,
|
.type = V4L2_CTRL_TYPE_INTEGER,
|
||||||
},
|
},
|
||||||
.off = 128,
|
.off = 128,
|
||||||
|
@ -202,9 +202,9 @@ static struct cx23885_ctrl cx23885_ctls[] = {
|
||||||
.id = V4L2_CID_SATURATION,
|
.id = V4L2_CID_SATURATION,
|
||||||
.name = "Saturation",
|
.name = "Saturation",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 0xff,
|
.maximum = 0x7f,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 0x7f,
|
.default_value = 0x3f,
|
||||||
.type = V4L2_CTRL_TYPE_INTEGER,
|
.type = V4L2_CTRL_TYPE_INTEGER,
|
||||||
},
|
},
|
||||||
.off = 0,
|
.off = 0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue