rawenc.c File Reference

Raw Video Encoder. More...

#include "avcodec.h"
#include "raw.h"
#include "libavutil/pixdesc.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Functions

static av_cold int raw_init_encoder (AVCodecContext *avctx)
 
static int raw_encode (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data)
 

Variables

AVCodec ff_rawvideo_encoder
 

Detailed Description

Raw Video Encoder.

Definition in file rawenc.c.

Function Documentation

static int raw_encode ( AVCodecContext avctx,
unsigned char *  frame,
int  buf_size,
void data 
)
static

Definition at line 43 of file rawenc.c.

static av_cold int raw_init_encoder ( AVCodecContext avctx)
static

Definition at line 32 of file rawenc.c.

Variable Documentation

AVCodec ff_rawvideo_encoder
Initial value:
= {
.name = "rawvideo",
.priv_data_size = sizeof(AVFrame),
.encode = raw_encode,
.long_name = NULL_IF_CONFIG_SMALL("raw video"),
}
static int init(AVCodecParserContext *s)
Definition: h264_parser.c:336
static av_cold int raw_init_encoder(AVCodecContext *avctx)
Definition: rawenc.c:32
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
struct AVFrame AVFrame
Audio Video Frame.
static int raw_encode(AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data)
Definition: rawenc.c:43

Definition at line 58 of file rawenc.c.