FFmpeg
swf.h
Go to the documentation of this file.
1 /*
2  * Flash Compatible Streaming Format common header.
3  * Copyright (c) 2000 Fabrice Bellard
4  * Copyright (c) 2003 Tinic Uro
5  *
6  * This file is part of FFmpeg.
7  *
8  * FFmpeg is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * FFmpeg is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with FFmpeg; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 
23 #ifndef AVFORMAT_SWF_H
24 #define AVFORMAT_SWF_H
25 
26 #include "internal.h"
27 
28 /* should have a generic way to indicate probable size */
29 #define DUMMY_FILE_SIZE (100 * 1024 * 1024)
30 #define DUMMY_DURATION 600 /* in seconds */
31 
32 enum {
33  TAG_END = 0,
53  TAG_JPEG2 = 21,
89  TAG_DOABC = 82,
98 };
99 
100 #define TAG_LONG 0x100
101 
102 /* flags for shape definition */
103 #define FLAG_MOVETO 0x01
104 #define FLAG_SETFILL0 0x02
105 #define FLAG_SETFILL1 0x04
106 
107 /* character id used */
108 #define BITMAP_ID 0
109 #define VIDEO_ID 0
110 #define SHAPE_ID 1
111 
112 extern const AVCodecTag ff_swf_codec_tags[];
113 
114 #endif /* AVFORMAT_SWF_H */
Definition: swf.h:33
Definition: swf.h:53
Definition: swf.h:89
const AVCodecTag ff_swf_codec_tags[]
Definition: swf.c:25