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,
82 GST_QUARK_TAGLIST = 53,
83 GST_QUARK_EVENT_NEWSEGMENT = 54,
84 GST_QUARK_EVENT_BUFFER_SIZE = 55,
85 GST_QUARK_EVENT_QOS = 56,
86 GST_QUARK_EVENT_SEEK = 57,
87 GST_QUARK_EVENT_LATENCY = 58,
88 GST_QUARK_MESSAGE_ERROR = 59,
89 GST_QUARK_MESSAGE_WARNING = 60,
90 GST_QUARK_MESSAGE_INFO = 61,
91 GST_QUARK_MESSAGE_BUFFERING = 62,
92 GST_QUARK_MESSAGE_STATE = 63,
93 GST_QUARK_MESSAGE_CLOCK_PROVIDE = 64,
94 GST_QUARK_MESSAGE_CLOCK_LOST = 65,
95 GST_QUARK_MESSAGE_NEW_CLOCK = 66,
96 GST_QUARK_MESSAGE_STRUCTURE_CHANGE = 67,
97 GST_QUARK_MESSAGE_SEGMENT_START = 68,
98 GST_QUARK_MESSAGE_SEGMENT_DONE = 69,
99 GST_QUARK_MESSAGE_DURATION = 70,
100 GST_QUARK_MESSAGE_ASYNC_START = 71,
101 GST_QUARK_MESSAGE_REQUEST_STATE = 72,
102 GST_QUARK_MESSAGE_STREAM_STATUS = 73,
103 GST_QUARK_QUERY_POSITION = 74,
104 GST_QUARK_QUERY_DURATION = 75,
105 GST_QUARK_QUERY_LATENCY = 76,
106 GST_QUARK_QUERY_CONVERT = 77,
107 GST_QUARK_QUERY_SEGMENT = 78,
108 GST_QUARK_QUERY_SEEKING = 79,
109 GST_QUARK_QUERY_FORMATS = 80,
110 GST_QUARK_QUERY_BUFFERING = 81,
111 GST_QUARK_QUERY_URI = 82,
112 GST_QUARK_EVENT_STEP = 83,
113 GST_QUARK_MESSAGE_STEP_DONE = 84,
114 GST_QUARK_AMOUNT = 85,
115 GST_QUARK_FLUSH = 86,
116 GST_QUARK_INTERMEDIATE = 87,
117 GST_QUARK_MESSAGE_STEP_START = 88,
118 GST_QUARK_ACTIVE = 89,
120 GST_QUARK_EVENT_SINK_MESSAGE = 91,
121 GST_QUARK_MESSAGE = 92,
122 GST_QUARK_MESSAGE_QOS = 93,
123 GST_QUARK_RUNNING_TIME = 94,
124 GST_QUARK_STREAM_TIME = 95,
125 GST_QUARK_JITTER = 96,
126 GST_QUARK_QUALITY = 97,
127 GST_QUARK_PROCESSED = 98,
128 GST_QUARK_DROPPED = 99,
129 GST_QUARK_BUFFERING_RANGES = 100,
130 GST_QUARK_MESSAGE_PROGRESS = 101,
131 GST_QUARK_CODE = 102,
132 GST_QUARK_TEXT = 103,
133 GST_QUARK_PERCENT = 104,
134 GST_QUARK_TIMEOUT = 105,
139 extern GQuark _priv_gst_quark_table[GST_QUARK_MAX];
141 #define GST_QUARK(q) _priv_gst_quark_table[GST_QUARK_##q]