eatqi.c File Reference

Electronic Arts TQI Video Decoder. More...

#include "avcodec.h"
#include "get_bits.h"
#include "aandcttab.h"
#include "eaidct.h"
#include "internal.h"
#include "mpeg12.h"
#include "mpegvideo.h"
Include dependency graph for eatqi.c:

Go to the source code of this file.

Data Structures

struct  TqiContext
 

Typedefs

typedef struct TqiContext TqiContext
 

Functions

static av_cold int tqi_decode_init (AVCodecContext *avctx)
 
static int tqi_decode_mb (MpegEncContext *s, int16_t(*block)[64])
 
static void tqi_idct_put (TqiContext *t, AVFrame *frame, int16_t(*block)[64])
 
static void tqi_calculate_qtable (MpegEncContext *s, int quant)
 
static int tqi_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int tqi_decode_end (AVCodecContext *avctx)
 

Variables

AVCodec ff_eatqi_decoder
 

Detailed Description

Electronic Arts TQI Video Decoder.

Author
Peter Ross pross.nosp@m.@xvi.nosp@m.d.org
See also
http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TQI

Definition in file eatqi.c.

Typedef Documentation

typedef struct TqiContext TqiContext

Function Documentation

static void tqi_calculate_qtable ( MpegEncContext s,
int  quant 
)
static

Definition at line 88 of file eatqi.c.

Referenced by tqi_decode_frame().

static av_cold int tqi_decode_end ( AVCodecContext avctx)
static

Definition at line 141 of file eatqi.c.

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

Definition at line 97 of file eatqi.c.

static av_cold int tqi_decode_init ( AVCodecContext avctx)
static

Definition at line 44 of file eatqi.c.

static int tqi_decode_mb ( MpegEncContext s,
int16_t(*)  block[64] 
)
static

Definition at line 59 of file eatqi.c.

Referenced by tqi_decode_frame().

static void tqi_idct_put ( TqiContext t,
AVFrame frame,
int16_t(*)  block[64] 
)
inlinestatic

Definition at line 70 of file eatqi.c.

Referenced by tqi_decode_frame().

Variable Documentation

AVCodec ff_eatqi_decoder
Initial value:
= {
.name = "eatqi",
.priv_data_size = sizeof(TqiContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI Video"),
}
struct TqiContext TqiContext
static av_cold int tqi_decode_init(AVCodecContext *avctx)
Definition: eatqi.c:44
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int tqi_decode_end(AVCodecContext *avctx)
Definition: eatqi.c:141
#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 void close(AVCodecParserContext *s)
Definition: h264_parser.c:375
static int tqi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: eatqi.c:97
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 148 of file eatqi.c.