v410enc.c File Reference
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

Go to the source code of this file.

Functions

static av_cold int v410_encode_init (AVCodecContext *avctx)
 
static int v410_encode_frame (AVCodecContext *avctx, uint8_t *buf, int buf_size, void *data)
 
static av_cold int v410_encode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_v410_encoder
 

Function Documentation

static av_cold int v410_encode_close ( AVCodecContext avctx)
static

Definition at line 83 of file v410enc.c.

static int v410_encode_frame ( AVCodecContext avctx,
uint8_t *  buf,
int  buf_size,
void data 
)
static

Definition at line 43 of file v410enc.c.

static av_cold int v410_encode_init ( AVCodecContext avctx)
static

Definition at line 26 of file v410enc.c.

Variable Documentation

AVCodec ff_v410_encoder
Initial value:
= {
.name = "v410",
.encode = v410_encode_frame,
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV444P10, PIX_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"),
}
static av_cold int v410_encode_init(AVCodecContext *avctx)
Definition: v410enc.c:26
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
PixelFormat
Pixel format.
Definition: pixfmt.h:62
#define PIX_FMT_YUV444P10
Definition: pixfmt.h:189
static av_cold int v410_encode_close(AVCodecContext *avctx)
Definition: v410enc.c:83
static int v410_encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void *data)
Definition: v410enc.c:43

Definition at line 90 of file v410enc.c.