diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-08 07:59:16 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-08 09:08:16 +0200 |
commit | 8433f7a9c61547ed509201e2cedf9212fb7d7d63 (patch) | |
tree | 7e520c73e2377cc65925bd0e3f4f694855f3ec20 /gst/rawparse/gstvideoparse.h | |
parent | 986190892662219a6b1f265219957a8c7a15b299 (diff) | |
download | gst-plugins-bad-8433f7a9c61547ed509201e2cedf9212fb7d7d63.tar.gz gst-plugins-bad-8433f7a9c61547ed509201e2cedf9212fb7d7d63.tar.bz2 gst-plugins-bad-8433f7a9c61547ed509201e2cedf9212fb7d7d63.zip |
videoparse: Use libgstvideo for everything instead of our own calculations
Also make RGB usage easier by providing xRGB, RGBx, etc. formats
instead of requiring to set red_mask and friends.
Diffstat (limited to 'gst/rawparse/gstvideoparse.h')
-rw-r--r-- | gst/rawparse/gstvideoparse.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/gst/rawparse/gstvideoparse.h b/gst/rawparse/gstvideoparse.h index da210ea1..d2e2b363 100644 --- a/gst/rawparse/gstvideoparse.h +++ b/gst/rawparse/gstvideoparse.h @@ -1,6 +1,6 @@ /* GStreamer * Copyright (C) 2006 David A. Schleef <ds@schleef.org> - * Copyright (C) 2007 Sebastian Dröge <slomo@circular-chaos.org> + * Copyright (C) 2007,2009 Sebastian Dröge <sebastian.droege@collabora.co.uk> * * gstvideoparse.h: * @@ -49,20 +49,12 @@ struct _GstVideoParse GstRawParse parent; /* properties */ - int width; - int height; - guint32 format; - int par_n; - int par_d; + GstVideoFormat format; + gint width; + gint height; + gint par_n, par_d; gboolean interlaced; gboolean top_field_first; - int bpp; - int depth; - int endianness; - int red_mask; - int blue_mask; - int green_mask; - int alpha_mask; }; struct _GstVideoParseClass |