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

Electronic Arts TQI Video Decoder. More...

#include "avcodec.h"
#include "blockdsp.h"
#include "bswapdsp.h"
#include "get_bits.h"
#include "aandcttab.h"
#include "eaidct.h"
#include "idctdsp.h"
#include "internal.h"
#include "mpeg12.h"

Go to the source code of this file.

Data Structures

struct  TqiContext
 

Functions

static av_cold int tqi_decode_init (AVCodecContext *avctx)
 
static int tqi_decode_mb (TqiContext *t, int16_t(*block)[64])
 
static void tqi_idct_put (AVCodecContext *avctx, AVFrame *frame, int16_t(*block)[64])
 
static void tqi_calculate_qtable (TqiContext *t, 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.

Function Documentation

static av_cold int tqi_decode_init ( AVCodecContext avctx)
static

Definition at line 57 of file eatqi.c.

static int tqi_decode_mb ( TqiContext t,
int16_t(*)  block[64] 
)
static

Definition at line 73 of file eatqi.c.

Referenced by tqi_decode_frame().

static void tqi_idct_put ( AVCodecContext avctx,
AVFrame frame,
int16_t(*)  block[64] 
)
inlinestatic

Definition at line 93 of file eatqi.c.

Referenced by tqi_decode_frame().

static void tqi_calculate_qtable ( TqiContext t,
int  quant 
)
static

Definition at line 113 of file eatqi.c.

Referenced by tqi_decode_frame().

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

Definition at line 123 of file eatqi.c.

static av_cold int tqi_decode_end ( AVCodecContext avctx)
static

Definition at line 172 of file eatqi.c.

Variable Documentation

AVCodec ff_eatqi_decoder
Initial value:
= {
.name = "eatqi",
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI Video"),
.priv_data_size = sizeof(TqiContext),
.close = tqi_decode_end,
.capabilities = AV_CODEC_CAP_DR1,
}
static av_cold int tqi_decode_init(AVCodecContext *avctx)
Definition: eatqi.c:57
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
static av_cold int tqi_decode_end(AVCodecContext *avctx)
Definition: eatqi.c:172
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int tqi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: eatqi.c:123
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:968

Definition at line 179 of file eatqi.c.