FFmpeg
Data Structures | Functions | Variables
v410dec.c File Reference
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
#include "thread.h"

Go to the source code of this file.

Data Structures

struct  ThreadData
 Used for passing data between threads. More...
 

Functions

static av_cold int v410_decode_init (AVCodecContext *avctx)
 
static int v410_decode_slice (AVCodecContext *avctx, void *arg, int jobnr, int threadnr)
 
static int v410_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_v410_decoder
 

Function Documentation

◆ v410_decode_init()

static av_cold int v410_decode_init ( AVCodecContext avctx)
static

Definition at line 35 of file v410dec.c.

◆ v410_decode_slice()

static int v410_decode_slice ( AVCodecContext avctx,
void *  arg,
int  jobnr,
int  threadnr 
)
static

Definition at line 52 of file v410dec.c.

Referenced by v410_decode_frame().

◆ v410_decode_frame()

static int v410_decode_frame ( AVCodecContext avctx,
void *  data,
int got_frame,
AVPacket avpkt 
)
static

Definition at line 88 of file v410dec.c.

Variable Documentation

◆ ff_v410_decoder

AVCodec ff_v410_decoder
Initial value:
= {
.name = "v410",
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"),
.decode = v410_decode_frame,
}

Definition at line 119 of file v410dec.c.

v410_decode_init
static av_cold int v410_decode_init(AVCodecContext *avctx)
Definition: v410dec.c:35
AV_CODEC_CAP_FRAME_THREADS
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: codec.h:106
AV_CODEC_CAP_DR1
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: codec.h:50
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
AV_CODEC_CAP_SLICE_THREADS
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
Definition: codec.h:110
v410_decode_frame
static int v410_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: v410dec.c:88
AV_CODEC_ID_V410
@ AV_CODEC_ID_V410
Definition: codec_id.h:206
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201