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., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef __GST_QUARK_H__
23 #define __GST_QUARK_H__
27 /* These enums need to match the number and order
28 * of strings declared in _quark_table, in gstquark.c */
29 typedef enum _GstQuarkId
32 GST_QUARK_CURRENT = 1,
33 GST_QUARK_DURATION = 2,
35 GST_QUARK_SEEKABLE = 4,
36 GST_QUARK_SEGMENT_START = 5,
37 GST_QUARK_SEGMENT_END = 6,
38 GST_QUARK_SRC_FORMAT = 7,
39 GST_QUARK_SRC_VALUE = 8,
40 GST_QUARK_DEST_FORMAT = 9,
41 GST_QUARK_DEST_VALUE = 10,
42 GST_QUARK_START_FORMAT = 11,
43 GST_QUARK_START_VALUE = 12,
44 GST_QUARK_STOP_FORMAT = 13,
45 GST_QUARK_STOP_VALUE = 14,
46 GST_QUARK_GERROR = 15,
48 GST_QUARK_BUFFER_PERCENT = 17,
49 GST_QUARK_BUFFERING_MODE = 18,
50 GST_QUARK_AVG_IN_RATE = 19,
51 GST_QUARK_AVG_OUT_RATE = 20,
52 GST_QUARK_BUFFERING_LEFT = 21,
53 GST_QUARK_ESTIMATED_TOTAL = 22,
54 GST_QUARK_OLD_STATE = 23,
55 GST_QUARK_NEW_STATE = 24,
56 GST_QUARK_PENDING_STATE = 25,
59 GST_QUARK_POSITION = 28,
60 GST_QUARK_RESET_TIME = 29,
62 GST_QUARK_MIN_LATENCY = 31,
63 GST_QUARK_MAX_LATENCY = 32,
67 GST_QUARK_UPDATE = 36,
68 GST_QUARK_APPLIED_RATE = 37,
71 GST_QUARK_MINSIZE = 40,
72 GST_QUARK_MAXSIZE = 41,
74 GST_QUARK_PROPORTION = 43,
76 GST_QUARK_TIMESTAMP = 45,
78 GST_QUARK_CUR_TYPE = 47,
80 GST_QUARK_STOP_TYPE = 49,
81 GST_QUARK_LATENCY = 50,
83 GST_QUARK_OBJECT = 52,
84 GST_QUARK_TAGLIST = 53,
85 GST_QUARK_EVENT_SEGMENT = 54,
86 GST_QUARK_EVENT_BUFFER_SIZE = 55,
87 GST_QUARK_EVENT_QOS = 56,
88 GST_QUARK_EVENT_SEEK = 57,
89 GST_QUARK_EVENT_LATENCY = 58,
90 GST_QUARK_MESSAGE_ERROR = 59,
91 GST_QUARK_MESSAGE_WARNING = 60,
92 GST_QUARK_MESSAGE_INFO = 61,
93 GST_QUARK_MESSAGE_BUFFERING = 62,
94 GST_QUARK_MESSAGE_STATE_CHANGED = 63,
95 GST_QUARK_MESSAGE_CLOCK_PROVIDE = 64,
96 GST_QUARK_MESSAGE_CLOCK_LOST = 65,
97 GST_QUARK_MESSAGE_NEW_CLOCK = 66,
98 GST_QUARK_MESSAGE_STRUCTURE_CHANGE = 67,
99 GST_QUARK_MESSAGE_SEGMENT_START = 68,
100 GST_QUARK_MESSAGE_SEGMENT_DONE = 69,
101 GST_QUARK_MESSAGE_DURATION_CHANGED = 70,
102 GST_QUARK_MESSAGE_ASYNC_DONE = 71,
103 GST_QUARK_MESSAGE_REQUEST_STATE = 72,
104 GST_QUARK_MESSAGE_STREAM_STATUS = 73,
105 GST_QUARK_QUERY_POSITION = 74,
106 GST_QUARK_QUERY_DURATION = 75,
107 GST_QUARK_QUERY_LATENCY = 76,
108 GST_QUARK_QUERY_CONVERT = 77,
109 GST_QUARK_QUERY_SEGMENT = 78,
110 GST_QUARK_QUERY_SEEKING = 79,
111 GST_QUARK_QUERY_FORMATS = 80,
112 GST_QUARK_QUERY_BUFFERING = 81,
113 GST_QUARK_QUERY_URI = 82,
114 GST_QUARK_EVENT_STEP = 83,
115 GST_QUARK_MESSAGE_STEP_DONE = 84,
116 GST_QUARK_AMOUNT = 85,
117 GST_QUARK_FLUSH = 86,
118 GST_QUARK_INTERMEDIATE = 87,
119 GST_QUARK_MESSAGE_STEP_START = 88,
120 GST_QUARK_ACTIVE = 89,
122 GST_QUARK_EVENT_SINK_MESSAGE = 91,
123 GST_QUARK_MESSAGE = 92,
124 GST_QUARK_MESSAGE_QOS = 93,
125 GST_QUARK_RUNNING_TIME = 94,
126 GST_QUARK_STREAM_TIME = 95,
127 GST_QUARK_JITTER = 96,
128 GST_QUARK_QUALITY = 97,
129 GST_QUARK_PROCESSED = 98,
130 GST_QUARK_DROPPED = 99,
131 GST_QUARK_BUFFERING_RANGES = 100,
132 GST_QUARK_MESSAGE_PROGRESS = 101,
133 GST_QUARK_CODE = 102,
134 GST_QUARK_TEXT = 103,
135 GST_QUARK_PERCENT = 104,
136 GST_QUARK_TIMEOUT = 105,
137 GST_QUARK_BUFFER_POOL_CONFIG = 106,
138 GST_QUARK_CAPS = 107,
139 GST_QUARK_SIZE = 108,
140 GST_QUARK_MIN_BUFFERS = 109,
141 GST_QUARK_MAX_BUFFERS = 110,
142 GST_QUARK_PREFIX = 111,
143 GST_QUARK_PADDING = 112,
144 GST_QUARK_ALIGN = 113,
145 GST_QUARK_TIME = 114,
146 GST_QUARK_QUERY_ALLOCATION = 115,
147 GST_QUARK_NEED_POOL = 116,
148 GST_QUARK_META = 117,
149 GST_QUARK_POOL = 118,
150 GST_QUARK_EVENT_CAPS = 119,
151 GST_QUARK_EVENT_RECONFIGURE = 120,
152 GST_QUARK_SEGMENT = 121,
153 GST_QUARK_QUERY_SCHEDULING = 122,
154 GST_QUARK_PULL_MODE = 123,
155 GST_QUARK_ALLOCATOR = 124,
156 GST_QUARK_EVENT_FLUSH_STOP = 125,
157 GST_QUARK_OPTIONS = 126,
158 GST_QUARK_QUERY_ACCEPT_CAPS = 127,
159 GST_QUARK_RESULT = 128,
160 GST_QUARK_QUERY_CAPS = 129,
161 GST_QUARK_FILTER = 130,
162 GST_QUARK_MODES = 131,
163 GST_QUARK_EVENT_STREAM_CONFIG = 132,
164 GST_QUARK_SETUP_DATA = 133,
165 GST_QUARK_STREAM_HEADERS = 134,
166 GST_QUARK_EVENT_GAP = 135,
167 GST_QUARK_QUERY_DRAIN = 136,
168 GST_QUARK_PARAMS = 137,
169 GST_QUARK_EVENT_TOC_SELECT = 138,
171 GST_QUARK_QUERY_TOC = 140,
172 GST_QUARK_ELEMENT_METADATA_LONGNAME = 141,
173 GST_QUARK_ELEMENT_METADATA_KLASS = 142,
174 GST_QUARK_ELEMENT_METADATA_DESCRIPTION = 143,
175 GST_QUARK_ELEMENT_METADATA_AUTHOR = 144,
177 GST_QUARK_TOC_ENTRY = 146,
178 GST_QUARK_UPDATED = 147,
179 GST_QUARK_EXTEND_UID = 148,
180 GST_QUARK_TOC_UID = 149,
181 GST_QUARK_TAGS = 150,
182 GST_QUARK_SUB_ENTRIES = 151,
183 GST_QUARK_INFO = 152,
184 GST_QUARK_MESSAGE_TAG = 153,
185 GST_QUARK_EVENT_TAG = 154,
186 GST_QUARK_MESSAGE_RESET_TIME = 155,
187 GST_QUARK_MESSAGE_TOC = 156,
188 GST_QUARK_EVENT_TOC_GLOBAL = 157,
189 GST_QUARK_EVENT_TOC_CURRENT = 158,
190 GST_QUARK_EVENT_SEGMENT_DONE = 159,
191 GST_QUARK_EVENT_STREAM_START = 160,
192 GST_QUARK_STREAM_ID = 161,
193 GST_QUARK_QUERY_CONTEXT = 162,
194 GST_QUARK_MESSAGE_NEED_CONTEXT = 163,
195 GST_QUARK_MESSAGE_HAVE_CONTEXT = 164,
196 GST_QUARK_CONTEXT = 165,
197 GST_QUARK_CONTEXT_TYPE = 166,
198 GST_QUARK_MESSAGE_STREAM_START = 167,
199 GST_QUARK_GROUP_ID = 168,
200 GST_QUARK_URI_REDIRECTION = 169,
201 GST_QUARK_MESSAGE_DEVICE_ADDED = 170,
202 GST_QUARK_MESSAGE_DEVICE_REMOVED = 171,
203 GST_QUARK_DEVICE = 172,
204 GST_QUARK_URI_REDIRECTION_PERMANENT = 173,
205 GST_QUARK_MESSAGE_PROPERTY_NOTIFY = 174,
206 GST_QUARK_PROPERTY_NAME = 175,
207 GST_QUARK_PROPERTY_VALUE = 176,
208 GST_QUARK_STREAMS = 177,
209 GST_QUARK_EVENT_SELECT_STREAMS = 178,
210 GST_QUARK_MESSAGE_STREAM_COLLECTION = 179,
211 GST_QUARK_COLLECTION = 180,
212 GST_QUARK_STREAM = 181,
213 GST_QUARK_EVENT_STREAM_COLLECTION = 182,
214 GST_QUARK_MESSAGE_STREAMS_SELECTED = 183,
215 GST_QUARK_MESSAGE_REDIRECT = 184,
216 GST_QUARK_REDIRECT_ENTRY_LOCATIONS = 185,
217 GST_QUARK_REDIRECT_ENTRY_TAGLISTS = 186,
218 GST_QUARK_REDIRECT_ENTRY_STRUCTURES = 187,
219 GST_QUARK_EVENT_STREAM_GROUP_DONE = 188,
223 extern GQuark _priv_gst_quark_table[GST_QUARK_MAX];
225 #define GST_QUARK(q) _priv_gst_quark_table[GST_QUARK_##q]