FFmpeg
Data Structures | Functions | Variables
vcr1.c File Reference
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "libavutil/avassert.h"
#include "libavutil/internal.h"

Go to the source code of this file.

Data Structures

struct  VCR1Context
 

Functions

static av_cold int vcr1_decode_init (AVCodecContext *avctx)
 
static int vcr1_decode_frame (AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt)
 

Variables

const FFCodec ff_vcr1_decoder
 

Detailed Description

ATI VCR1 codec

Definition in file vcr1.c.

Function Documentation

◆ vcr1_decode_init()

static av_cold int vcr1_decode_init ( AVCodecContext avctx)
static

Definition at line 38 of file vcr1.c.

◆ vcr1_decode_frame()

static int vcr1_decode_frame ( AVCodecContext avctx,
AVFrame p,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 50 of file vcr1.c.

Variable Documentation

◆ ff_vcr1_decoder

const FFCodec ff_vcr1_decoder
Initial value:
= {
.p.name = "vcr1",
CODEC_LONG_NAME("ATI VCR1"),
.p.type = AVMEDIA_TYPE_VIDEO,
.priv_data_size = sizeof(VCR1Context),
.p.capabilities = AV_CODEC_CAP_DR1,
}

Definition at line 122 of file vcr1.c.

VCR1Context
Definition: vcr1.c:33
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_ID_VCR1
@ AV_CODEC_ID_VCR1
Definition: codec_id.h:87
vcr1_decode_frame
static int vcr1_decode_frame(AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt)
Definition: vcr1.c:50
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:368
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
vcr1_decode_init
static av_cold int vcr1_decode_init(AVCodecContext *avctx)
Definition: vcr1.c:38
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201