libavformat/swf.h File Reference

#include "libavutil/fifo.h"
#include "avformat.h"
#include "avio.h"
#include "riff.h"
#include <assert.h>

Go to the source code of this file.

Data Structures

struct  SWFContext

Defines

#define DUMMY_FILE_SIZE   (100 * 1024 * 1024)
#define DUMMY_DURATION   600
#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

static const AVCodecTag swf_codec_tags []
static const AVCodecTag swf_audio_codec_tags []


Define Documentation

#define AUDIO_FIFO_SIZE   65536

Definition at line 57 of file swf.h.

Referenced by swf_write_audio(), and swf_write_header().

#define BITMAP_ID   0

Definition at line 60 of file swf.h.

Referenced by swf_write_header(), and swf_write_video().

#define DUMMY_DURATION   600

Definition at line 33 of file swf.h.

Referenced by swf_write_header().

#define DUMMY_FILE_SIZE   (100 * 1024 * 1024)

Definition at line 32 of file swf.h.

Referenced by swf_write_header().

#define FLAG_MOVETO   0x01

Definition at line 53 of file swf.h.

Referenced by swf_write_header().

#define FLAG_SETFILL0   0x02

Definition at line 54 of file swf.h.

Referenced by swf_write_header().

#define FLAG_SETFILL1   0x04

Definition at line 55 of file swf.h.

#define SHAPE_ID   1

Definition at line 62 of file swf.h.

Referenced by swf_write_header(), and swf_write_video().

#define TAG_DEFINESHAPE   2

Definition at line 37 of file swf.h.

Referenced by swf_write_header().

#define TAG_END   0

Definition at line 35 of file swf.h.

Referenced by swf_write_trailer().

#define TAG_FILEATTRIBUTES   69

Definition at line 48 of file swf.h.

Referenced by swf_write_header().

#define TAG_FREECHARACTER   3

Definition at line 38 of file swf.h.

Referenced by swf_write_video().

#define TAG_JPEG2   21

Definition at line 43 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

#define TAG_LONG   0x100

Definition at line 50 of file swf.h.

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

#define TAG_PLACEOBJECT   4

Definition at line 39 of file swf.h.

Referenced by swf_write_video().

#define TAG_PLACEOBJECT2   26

Definition at line 44 of file swf.h.

Referenced by swf_write_video().

#define TAG_REMOVEOBJECT   5

Definition at line 40 of file swf.h.

Referenced by swf_write_video().

#define TAG_SHOWFRAME   1

Definition at line 36 of file swf.h.

Referenced by swf_write_video().

#define TAG_STREAMBLOCK   19

Definition at line 42 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

#define TAG_STREAMHEAD   18

Definition at line 41 of file swf.h.

Referenced by swf_read_packet().

#define TAG_STREAMHEAD2   45

Definition at line 45 of file swf.h.

Referenced by swf_read_packet(), and swf_write_header().

#define TAG_VIDEOFRAME   61

Definition at line 47 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

#define TAG_VIDEOSTREAM   60

Definition at line 46 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().

#define VIDEO_ID   0

Definition at line 61 of file swf.h.


Variable Documentation

const AVCodecTag swf_audio_codec_tags[] [static]

Initial value:

 {
    {CODEC_ID_PCM_S16LE,  0x00},
    {CODEC_ID_ADPCM_SWF,  0x01},
    {CODEC_ID_MP3,        0x02},
    {CODEC_ID_PCM_S16LE,  0x03},
  
    {0, 0},
}

Definition at line 88 of file swf.h.

Referenced by swf_read_packet().

const AVCodecTag swf_codec_tags[] [static]

Initial value:

 {
    {CODEC_ID_FLV1, 0x02},
    {CODEC_ID_VP6F, 0x04},
    {0, 0},
}

Definition at line 82 of file swf.h.

Referenced by swf_read_packet(), and swf_write_video().


Generated on Fri Oct 26 02:35:46 2012 for FFmpeg by  doxygen 1.5.8