fbce2aa77a1c81af70b791c0ea2218c853b0f459
[platform/upstream/gstreamer.git] / gst / gstformat.h
1 /* GStreamer
2  * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3  *                    2000 Wim Taymans <wim.taymans@chello.be>
4  *
5  * gstevent.h: Header for GstEvent subsystem
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22
23
24 #ifndef __GST_FORMAT_H__
25 #define __GST_FORMAT_H__
26
27 #include <glib.h>
28
29 G_BEGIN_DECLS
30
31 typedef enum {
32   GST_FORMAT_NONE       = 0,
33   GST_FORMAT_DEFAULT    = 1,
34   GST_FORMAT_BYTES      = 2,
35   GST_FORMAT_TIME       = 6,
36   GST_FORMAT_BUFFERS    = 7,
37   GST_FORMAT_PERCENT    = 8,
38
39   /* audio related */
40   GST_FORMAT_SAMPLES    = 3,
41
42   /* video related */
43   GST_FORMAT_FRAMES     = 4,
44   GST_FORMAT_FIELDS     = 5,
45 } GstFormat;
46
47 G_END_DECLS
48
49 #endif /* __GST_FORMAT_H__ */