2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
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.
21 #ifndef __GST_FLX_FMT__H__
22 #define __GST_FLX_FMT_H__
29 #endif /* __cplusplus */
34 FLX_PREFIX_TYPE = 0xf100,
35 FLX_SCRIPT_CHUNK = 0xf1e0,
36 FLX_FRAME_TYPE = 0xf1fa,
37 FLX_SEGMENT_TABLE = 0xf1fb,
38 FLX_HUFFMAN_TABLE = 0xf1fc,
68 FLX_MAGICHDR_FLI = 0xaf11,
69 FLX_MAGICHDR_FLC = 0xaf12,
70 FLX_MAGICHDR_FLX = 0xaf44,
71 FLX_MAGICHDR_HUFFBWT = 0xaf30,
76 typedef struct _FlxHeader
81 guint16 width, height, depth, flags;
85 guint32 created, creator, updated, updater;
86 guint16 aspect_dx, aspect_dy;
88 guint16 ext_flags, keyframes, totalframes;
90 guint16 max_regions, transp_num;
93 guint32 oframe1, oframe2;
96 #define FlxHeaderSize 128
98 typedef struct _FlxFrameChunk
103 #define FlxFrameChunkSize 6
105 typedef struct _FlxPrefixChunk
111 typedef struct _FlxSegmentTable
116 typedef struct _FlxHuffmanTable
123 typedef struct _FlxFrameType
129 #define FlxFrameTypeSize 10
134 #endif /* __cplusplus */
137 #endif /* __GST_FLX_FMT_H__ */