qdrw.c File Reference

Apple QuickDraw codec. More...

#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
Include dependency graph for qdrw.c:

Go to the source code of this file.

Functions

static int decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int decode_init (AVCodecContext *avctx)
 

Variables

AVCodec ff_qdraw_decoder
 

Detailed Description

Apple QuickDraw codec.

Definition in file qdrw.c.

Function Documentation

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

Definition at line 32 of file qdrw.c.

static av_cold int decode_init ( AVCodecContext avctx)
static

Definition at line 136 of file qdrw.c.

Variable Documentation

AVCodec ff_qdraw_decoder
Initial value:
= {
.name = "qdraw",
.init = decode_init,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Apple QuickDraw"),
}
static av_cold int decode_init(AVCodecContext *avctx)
Definition: qdrw.c:136
#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. ...
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: qdrw.c:32

Definition at line 143 of file qdrw.c.