2 * Copyright (C) 2006 Jan Schmidt <thaytan@noraisin.net>
4 * gstquark.h: Private header for storing quark info
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __GST_QUARK_H__
23 #define __GST_QUARK_H__
25 /* These enums need to match the number and order
26 * of strings declared in _quark_table, in gstquark.c */
27 typedef enum _GstQuarkId
30 GST_QUARK_CURRENT = 1,
31 GST_QUARK_DURATION = 2,
33 GST_QUARK_SEEKABLE = 4,
34 GST_QUARK_SEGMENT_START = 5,
35 GST_QUARK_SEGMENT_END = 6,
36 GST_QUARK_SRC_FORMAT = 7,
37 GST_QUARK_SRC_VALUE = 8,
38 GST_QUARK_DEST_FORMAT = 9,
39 GST_QUARK_DEST_VALUE = 10,
40 GST_QUARK_START_FORMAT = 11,
41 GST_QUARK_START_VALUE = 12,
42 GST_QUARK_STOP_FORMAT = 13,
43 GST_QUARK_STOP_VALUE = 14,
44 GST_QUARK_GERROR = 15,
46 GST_QUARK_BUFFER_PERCENT = 17,
47 GST_QUARK_BUFFERING_MODE = 18,
48 GST_QUARK_AVG_IN_RATE = 19,
49 GST_QUARK_AVG_OUT_RATE = 20,
50 GST_QUARK_BUFFERING_LEFT = 21,
51 GST_QUARK_ESTIMATED_TOTAL = 22,
52 GST_QUARK_OLD_STATE = 23,
53 GST_QUARK_NEW_STATE = 24,
54 GST_QUARK_PENDING_STATE = 25,
57 GST_QUARK_POSITION = 28,
58 GST_QUARK_NEW_BASE_TIME = 29,
60 GST_QUARK_MIN_LATENCY = 31,
61 GST_QUARK_MAX_LATENCY = 32,
65 GST_QUARK_UPDATE = 36,
66 GST_QUARK_APPLIED_RATE = 37,
69 GST_QUARK_MINSIZE = 40,
70 GST_QUARK_MAXSIZE = 41,
72 GST_QUARK_PROPORTION = 43,
74 GST_QUARK_TIMESTAMP = 45,
76 GST_QUARK_CUR_TYPE = 47,
78 GST_QUARK_STOP_TYPE = 49,
79 GST_QUARK_LATENCY = 50,
81 GST_QUARK_OBJECT = 52,
86 extern GQuark _priv_gst_quark_table[GST_QUARK_MAX];
88 #define GST_QUARK(q) _priv_gst_quark_table[GST_QUARK_##q]