flvenc.c File Reference
#include "mpegvideo.h"
#include "h263.h"
#include "flv.h"

Go to the source code of this file.

Functions

void ff_flv_encode_picture_header (MpegEncContext *s, int picture_number)
 
void ff_flv2_encode_ac_esc (PutBitContext *pb, int slevel, int level, int run, int last)
 

Variables

AVCodec ff_flv_encoder
 

Function Documentation

void ff_flv2_encode_ac_esc ( PutBitContext pb,
int  slevel,
int  level,
int  run,
int  last 
)

Definition at line 70 of file flvenc.c.

Referenced by h263_encode_block().

void ff_flv_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 24 of file flvenc.c.

Referenced by encode_picture().

Variable Documentation

AVCodec ff_flv_encoder
Initial value:
= {
.name = "flv",
.priv_data_size = sizeof(MpegEncContext),
.encode = MPV_encode_picture,
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
.long_name= NULL_IF_CONFIG_SMALL("Flash Video (FLV) / Sorenson Spark / Sorenson H.263"),
}
struct MpegEncContext MpegEncContext
MpegEncContext.
int MPV_encode_init(AVCodecContext *avctx)
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:64
static int init(AVCodecParserContext *s)
Definition: h264_parser.c:336
int MPV_encode_end(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
int MPV_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:327
PixelFormat
Pixel format.
Definition: pixfmt.h:62

Definition at line 87 of file flvenc.c.