rv20enc.c File Reference

RV20 encoder. More...

#include "mpegvideo.h"
#include "h263.h"
#include "put_bits.h"

Go to the source code of this file.

Functions

void rv20_encode_picture_header (MpegEncContext *s, int picture_number)
 

Variables

AVCodec ff_rv20_encoder
 

Detailed Description

RV20 encoder.

Definition in file rv20enc.c.

Function Documentation

void rv20_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 32 of file rv20enc.c.

Referenced by encode_picture().

Variable Documentation

AVCodec ff_rv20_encoder
Initial value:
= {
.name = "rv20",
.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("RealVideo 2.0"),
}
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 60 of file rv20enc.c.