All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
vcr1.c File Reference

ATI VCR1 codec. More...

#include "avcodec.h"
#include "internal.h"
#include "libavutil/avassert.h"
#include "libavutil/internal.h"

Go to the source code of this file.

Data Structures

struct  VCR1Context


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


AVCodec ff_vcr1_decoder

Detailed Description

ATI VCR1 codec.

Definition in file vcr1.c.

Function Documentation

static av_cold int vcr1_decode_init ( AVCodecContext avctx)

Definition at line 37 of file vcr1.c.

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

Definition at line 49 of file vcr1.c.

Variable Documentation

AVCodec ff_vcr1_decoder
Initial value:
= {
.name = "vcr1",
.long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"),
.priv_data_size = sizeof(VCR1Context),
.capabilities = AV_CODEC_CAP_DR1,
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int vcr1_decode_init(AVCodecContext *avctx)
Definition: vcr1.c:37
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static int vcr1_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: vcr1.c:49
static int decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *pkt)
Definition: ffmpeg.c:2035
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959

Definition at line 124 of file vcr1.c.