FFmpeg  4.0
Functions | Variables
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/imgutils.h"
#include "libavutil/internal.h"

Go to the source code of this file.

Functions

static av_cold int raw_encode_init (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 rawenc.c.

Function Documentation

◆ raw_encode_init()

static av_cold int raw_encode_init ( AVCodecContext avctx)
static

Definition at line 35 of file rawenc.c.

◆ raw_encode()

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

Definition at line 52 of file rawenc.c.

Variable Documentation

◆ ff_rawvideo_encoder

AVCodec ff_rawvideo_encoder
Initial value:
= {
.name = "rawvideo",
.long_name = NULL_IF_CONFIG_SMALL("raw video"),
.init = raw_encode_init,
.encode2 = raw_encode,
}
static int raw_encode(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Definition: rawenc.c:52
static av_cold int raw_encode_init(AVCodecContext *avctx)
Definition: rawenc.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186

Definition at line 88 of file rawenc.c.