libavcodec/eatqi.c File Reference

Electronic Arts TQI Video Decoder. More...

#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
#include "aandcttab.h"
#include "mpeg12.h"
#include "mpegvideo.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 (MpegEncContext *s, DCTELEM(*block)[64])
static void tqi_idct_put (TqiContext *t, DCTELEM(*block)[64])
static void tqi_calculate_qtable (MpegEncContext *s, int quant)
static int tqi_decode_frame (AVCodecContext *avctx, void *data, int *data_size, 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@xvid.org>
See also:
http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TQI

Definition in file eatqi.c.


Function Documentation

static void tqi_calculate_qtable ( MpegEncContext s,
int  quant 
) [static]

Definition at line 89 of file eatqi.c.

Referenced by tqi_decode_frame().

static av_cold int tqi_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 150 of file eatqi.c.

static int tqi_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 104 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,
DCTELEM(*)  block[64] 
) [static]

Definition at line 60 of file eatqi.c.

Referenced by tqi_decode_frame().

static void tqi_idct_put ( TqiContext t,
DCTELEM(*)  block[64] 
) [inline, static]

Definition at line 71 of file eatqi.c.

Referenced by tqi_decode_frame().


Variable Documentation

Initial value:

 {
    .name           = "eatqi",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_TQI,
    .priv_data_size = sizeof(TqiContext),
    .init           = tqi_decode_init,
    .close          = tqi_decode_end,
    .decode         = tqi_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI Video"),
}

Definition at line 159 of file eatqi.c.


Generated on Fri Oct 26 02:43:47 2012 for FFmpeg by  doxygen 1.5.8