videolevels: use more of the video library
But gst_video_format_get_component_depth is broken in 0.10.36, so manually get bpp for now.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#define __GST_VIDEO_LEVELS_H__
|
||||
|
||||
#include <gst/video/gstvideofilter.h>
|
||||
#include <gst/video/video.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@@ -72,15 +73,10 @@ struct _GstVideoLevels
|
||||
gint width;
|
||||
gint height;
|
||||
|
||||
guint stride_in;
|
||||
GstVideoFormat format_in;
|
||||
GstVideoFormat format_out;
|
||||
gint bpp_in;
|
||||
gint depth_in;
|
||||
gint endianness_in;
|
||||
|
||||
guint stride_out;
|
||||
gint bpp_out;
|
||||
gint depth_out;
|
||||
gint endianness_out;
|
||||
|
||||
/* properties */
|
||||
gdouble lower_input;
|
||||
|
||||
Reference in New Issue
Block a user