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., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
21 #ifndef __GST_FLX_FMT_H__
22 #define __GST_FLX_FMT_H__
31 FLX_PREFIX_TYPE = 0xf100,
32 FLX_SCRIPT_CHUNK = 0xf1e0,
33 FLX_FRAME_TYPE = 0xf1fa,
34 FLX_SEGMENT_TABLE = 0xf1fb,
35 FLX_HUFFMAN_TABLE = 0xf1fc,
65 FLX_MAGICHDR_FLI = 0xaf11,
66 FLX_MAGICHDR_FLC = 0xaf12,
67 FLX_MAGICHDR_FLX = 0xaf44,
68 FLX_MAGICHDR_HUFFBWT = 0xaf30
71 typedef struct _FlxHeader
76 guint16 width,height,depth,flags;
80 guint32 created,creator,updated,updater;
81 guint16 aspect_dx, aspect_dy;
83 guint16 ext_flags,keyframes,totalframes;
85 guint16 max_regions,transp_num;
88 guint32 oframe1,oframe2;
91 #define FlxHeaderSize 128
93 typedef struct _FlxFrameChunk
98 #define FlxFrameChunkSize 6
100 typedef struct _FlxPrefixChunk
106 typedef struct _FlxSegmentTable
111 typedef struct _FlxHuffmanTable
118 typedef struct _FlxFrameType
124 #define FlxFrameTypeSize 10
128 #endif /* __GST_FLX_FMT_H__ */