libavformat/swfenc.c File Reference

#include "libavcodec/put_bits.h"
#include "avformat.h"
#include "swf.h"

Go to the source code of this file.

Defines

#define FRAC_BITS   16

Functions

static void put_swf_tag (AVFormatContext *s, int tag)
static void put_swf_end_tag (AVFormatContext *s)
static void max_nbits (int *nbits_ptr, int val)
static void put_swf_rect (AVIOContext *pb, int xmin, int xmax, int ymin, int ymax)
static void put_swf_line_edge (PutBitContext *pb, int dx, int dy)
static void put_swf_matrix (AVIOContext *pb, int a, int b, int c, int d, int tx, int ty)
static int swf_write_header (AVFormatContext *s)
static int swf_write_video (AVFormatContext *s, AVCodecContext *enc, const uint8_t *buf, int size)
static int swf_write_audio (AVFormatContext *s, AVCodecContext *enc, uint8_t *buf, int size)
static int swf_write_packet (AVFormatContext *s, AVPacket *pkt)
static int swf_write_trailer (AVFormatContext *s)


Define Documentation

#define FRAC_BITS   16

Definition at line 135 of file swfenc.c.


Function Documentation

static void max_nbits ( int *  nbits_ptr,
int  val 
) [inline, static]

Definition at line 65 of file swfenc.c.

Referenced by put_swf_line_edge(), put_swf_matrix(), and put_swf_rect().

static void put_swf_end_tag ( AVFormatContext s  )  [static]

Definition at line 43 of file swfenc.c.

Referenced by swf_write_header(), swf_write_trailer(), and swf_write_video().

static void put_swf_line_edge ( PutBitContext pb,
int  dx,
int  dy 
) [static]

Definition at line 108 of file swfenc.c.

Referenced by swf_write_header().

static void put_swf_matrix ( AVIOContext pb,
int  a,
int  b,
int  c,
int  d,
int  tx,
int  ty 
) [static]

Definition at line 137 of file swfenc.c.

Referenced by swf_write_header(), and swf_write_video().

static void put_swf_rect ( AVIOContext pb,
int  xmin,
int  xmax,
int  ymin,
int  ymax 
) [static]

Definition at line 81 of file swfenc.c.

Referenced by swf_write_header().

static void put_swf_tag ( AVFormatContext s,
int  tag 
) [static]

Definition at line 27 of file swfenc.c.

Referenced by swf_write_header(), swf_write_trailer(), and swf_write_video().

static int swf_write_audio ( AVFormatContext s,
AVCodecContext enc,
uint8_t *  buf,
int  size 
) [static]

Definition at line 440 of file swfenc.c.

Referenced by swf_write_packet().

static int swf_write_header ( AVFormatContext s  )  [static]

Definition at line 173 of file swfenc.c.

static int swf_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 464 of file swfenc.c.

static int swf_write_trailer ( AVFormatContext s  )  [static]

Definition at line 473 of file swfenc.c.

static int swf_write_video ( AVFormatContext s,
AVCodecContext enc,
const uint8_t *  buf,
int  size 
) [static]

Definition at line 333 of file swfenc.c.

Referenced by swf_write_audio(), and swf_write_packet().


Generated on Fri Oct 26 02:39:49 2012 for FFmpeg by  doxygen 1.5.8