vcr1.c File Reference

ATI VCR1 codec. More...

#include "avcodec.h"
#include "internal.h"
#include "libavutil/internal.h"
Include dependency graph for vcr1.c:

Go to the source code of this file.

Data Structures

struct  VCR1Context
 

Typedefs

typedef struct VCR1Context VCR1Context
 

Functions

static av_cold int vcr1_decode_init (AVCodecContext *avctx)
 
static int vcr1_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_vcr1_decoder
 

Detailed Description

ATI VCR1 codec.

Definition in file vcr1.c.

Typedef Documentation

typedef struct VCR1Context VCR1Context

Function Documentation

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

Definition at line 47 of file vcr1.c.

static av_cold int vcr1_decode_init ( AVCodecContext avctx)
static

Definition at line 36 of file vcr1.c.

Variable Documentation

AVCodec ff_vcr1_decoder
Initial value:
= {
.name = "vcr1",
.priv_data_size = sizeof(VCR1Context),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"),
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int vcr1_decode_init(AVCodecContext *avctx)
Definition: vcr1.c:36
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
struct VCR1Context VCR1Context
static int vcr1_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: vcr1.c:47
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 119 of file vcr1.c.