FFmpeg
Data Structures | Functions | Variables
v410dec.c File Reference
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "codec_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, AVFrame *pic, int *got_frame, AVPacket *avpkt)
 

Variables

const FFCodec 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 54 of file v410dec.c.

Referenced by v410_decode_frame().

◆ v410_decode_frame()

static int v410_decode_frame ( AVCodecContext avctx,
AVFrame pic,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 90 of file v410dec.c.

Variable Documentation

◆ ff_v410_decoder

const FFCodec ff_v410_decoder
Initial value:
= {
.p.name = "v410",
CODEC_LONG_NAME("Uncompressed 4:4:4 10-bit"),
.p.type = AVMEDIA_TYPE_VIDEO,
}

Definition at line 116 of file v410dec.c.

v410_decode_init
static av_cold int v410_decode_init(AVCodecContext *avctx)
Definition: v410dec.c:35
v410_decode_frame
static int v410_decode_frame(AVCodecContext *avctx, AVFrame *pic, int *got_frame, AVPacket *avpkt)
Definition: v410dec.c:90
FF_CODEC_DECODE_CB
#define FF_CODEC_DECODE_CB(func)
Definition: codec_internal.h:311
CODEC_LONG_NAME
#define CODEC_LONG_NAME(str)
Definition: codec_internal.h:296
AV_CODEC_CAP_FRAME_THREADS
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: codec.h:110
AV_CODEC_CAP_DR1
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
Definition: codec.h:52
AV_CODEC_CAP_SLICE_THREADS
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
Definition: codec.h:114
AV_CODEC_ID_V410
@ AV_CODEC_ID_V410
Definition: codec_id.h:210
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201