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

static av_cold int v410_decode_init ( AVCodecContext avctx)
static

Definition at line 35 of file v410dec.c.

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().

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

AVCodec ff_v410_decoder
Initial value:
= {
.name = "v410",
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"),
.decode = v410_decode_frame,
}
static av_cold int v410_decode_init(AVCodecContext *avctx)
Definition: v410dec.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: avcodec.h:461
static int v410_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: v410dec.c:88
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
Definition: avcodec.h:465
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:405

Definition at line 119 of file v410dec.c.