libavcodec/rawenc.c File Reference

Raw Video Encoder. More...

#include "avcodec.h"
#include "raw.h"
#include "internal.h"
#include "libavutil/pixdesc.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/internal.h"
Include dependency graph for libavcodec/rawenc.c:

Go to the source code of this file.

Functions

static av_cold int raw_init_encoder (AVCodecContext *avctx)
 
static int raw_encode (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
 

Variables

AVCodec ff_rawvideo_encoder
 

Detailed Description

Raw Video Encoder.

Definition in file libavcodec/rawenc.c.

Function Documentation

static int raw_encode ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame frame,
int *  got_packet 
)
static

Definition at line 47 of file libavcodec/rawenc.c.

static av_cold int raw_init_encoder ( AVCodecContext avctx)
static

Definition at line 34 of file libavcodec/rawenc.c.

Variable Documentation

AVCodec ff_rawvideo_encoder
Initial value:
= {
.name = "rawvideo",
.priv_data_size = sizeof(AVFrame),
.encode2 = raw_encode,
.long_name = NULL_IF_CONFIG_SMALL("raw video"),
}
struct AVFrame AVFrame
This structure describes decoded (raw) audio or video data.
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int raw_encode(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
static av_cold int raw_init_encoder(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...

Definition at line 72 of file libavcodec/rawenc.c.