2 * Flash Compatible Streaming Format common header.
3 * Copyright (c) 2000 Fabrice Bellard
4 * Copyright (c) 2003 Tinic Uro
6 * This file is part of FFmpeg.
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.
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.
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
23 #ifndef AVFORMAT_SWF_H
24 #define AVFORMAT_SWF_H
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 */
36 TAG_FREECHARACTER
= 3,
42 TAG_SETBACKGROUNDCOLOR
= 9,
46 TAG_DEFINEFONTINFO
= 13,
49 TAG_DEFINEBUTTONSOUND
= 17,
52 TAG_DEFINEBITSLOSSLESS
= 20,
54 TAG_DEFINESHAPE2
= 22,
55 TAG_DEFINEBUTTONCXFORM
= 23,
57 TAG_PLACEOBJECT2
= 26,
58 TAG_REMOVEOBJECT2
= 28,
59 TAG_DEFINESHAPE3
= 32,
61 TAG_DEFINEBUTTON2
= 34,
62 TAG_DEFINEBITSJPEG3
= 35,
63 TAG_DEFINEBITSLOSSLESS2
= 36,
64 TAG_DEFINEEDITTEXT
= 37,
65 TAG_DEFINESPRITE
= 39,
68 TAG_DEFINEMORPHSHAPE
= 46,
70 TAG_EXPORTASSETS
= 56,
71 TAG_IMPORTASSETS
= 57,
72 TAG_ENABLEDEBUGGER
= 58,
73 TAG_DOINITACTION
= 59,
76 TAG_DEFINEFONTINFO2
= 62,
77 TAG_ENABLEDEBUGGER2
= 64,
78 TAG_SCRIPTLIMITS
= 65,
80 TAG_FILEATTRIBUTES
= 69,
81 TAG_PLACEOBJECT3
= 70,
82 TAG_IMPORTASSETS2
= 71,
83 TAG_DEFINEFONTALIGNZONES
= 73,
84 TAG_CSMTEXTSETTINGS
= 74,
88 TAG_DEFINESCALINGGRID
= 78,
90 TAG_DEFINESHAPE4
= 83,
91 TAG_DEFINEMORPHSHAPE2
= 84,
92 TAG_DEFINESCENEANDFRAMELABELDATA
= 86,
93 TAG_DEFINEBINARYDATA
= 87,
94 TAG_DEFINEFONTNAME
= 88,
96 TAG_DEFINEBITSJPEG4
= 90,
100 #define TAG_LONG 0x100
102 /* flags for shape definition */
103 #define FLAG_MOVETO 0x01
104 #define FLAG_SETFILL0 0x02
105 #define FLAG_SETFILL1 0x04
107 /* character id used */
112 extern const AVCodecTag ff_swf_codec_tags
[];
114 #endif /* AVFORMAT_SWF_H */