summaryrefslogtreecommitdiffstats
path: root/gst/matroska/ebml-read.h
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
committerJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
commit5acffea623eaa95469a8fb77260c85240c6c0a41 (patch)
tree5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /gst/matroska/ebml-read.h
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'gst/matroska/ebml-read.h')
-rw-r--r--gst/matroska/ebml-read.h68
1 files changed, 44 insertions, 24 deletions
diff --git a/gst/matroska/ebml-read.h b/gst/matroska/ebml-read.h
index c7a981dc..d78d13ce 100644
--- a/gst/matroska/ebml-read.h
+++ b/gst/matroska/ebml-read.h
@@ -27,6 +27,7 @@
#include <gst/bytestream/bytestream.h>
G_BEGIN_DECLS
+
#define GST_TYPE_EBML_READ \
(gst_ebml_read_get_type ())
#define GST_EBML_READ(obj) \
@@ -39,13 +40,13 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_EBML_READ))
#define GST_EBML_READ_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_EBML_READ, GstEbmlReadClass))
- typedef struct _GstEbmlLevel
-{
- guint64 start, length;
+
+typedef struct _GstEbmlLevel {
+ guint64 start,
+ length;
} GstEbmlLevel;
-typedef struct _GstEbmlRead
-{
+typedef struct _GstEbmlRead {
GstElement parent;
GstPad *sinkpad;
@@ -54,29 +55,48 @@ typedef struct _GstEbmlRead
GList *level;
} GstEbmlRead;
-typedef struct _GstEbmlReadClass
-{
+typedef struct _GstEbmlReadClass {
GstElementClass parent;
} GstEbmlReadClass;
-GType gst_ebml_read_get_type (void);
+GType gst_ebml_read_get_type (void);
-guint32 gst_ebml_peek_id (GstEbmlRead * ebml, guint * level_up);
-GstEvent *gst_ebml_read_seek (GstEbmlRead * ebml, guint64 offset);
-gboolean gst_ebml_read_skip (GstEbmlRead * ebml);
-gboolean gst_ebml_read_buffer (GstEbmlRead * ebml,
- guint32 * id, GstBuffer ** buf);
-gboolean gst_ebml_read_uint (GstEbmlRead * ebml, guint32 * id, guint64 * num);
-gboolean gst_ebml_read_sint (GstEbmlRead * ebml, guint32 * id, gint64 * num);
-gboolean gst_ebml_read_float (GstEbmlRead * ebml, guint32 * id, gdouble * num);
-gboolean gst_ebml_read_ascii (GstEbmlRead * ebml, guint32 * id, gchar ** str);
-gboolean gst_ebml_read_utf8 (GstEbmlRead * ebml, guint32 * id, gchar ** str);
-gboolean gst_ebml_read_date (GstEbmlRead * ebml, guint32 * id, gint64 * date);
-gboolean gst_ebml_read_master (GstEbmlRead * ebml, guint32 * id);
-gboolean gst_ebml_read_binary (GstEbmlRead * ebml,
- guint32 * id, guint8 ** binary, guint64 * length);
-gboolean gst_ebml_read_header (GstEbmlRead * read,
- gchar ** doctype, guint * version);
+guint32 gst_ebml_peek_id (GstEbmlRead *ebml,
+ guint *level_up);
+GstEvent *gst_ebml_read_seek (GstEbmlRead *ebml,
+ guint64 offset);
+gboolean gst_ebml_read_skip (GstEbmlRead *ebml);
+gboolean gst_ebml_read_buffer (GstEbmlRead *ebml,
+ guint32 *id,
+ GstBuffer **buf);
+gboolean gst_ebml_read_uint (GstEbmlRead *ebml,
+ guint32 *id,
+ guint64 *num);
+gboolean gst_ebml_read_sint (GstEbmlRead *ebml,
+ guint32 *id,
+ gint64 *num);
+gboolean gst_ebml_read_float (GstEbmlRead *ebml,
+ guint32 *id,
+ gdouble *num);
+gboolean gst_ebml_read_ascii (GstEbmlRead *ebml,
+ guint32 *id,
+ gchar **str);
+gboolean gst_ebml_read_utf8 (GstEbmlRead *ebml,
+ guint32 *id,
+ gchar **str);
+gboolean gst_ebml_read_date (GstEbmlRead *ebml,
+ guint32 *id,
+ gint64 *date);
+gboolean gst_ebml_read_master (GstEbmlRead *ebml,
+ guint32 *id);
+gboolean gst_ebml_read_binary (GstEbmlRead *ebml,
+ guint32 *id,
+ guint8 **binary,
+ guint64 *length);
+gboolean gst_ebml_read_header (GstEbmlRead *read,
+ gchar **doctype,
+ guint *version);
G_END_DECLS
+
#endif /* __GST_EBML_READ_H__ */