FFmpeg  4.0
Functions | Variables
rv10enc.c File Reference

RV10 encoder. More...

#include "mpegvideo.h"
#include "put_bits.h"
#include "rv10.h"

Go to the source code of this file.

Functions

int ff_rv10_encode_picture_header (MpegEncContext *s, int picture_number)
 

Variables

static const AVClass rv10_class
 
AVCodec ff_rv10_encoder
 

Detailed Description

RV10 encoder.

Definition in file rv10enc.c.

Function Documentation

◆ ff_rv10_encode_picture_header()

int ff_rv10_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 32 of file rv10enc.c.

Referenced by encode_picture().

Variable Documentation

◆ rv10_class

const AVClass rv10_class
static
Initial value:
= {
.class_name = "rv10 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 66 of file rv10enc.c.

◆ ff_rv10_encoder

AVCodec ff_rv10_encoder
Initial value:
= {
.name = "rv10",
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
.priv_data_size = sizeof(MpegEncContext),
.priv_class = &rv10_class,
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static const AVClass rv10_class
Definition: rv10enc.c:66
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
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:62
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:60

Definition at line 73 of file rv10enc.c.