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__
28 #endif /* __cplusplus */
33 FLX_PREFIX_TYPE = 0xf100,
34 FLX_SCRIPT_CHUNK = 0xf1e0,
35 FLX_FRAME_TYPE = 0xf1fa,
36 FLX_SEGMENT_TABLE = 0xf1fb,
37 FLX_HUFFMAN_TABLE = 0xf1fc,
67 FLX_MAGICHDR_FLI = 0xaf11,
68 FLX_MAGICHDR_FLC = 0xaf12,
69 FLX_MAGICHDR_FLX = 0xaf44,
70 FLX_MAGICHDR_HUFFBWT = 0xaf30,
75 typedef struct _FlxHeader
80 guint16 width,height,depth,flags;
84 guint32 created,creator,updated,updater;
85 guint16 aspect_dx, aspect_dy;
87 guint16 ext_flags,keyframes,totalframes;
89 guint16 max_regions,transp_num;
92 guint32 oframe1,oframe2;
95 #define FlxHeaderSize 128
97 typedef struct _FlxFrameChunk
102 #define FlxFrameChunkSize 6
104 typedef struct _FlxPrefixChunk
110 typedef struct _FlxSegmentTable
115 typedef struct _FlxHuffmanTable
122 typedef struct _FlxFrameType
128 #define FlxFrameTypeSize 10
133 #endif /* __cplusplus */
136 #endif /* __GST_FLX_FMT_H__ */