FFmpeg  4.4.5
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 */
common internal API header
@ TAG_DEFINEBITS
Definition: swf.h:39
@ TAG_DEFINESHAPE3
Definition: swf.h:59
@ TAG_DEFINEFONTINFO
Definition: swf.h:46
@ TAG_PLACEOBJECT
Definition: swf.h:37
@ TAG_DOABC
Definition: swf.h:89
@ TAG_EXPORTASSETS
Definition: swf.h:70
@ TAG_DEFINEFONT2
Definition: swf.h:69
@ TAG_DEFINEFONT4
Definition: swf.h:97
@ TAG_IMPORTASSETS2
Definition: swf.h:82
@ TAG_DEFINEBINARYDATA
Definition: swf.h:93
@ TAG_DEFINEBITSLOSSLESS
Definition: swf.h:52
@ TAG_FREECHARACTER
Definition: swf.h:36
@ TAG_ENABLEDEBUGGER2
Definition: swf.h:77
@ TAG_DEFINEBUTTON2
Definition: swf.h:61
@ TAG_DEFINEFONTINFO2
Definition: swf.h:76
@ TAG_SETTABINDEX
Definition: swf.h:79
@ TAG_STREAMHEAD2
Definition: swf.h:67
@ TAG_STREAMHEAD
Definition: swf.h:50
@ TAG_DEFINEFONT3
Definition: swf.h:85
@ TAG_DEFINESCALINGGRID
Definition: swf.h:88
@ TAG_DEFINESHAPE2
Definition: swf.h:54
@ TAG_DEFINESOUND
Definition: swf.h:47
@ TAG_SYMBOLCLASS
Definition: swf.h:86
@ TAG_DEFINEFONTNAME
Definition: swf.h:94
@ TAG_DEFINESCENEANDFRAMELABELDATA
Definition: swf.h:92
@ TAG_FILEATTRIBUTES
Definition: swf.h:80
@ TAG_CSMTEXTSETTINGS
Definition: swf.h:84
@ TAG_REMOVEOBJECT
Definition: swf.h:38
@ TAG_FRAMELABEL
Definition: swf.h:66
@ TAG_STREAMBLOCK
Definition: swf.h:51
@ TAG_SETBACKGROUNDCOLOR
Definition: swf.h:42
@ TAG_DEFINEEDITTEXT
Definition: swf.h:64
@ TAG_DEFINEFONT
Definition: swf.h:43
@ TAG_VIDEOSTREAM
Definition: swf.h:74
@ TAG_DEFINEMORPHSHAPE
Definition: swf.h:68
@ TAG_STARTSOUND2
Definition: swf.h:95
@ TAG_ENABLEDEBUGGER
Definition: swf.h:72
@ TAG_JPEG2
Definition: swf.h:53
@ TAG_PROTECT
Definition: swf.h:56
@ TAG_DEFINEFONTALIGNZONES
Definition: swf.h:83
@ TAG_DEFINEBITSLOSSLESS2
Definition: swf.h:63
@ TAG_DEFINESHAPE
Definition: swf.h:35
@ TAG_DEFINEBUTTONSOUND
Definition: swf.h:49
@ TAG_PLACEOBJECT3
Definition: swf.h:81
@ TAG_DEFINEBITSJPEG4
Definition: swf.h:96
@ TAG_DEFINETEXT
Definition: swf.h:44
@ TAG_DEFINESHAPE4
Definition: swf.h:90
@ TAG_JPEGTABLES
Definition: swf.h:41
@ TAG_DEFINESPRITE
Definition: swf.h:65
@ TAG_STARTSOUND
Definition: swf.h:48
@ TAG_DEFINEMORPHSHAPE2
Definition: swf.h:91
@ TAG_DEFINEBITSJPEG3
Definition: swf.h:62
@ TAG_VIDEOFRAME
Definition: swf.h:75
@ TAG_END
Definition: swf.h:33
@ TAG_METADATA
Definition: swf.h:87
@ TAG_REMOVEOBJECT2
Definition: swf.h:58
@ TAG_DEFINEBUTTON
Definition: swf.h:40
@ TAG_SCRIPTLIMITS
Definition: swf.h:78
@ TAG_DEFINEBUTTONCXFORM
Definition: swf.h:55
@ TAG_IMPORTASSETS
Definition: swf.h:71
@ TAG_PLACEOBJECT2
Definition: swf.h:57
@ TAG_DOINITACTION
Definition: swf.h:73
@ TAG_DEFINETEXT2
Definition: swf.h:60
@ TAG_SHOWFRAME
Definition: swf.h:34
@ TAG_DOACTION
Definition: swf.h:45
const AVCodecTag ff_swf_codec_tags[]
Definition: swf.c:25