FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
flvenc.c File Reference
#include "flv.h"
#include "h263.h"
#include "h263data.h"
#include "mpegvideo.h"
#include "mpegvideodata.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

static const AVClass flv_class
 
AVCodec ff_flv_encoder
 

Function Documentation

void ff_flv_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 27 of file flvenc.c.

Referenced by encode_picture().

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

Definition at line 75 of file flvenc.c.

Referenced by h263_encode_block().

Variable Documentation

const AVClass flv_class
static
Initial value:
= {
.class_name = "flv encoder",
.item_name = av_default_item_name,
}
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:191
const AVOption ff_mpv_generic_options[]
Definition: mpegvideo_enc.c:85

Definition at line 94 of file flvenc.c.

AVCodec ff_flv_encoder
Initial value:
= {
.name = "flv",
.long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"),
.priv_data_size = sizeof(MpegEncContext),
.priv_class = &flv_class,
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static const AVClass flv_class
Definition: flvenc.c:94
int ff_mpv_encode_init(AVCodecContext *avctx)
static enum AVPixelFormat pix_fmts[]
Definition: libkvazaar.c:266
MpegEncContext.
Definition: mpegvideo.h:81
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:66
int ff_mpv_encode_end(AVCodecContext *avctx)
int ff_mpv_encode_picture(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
AVPixelFormat
Pixel format.
Definition: pixfmt.h:64

Definition at line 101 of file flvenc.c.