summaryrefslogtreecommitdiffstats
path: root/gst/videofilter/gstvideobalance.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-25 11:17:11 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-25 11:17:11 +0000
commit44c6a27972d7eb46bacae125151ab78fa32b0f01 (patch)
treef5b2be83dad197b350025d218e94a7fbf3caabcf /gst/videofilter/gstvideobalance.h
parent2c82da7073399d3e3cd40967458faab8f503dc8c (diff)
gst/videofilter/gstvideobalance.*: Implement lookup-tables. +/- 10x faster.
Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose), (gst_videobalance_init), (gst_videobalance_colorbalance_list_channels), (gst_videobalance_colorbalance_set_value), (gst_videobalance_colorbalance_get_value), (gst_videobalance_update_properties), (gst_videobalance_update_tables_planar411), (gst_videobalance_planar411): * gst/videofilter/gstvideobalance.h: Implement lookup-tables. +/- 10x faster.
Diffstat (limited to 'gst/videofilter/gstvideobalance.h')
-rw-r--r--gst/videofilter/gstvideobalance.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gst/videofilter/gstvideobalance.h b/gst/videofilter/gstvideobalance.h
index f0856dde..45aab910 100644
--- a/gst/videofilter/gstvideobalance.h
+++ b/gst/videofilter/gstvideobalance.h
@@ -46,10 +46,13 @@ typedef struct _GstVideobalanceClass GstVideobalanceClass;
struct _GstVideobalance {
GstVideofilter videofilter;
- double contrast;
- double brightness;
- double hue;
- double saturation;
+ guint8 *tabley, **tableu, **tablev;
+ gboolean needupdate;
+
+ gdouble contrast;
+ gdouble brightness;
+ gdouble hue;
+ gdouble saturation;
GList *channels;
};