summaryrefslogtreecommitdiffstats
path: root/gst/rawparse/gstvideoparse.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-08-08 07:59:16 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-08-08 09:08:16 +0200
commit8433f7a9c61547ed509201e2cedf9212fb7d7d63 (patch)
tree7e520c73e2377cc65925bd0e3f4f694855f3ec20 /gst/rawparse/gstvideoparse.h
parent986190892662219a6b1f265219957a8c7a15b299 (diff)
downloadgst-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.h18
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