#include "libavcodec/bitstream.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 (ByteIOContext *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 (ByteIOContext *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) |
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] |
static void put_swf_matrix | ( | ByteIOContext * | pb, | |
int | a, | |||
int | b, | |||
int | c, | |||
int | d, | |||
int | tx, | |||
int | ty | |||
) | [static] |
static void put_swf_rect | ( | ByteIOContext * | pb, | |
int | xmin, | |||
int | xmax, | |||
int | ymin, | |||
int | ymax | |||
) | [static] |
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] |
static int swf_write_header | ( | AVFormatContext * | s | ) | [static] |
static int swf_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int swf_write_trailer | ( | AVFormatContext * | s | ) | [static] |
static int swf_write_video | ( | AVFormatContext * | s, | |
AVCodecContext * | enc, | |||
const uint8_t * | buf, | |||
int | size | |||
) | [static] |