2 * Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
26 static const gchar *_quark_strings[] = {
35 "object-model-version",
39 "operational-pattern",
43 "this-generation-uid",
53 "essence-container-data",
59 "package-creation-date",
60 "package-modified-date",
78 "structural-components",
81 "rounded-timecode-base",
89 "event-start-position",
99 "generic-picture-essence-descriptor",
115 "active-format-descriptor",
118 "alpha-transparency",
120 "image-alignment-offset",
121 "image-start-offset",
124 "picture-essence-coding",
125 "cdci-picture-essence-descriptor",
127 "horizontal-subsampling",
128 "vertical-subsampling",
130 "reversed-byte-order",
132 "alpha-sample-depth",
136 "rgba-picture-essence-descriptor",
141 "scanning-direction",
143 "generic-sound-essence-descriptor",
144 "audio-sampling-rate",
147 "electro-spatial-formulation",
151 "sound-essence-compression",
152 "generic-data-essence-descriptor",
153 "data-essence-coding",
154 "multiple-descriptor",
160 "wave-audio-essence-descriptor",
164 "channel-assignment",
165 "peak-envelope-version",
166 "peak-envelope-format",
167 "points-per-peak-value",
168 "peak-envelope-block-size",
171 "peak-of-peaks-position",
172 "peak-envelope-timestamp",
173 "peak-envelope-data",
174 "aes3-audio-essence-descriptor",
176 "block-start-offset",
177 "auxiliary-bits-mode",
178 "channel-status-mode",
179 "fixed-channel-status-data",
182 "linked-timecode-track-id",
184 "mpeg-video-descriptor",
187 "coded-content-type",
197 GQuark _mxf_quark_table[MXF_QUARK_MAX];
200 mxf_quark_initialize (void)
204 if (G_N_ELEMENTS (_quark_strings) != MXF_QUARK_MAX)
205 g_warning ("the quark table is not consistent! %d != %d",
206 (int) G_N_ELEMENTS (_quark_strings), MXF_QUARK_MAX);
208 for (i = 0; i < MXF_QUARK_MAX; i++) {
209 _mxf_quark_table[i] = g_quark_from_static_string (_quark_strings[i]);