videolevels: add ROI properties, defaulting to center half of image

This commit is contained in:
Joshua M. Doe
2021-07-09 10:17:59 -04:00
parent a0d62b4651
commit 47ca2f3910
2 changed files with 136 additions and 27 deletions

View File

@@ -85,12 +85,17 @@ struct _GstVideoLevels
gint upper_output;
gfloat lower_pix_sat;
gfloat upper_pix_sat;
gint roi_x;
gint roi_y;
gint roi_width;
gint roi_height;
/* tables */
gpointer lookup_table;
GstVideoLevelsAuto auto_adjust;
guint64 interval;
gboolean check_roi;
gint nbins;
gint * histogram;