FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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/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)
 
static av_cold int raw_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_rawvideo_encoder
 

Detailed Description

Raw Video Encoder.

Definition in file rawenc.c.

Function Documentation

static av_cold int raw_encode_init ( AVCodecContext avctx)
static

Definition at line 34 of file rawenc.c.

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

Definition at line 46 of file rawenc.c.

static av_cold int raw_close ( AVCodecContext avctx)
static

Definition at line 71 of file rawenc.c.

Variable Documentation

AVCodec ff_rawvideo_encoder
Initial value:
= {
.name = "rawvideo",
.long_name = NULL_IF_CONFIG_SMALL("raw video"),
.init = raw_encode_init,
.encode2 = raw_encode,
.close = raw_close,
}

Definition at line 77 of file rawenc.c.