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

const 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

◆ ff_flv_encoder

const AVCodec ff_flv_encoder
Initial value:
= {
.name = "flv",
.long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"),
.priv_class = &ff_mpv_enc_class,
.priv_data_size = sizeof(MpegEncContext),
}

Definition at line 94 of file flvenc.c.

FF_CODEC_CAP_INIT_THREADSAFE
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
Definition: internal.h:42
AVPixelFormat
AVPixelFormat
Pixel format.
Definition: pixfmt.h:64
init
static int init
Definition: av_tx.c:47
ff_mpv_encode_init
int ff_mpv_encode_init(AVCodecContext *avctx)
Definition: mpegvideo_enc.c:310
ff_mpv_encode_picture
int ff_mpv_encode_picture(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Definition: mpegvideo_enc.c:1712
pix_fmts
static enum AVPixelFormat pix_fmts[]
Definition: libkvazaar.c:296
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
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:117
FF_CODEC_CAP_INIT_CLEANUP
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
Definition: internal.h:50
ff_mpv_encode_end
int ff_mpv_encode_end(AVCodecContext *avctx)
Definition: mpegvideo_enc.c:965
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:65
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
ff_mpv_enc_class
const AVClass ff_mpv_enc_class
Definition: mpegvideo_enc.c:99
AV_CODEC_ID_FLV1
@ AV_CODEC_ID_FLV1
Definition: codec_id.h:71
MpegEncContext
MpegEncContext.
Definition: mpegvideo.h:71