diff options
author | Frank Schäfer <fschaefer.oss@googlemail.com> | 2012-09-09 18:02:24 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-13 20:54:49 (GMT) |
commit | 780d61704cf62a51c06c0ca8210d0282591e00b2 (patch) | |
tree | 248eb48bd0b394547911f83e8f934e4f1afe5237 /drivers/media/usb/gspca/pac7302.c | |
parent | 0e68785db5fde372126b6d8c3ea792665249e35b (diff) | |
download | linux-780d61704cf62a51c06c0ca8210d0282591e00b2.tar.xz |
[media] gspca_pac7302: extend register documentation
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/gspca/pac7302.c')
-rw-r--r-- | drivers/media/usb/gspca/pac7302.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/usb/gspca/pac7302.c b/drivers/media/usb/gspca/pac7302.c index 71fa5a4..2d5c6d83 100644 --- a/drivers/media/usb/gspca/pac7302.c +++ b/drivers/media/usb/gspca/pac7302.c @@ -29,6 +29,15 @@ * Register page 0: * * Address Description + * 0x02 Red balance control + * 0x03 Green balance control + * 0x04 Blue balance control + * Valus are inverted (0=max, 255=min). + * The Windows driver uses a quadratic approach to map + * the settable values (0-200) on register values: + * min=0x80, default=0x40, max=0x20 + * 0x0f-0x20 Colors, saturation and exposure control + * 0xa2-0xab Brightness, contrast and gamma control * 0xb6 Sharpness control (bits 0-4) * * Register page 1: |