FFmpeg
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

◆ ff_flv_encode_picture_header()

void ff_flv_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 27 of file flvenc.c.

Referenced by encode_picture().

◆ ff_flv2_encode_ac_esc()

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

◆ flv_class

const AVClass flv_class
static
Initial value:
= {
.class_name = "flv encoder",
.item_name = av_default_item_name,
}

Definition at line 94 of file flvenc.c.

◆ ff_flv_encoder

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,
}

Definition at line 101 of file flvenc.c.

AVPixelFormat
AVPixelFormat
Pixel format.
Definition: pixfmt.h:64
init
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
ff_mpv_encode_init
int ff_mpv_encode_init(AVCodecContext *avctx)
Definition: mpegvideo_enc.c:288
ff_mpv_encode_picture
int ff_mpv_encode_picture(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Definition: mpegvideo_enc.c:1824
pix_fmts
static enum AVPixelFormat pix_fmts[]
Definition: libkvazaar.c:275
AV_PIX_FMT_YUV420P
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:66
LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
av_default_item_name
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:235
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
ff_mpv_generic_options
const AVOption ff_mpv_generic_options[]
Definition: mpegvideo_enc.c:85
ff_mpv_encode_end
int ff_mpv_encode_end(AVCodecContext *avctx)
Definition: mpegvideo_enc.c:1072
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:65
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
flv_class
static const AVClass flv_class
Definition: flvenc.c:94
AV_CODEC_ID_FLV1
@ AV_CODEC_ID_FLV1
Definition: codec_id.h:70
MpegEncContext
MpegEncContext.
Definition: mpegvideo.h:81