Libav
Data Structures | Macros | Variables
swf.h File Reference
#include "config.h"
#include "libavutil/fifo.h"
#include "avformat.h"
#include "avio.h"
#include "internal.h"

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_END   0
 
#define TAG_SHOWFRAME   1
 
#define TAG_DEFINESHAPE   2
 
#define TAG_FREECHARACTER   3
 
#define TAG_PLACEOBJECT   4
 
#define TAG_REMOVEOBJECT   5
 
#define TAG_STREAMHEAD   18
 
#define TAG_STREAMBLOCK   19
 
#define TAG_JPEG2   21
 
#define TAG_PLACEOBJECT2   26
 
#define TAG_STREAMHEAD2   45
 
#define TAG_VIDEOSTREAM   60
 
#define TAG_VIDEOFRAME   61
 
#define TAG_FILEATTRIBUTES   69
 
#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
 

Variables

const AVCodecTag ff_swf_codec_tags []
 

Macro Definition Documentation

◆ DUMMY_FILE_SIZE

#define DUMMY_FILE_SIZE   (100 * 1024 * 1024)

Definition at line 38 of file swf.h.

Referenced by swf_write_header().

◆ DUMMY_DURATION

#define DUMMY_DURATION   600 /* in seconds */

Definition at line 39 of file swf.h.

Referenced by swf_write_header().

◆ TAG_END

#define TAG_END   0

Definition at line 41 of file swf.h.

Referenced by swf_write_trailer().

◆ TAG_SHOWFRAME

#define TAG_SHOWFRAME   1

Definition at line 42 of file swf.h.

Referenced by swf_write_video().

◆ TAG_DEFINESHAPE

#define TAG_DEFINESHAPE   2

Definition at line 43 of file swf.h.

Referenced by swf_write_header().

◆ TAG_FREECHARACTER

#define TAG_FREECHARACTER   3

Definition at line 44 of file swf.h.

Referenced by swf_write_video().

◆ TAG_PLACEOBJECT

#define TAG_PLACEOBJECT   4

Definition at line 45 of file swf.h.

Referenced by swf_write_video().

◆ TAG_REMOVEOBJECT

#define TAG_REMOVEOBJECT   5

Definition at line 46 of file swf.h.

Referenced by swf_write_video().

◆ TAG_STREAMHEAD

#define TAG_STREAMHEAD   18

Definition at line 47 of file swf.h.

Referenced by swf_read_packet().

◆ TAG_STREAMBLOCK

#define TAG_STREAMBLOCK   19

Definition at line 48 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

◆ TAG_JPEG2

#define TAG_JPEG2   21

Definition at line 49 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

◆ TAG_PLACEOBJECT2

#define TAG_PLACEOBJECT2   26

Definition at line 50 of file swf.h.

Referenced by swf_write_video().

◆ TAG_STREAMHEAD2

#define TAG_STREAMHEAD2   45

Definition at line 51 of file swf.h.

Referenced by swf_read_packet(), and swf_write_header().

◆ TAG_VIDEOSTREAM

#define TAG_VIDEOSTREAM   60

Definition at line 52 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

◆ TAG_VIDEOFRAME

#define TAG_VIDEOFRAME   61

Definition at line 53 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

◆ TAG_FILEATTRIBUTES

#define TAG_FILEATTRIBUTES   69

Definition at line 54 of file swf.h.

Referenced by swf_write_header().

◆ TAG_LONG

#define TAG_LONG   0x100

Definition at line 56 of file swf.h.

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

◆ FLAG_MOVETO

#define FLAG_MOVETO   0x01

Definition at line 59 of file swf.h.

Referenced by swf_write_header().

◆ FLAG_SETFILL0

#define FLAG_SETFILL0   0x02

Definition at line 60 of file swf.h.

Referenced by swf_write_header().

◆ FLAG_SETFILL1

#define FLAG_SETFILL1   0x04

Definition at line 61 of file swf.h.

◆ AUDIO_FIFO_SIZE

#define AUDIO_FIFO_SIZE   65536

Definition at line 63 of file swf.h.

Referenced by swf_write_audio(), and swf_write_header().

◆ BITMAP_ID

#define BITMAP_ID   0

Definition at line 66 of file swf.h.

Referenced by swf_write_header(), and swf_write_video().

◆ VIDEO_ID

#define VIDEO_ID   0

Definition at line 67 of file swf.h.

◆ SHAPE_ID

#define SHAPE_ID   1

Definition at line 68 of file swf.h.

Referenced by swf_write_header(), and swf_write_video().

Variable Documentation

◆ ff_swf_codec_tags

const AVCodecTag ff_swf_codec_tags[]

Definition at line 25 of file swf.c.

Referenced by swf_read_packet(), and swf_write_video().