diff options
author | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-05-26 10:07:18 +0200 |
---|---|---|
committer | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-05-26 10:07:18 +0200 |
commit | 08f4c9bb91fbc3e348322f140e1a0c1f662b7478 (patch) | |
tree | c9b6ea88e4661f5f58b9392858ef71d4033cab7f /v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h | |
parent | 7b1960c67fb907d4885734c31a41898a9fe6dfa7 (diff) | |
download | mediapointer-dvb-s2-08f4c9bb91fbc3e348322f140e1a0c1f662b7478.tar.gz mediapointer-dvb-s2-08f4c9bb91fbc3e348322f140e1a0c1f662b7478.tar.bz2 |
libv4l: add gamma correction to video processing
From: Hans de Goede <hdegoede@redhat.com>
add gamma correction to the video processing, and enable it by default
(correct for a display gamma of 1.5) for pac207 based cams.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h')
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h b/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h index b848317f7..008d352ff 100644 --- a/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h +++ b/v4l2-apps/libv4l/libv4lconvert/processing/libv4lprocessing-priv.h @@ -39,6 +39,9 @@ struct v4lprocessing_data { unsigned char comp1[256]; unsigned char green[256]; unsigned char comp2[256]; + /* Filter private data for filters which need it */ + int last_gamma; + unsigned char gamma_table[256]; }; struct v4lprocessing_filter { @@ -51,5 +54,6 @@ struct v4lprocessing_filter { extern struct v4lprocessing_filter whitebalance_filter; extern struct v4lprocessing_filter autogain_filter; +extern struct v4lprocessing_filter gamma_filter; #endif |