1 /*
2 * nut
3 * Copyright (c) 2004-2007 Michael Niedermayer
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg 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 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
27
35 };
36
40 };
41
121
130
139
148
150
161
164
177
179 };
180
188 };
189
215 };
216
220 };
221
223 {
224 int i;
231 }
232
234 {
237 return ((lsb - delta) &
mask) + delta;
238 }
239
241 {
242 return ((a->
pos - b->
pos) >> 32) - ((b->
pos - a->
pos) >> 32);
243 }
244
246 {
247 return ((a->
ts - b->
ts) >> 32) - ((b->
ts - a->
ts) >> 32);
248 }
249
251 {
254
255 if (!sp || !node) {
259 }
260
262
267 if (node) {
270 }
271
272 return 0;
273 }
274
276 {
278 return 0;
279 }
280
282 {
285 }
286
294 { "", 0 }
295 };
296
298 { "Author", "artist" },
299 { "X-CreationTime", "date" },
300 { "CreationTime", "date" },
301 { "SourceFilename", "filename" },
302 { "X-Language", "language" },
303 { "X-Disposition", "disposition" },
304 { "X-Replaces", "replaces" },
305 { "X-Depends", "depends" },
306 { "X-Uses", "uses" },
307 { "X-UsesFont", "usesfont" },
308 { 0 },
309 };