swf.h File Reference
#include "config.h"
#include "libavutil/fifo.h"
#include "avformat.h"
#include "avio.h"
#include "internal.h"
#include <assert.h>
Include dependency graph for swf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SWFContext
 

Macros

#define DUMMY_FILE_SIZE   (100 * 1024 * 1024)
 
#define DUMMY_DURATION   600 /* in seconds */
 
#define TAG_LONG   0x100
 
#define FLAG_MOVETO   0x01
 
#define FLAG_SETFILL0   0x02
 
#define FLAG_SETFILL1   0x04
 
#define AUDIO_FIFO_SIZE   65536
 
#define BITMAP_ID   0
 
#define VIDEO_ID   0
 
#define SHAPE_ID   1
 

Typedefs

typedef struct SWFContext SWFContext
 

Enumerations

enum  {
  TAG_END = 0, TAG_SHOWFRAME = 1, TAG_DEFINESHAPE = 2, TAG_FREECHARACTER = 3,
  TAG_PLACEOBJECT = 4, TAG_REMOVEOBJECT = 5, TAG_DEFINEBITS = 6, TAG_DEFINEBUTTON = 7,
  TAG_JPEGTABLES = 8, TAG_SETBACKGROUNDCOLOR = 9, TAG_DEFINEFONT = 10, TAG_DEFINETEXT = 11,
  TAG_DOACTION = 12, TAG_DEFINEFONTINFO = 13, TAG_DEFINESOUND = 14, TAG_STARTSOUND = 15,
  TAG_DEFINEBUTTONSOUND = 17, TAG_STREAMHEAD = 18, TAG_STREAMBLOCK = 19, TAG_DEFINEBITSLOSSLESS = 20,
  TAG_JPEG2 = 21, TAG_DEFINESHAPE2 = 22, TAG_DEFINEBUTTONCXFORM = 23, TAG_PROTECT = 24,
  TAG_PLACEOBJECT2 = 26, TAG_REMOVEOBJECT2 = 28, TAG_DEFINESHAPE3 = 32, TAG_DEFINETEXT2 = 33,
  TAG_DEFINEBUTTON2 = 34, TAG_DEFINEBITSJPEG3 = 35, TAG_DEFINEBITSLOSSLESS2 = 36, TAG_DEFINEEDITTEXT = 37,
  TAG_DEFINESPRITE = 39, TAG_FRAMELABEL = 43, TAG_STREAMHEAD2 = 45, TAG_DEFINEMORPHSHAPE = 46,
  TAG_DEFINEFONT2 = 48, TAG_EXPORTASSETS = 56, TAG_IMPORTASSETS = 57, TAG_ENABLEDEBUGGER = 58,
  TAG_DOINITACTION = 59, TAG_VIDEOSTREAM = 60, TAG_VIDEOFRAME = 61, TAG_DEFINEFONTINFO2 = 62,
  TAG_ENABLEDEBUGGER2 = 64, TAG_SCRIPTLIMITS = 65, TAG_SETTABINDEX = 66, TAG_FILEATTRIBUTES = 69,
  TAG_PLACEOBJECT3 = 70, TAG_IMPORTASSETS2 = 71, TAG_DEFINEFONTALIGNZONES = 73, TAG_CSMTEXTSETTINGS = 74,
  TAG_DEFINEFONT3 = 75, TAG_SYMBOLCLASS = 76, TAG_METADATA = 77, TAG_DEFINESCALINGGRID = 78,
  TAG_DOABC = 82, TAG_DEFINESHAPE4 = 83, TAG_DEFINEMORPHSHAPE2 = 84, TAG_DEFINESCENEANDFRAMELABELDATA = 86,
  TAG_DEFINEBINARYDATA = 87, TAG_DEFINEFONTNAME = 88, TAG_STARTSOUND2 = 89, TAG_DEFINEBITSJPEG4 = 90,
  TAG_DEFINEFONT4 = 91
}
 

Variables

const AVCodecTag ff_swf_codec_tags []
 

Macro Definition Documentation

#define AUDIO_FIFO_SIZE   65536

Definition at line 116 of file swf.h.

Referenced by swf_write_audio(), and swf_write_header().

#define BITMAP_ID   0

Definition at line 119 of file swf.h.

Referenced by swf_write_header(), and swf_write_video().

#define DUMMY_DURATION   600 /* in seconds */

Definition at line 39 of file swf.h.

Referenced by swf_write_header().

#define DUMMY_FILE_SIZE   (100 * 1024 * 1024)

Definition at line 38 of file swf.h.

Referenced by swf_write_header().

#define FLAG_MOVETO   0x01

Definition at line 112 of file swf.h.

Referenced by swf_write_header().

#define FLAG_SETFILL0   0x02

Definition at line 113 of file swf.h.

Referenced by swf_write_header().

#define FLAG_SETFILL1   0x04

Definition at line 114 of file swf.h.

#define SHAPE_ID   1

Definition at line 121 of file swf.h.

Referenced by swf_write_header(), and swf_write_video().

#define TAG_LONG   0x100

Definition at line 109 of file swf.h.

Referenced by put_swf_end_tag(), put_swf_tag(), and swf_write_video().

#define VIDEO_ID   0

Definition at line 120 of file swf.h.

Typedef Documentation

typedef struct SWFContext SWFContext

Enumeration Type Documentation

anonymous enum
Enumerator
TAG_END 
TAG_SHOWFRAME 
TAG_DEFINESHAPE 
TAG_FREECHARACTER 
TAG_PLACEOBJECT 
TAG_REMOVEOBJECT 
TAG_DEFINEBITS 
TAG_DEFINEBUTTON 
TAG_JPEGTABLES 
TAG_SETBACKGROUNDCOLOR 
TAG_DEFINEFONT 
TAG_DEFINETEXT 
TAG_DOACTION 
TAG_DEFINEFONTINFO 
TAG_DEFINESOUND 
TAG_STARTSOUND 
TAG_DEFINEBUTTONSOUND 
TAG_STREAMHEAD 
TAG_STREAMBLOCK 
TAG_DEFINEBITSLOSSLESS 
TAG_JPEG2 
TAG_DEFINESHAPE2 
TAG_DEFINEBUTTONCXFORM 
TAG_PROTECT 
TAG_PLACEOBJECT2 
TAG_REMOVEOBJECT2 
TAG_DEFINESHAPE3 
TAG_DEFINETEXT2 
TAG_DEFINEBUTTON2 
TAG_DEFINEBITSJPEG3 
TAG_DEFINEBITSLOSSLESS2 
TAG_DEFINEEDITTEXT 
TAG_DEFINESPRITE 
TAG_FRAMELABEL 
TAG_STREAMHEAD2 
TAG_DEFINEMORPHSHAPE 
TAG_DEFINEFONT2 
TAG_EXPORTASSETS 
TAG_IMPORTASSETS 
TAG_ENABLEDEBUGGER 
TAG_DOINITACTION 
TAG_VIDEOSTREAM 
TAG_VIDEOFRAME 
TAG_DEFINEFONTINFO2 
TAG_ENABLEDEBUGGER2 
TAG_SCRIPTLIMITS 
TAG_SETTABINDEX 
TAG_FILEATTRIBUTES 
TAG_PLACEOBJECT3 
TAG_IMPORTASSETS2 
TAG_DEFINEFONTALIGNZONES 
TAG_CSMTEXTSETTINGS 
TAG_DEFINEFONT3 
TAG_SYMBOLCLASS 
TAG_METADATA 
TAG_DEFINESCALINGGRID 
TAG_DOABC 
TAG_DEFINESHAPE4 
TAG_DEFINEMORPHSHAPE2 
TAG_DEFINESCENEANDFRAMELABELDATA 
TAG_DEFINEBINARYDATA 
TAG_DEFINEFONTNAME 
TAG_STARTSOUND2 
TAG_DEFINEBITSJPEG4 
TAG_DEFINEFONT4 

Definition at line 41 of file swf.h.

Variable Documentation

const AVCodecTag ff_swf_codec_tags[]

Definition at line 25 of file swf.c.

Referenced by swf_read_packet(), and swf_write_video().