videolevels: add auto adjust mode and fix calculations

This commit is contained in:
Joshua M. Doe
2010-04-14 07:26:55 -04:00
parent fdfc42a3b5
commit 9257139bca
2 changed files with 284 additions and 102 deletions

View File

@@ -68,6 +68,13 @@ struct _GstVideoLevels
/* tables */
guint8* levels_table;
gint auto_adjust;
guint64 interval;
gfloat lower_pix_sat;
gfloat upper_pix_sat;
gint nbins;
gint * histogram;
};
struct _GstVideoLevelsClass