FFmpeg
 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
 

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.

Function Documentation

static av_cold int vcr1_decode_init ( AVCodecContext avctx)
static

Definition at line 37 of file vcr1.c.

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

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
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int vcr1_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: vcr1.c:49
#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.