#include "config_components.h"
#include "libavcodec/put_bits.h"
#include "libavutil/avassert.h"
#include "libavutil/fifo.h"
#include "avformat.h"
#include "flv.h"
#include "mux.h"
#include "swf.h"
Go to the source code of this file.
|
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 | fifo_avio_wrapper (void *opaque, void *buf, size_t *nb_elems) |
|
static int | swf_write_video (AVFormatContext *s, AVCodecParameters *par, const uint8_t *buf, int size, unsigned pkt_flags) |
|
static int | swf_write_audio (AVFormatContext *s, AVCodecParameters *par, const uint8_t *buf, int size) |
|
static int | swf_write_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int | swf_write_trailer (AVFormatContext *s) |
|
static void | swf_deinit (AVFormatContext *s) |
|
◆ AUDIO_FIFO_SIZE
#define AUDIO_FIFO_SIZE 65536 |
◆ FRAC_BITS
◆ put_swf_tag()
◆ put_swf_end_tag()
◆ max_nbits()
static void max_nbits |
( |
int * |
nbits_ptr, |
|
|
int |
val |
|
) |
| |
|
inlinestatic |
◆ put_swf_rect()
static void put_swf_rect |
( |
AVIOContext * |
pb, |
|
|
int |
xmin, |
|
|
int |
xmax, |
|
|
int |
ymin, |
|
|
int |
ymax |
|
) |
| |
|
static |
◆ put_swf_line_edge()
static void put_swf_line_edge |
( |
PutBitContext * |
pb, |
|
|
int |
dx, |
|
|
int |
dy |
|
) |
| |
|
static |
◆ put_swf_matrix()
static void put_swf_matrix |
( |
AVIOContext * |
pb, |
|
|
int |
a, |
|
|
int |
b, |
|
|
int |
c, |
|
|
int |
d, |
|
|
int |
tx, |
|
|
int |
ty |
|
) |
| |
|
static |
◆ swf_write_header()
◆ fifo_avio_wrapper()
static int fifo_avio_wrapper |
( |
void * |
opaque, |
|
|
void * |
buf, |
|
|
size_t * |
nb_elems |
|
) |
| |
|
static |
◆ swf_write_video()
◆ swf_write_audio()
◆ swf_write_packet()
◆ swf_write_trailer()
◆ swf_deinit()