libavcodec/eatgq.c File Reference
Electronic Arts TGQ Video Decoder.
More...
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
#include "dsputil.h"
#include "aandcttab.h"
Go to the source code of this file.
|
Data Structures |
struct | TgqContext |
Defines |
#define | ALT_BITSTREAM_READER_LE |
Functions |
static av_cold int | tgq_decode_init (AVCodecContext *avctx) |
static void | tgq_decode_block (TgqContext *s, DCTELEM block[64], GetBitContext *gb) |
static void | tgq_idct_put_mb (TgqContext *s, DCTELEM(*block)[64], int mb_x, int mb_y) |
static void | tgq_dconly (TgqContext *s, unsigned char *dst, int dst_stride, int dc) |
static void | tgq_idct_put_mb_dconly (TgqContext *s, int mb_x, int mb_y, const int8_t *dc) |
static void | tgq_decode_mb (TgqContext *s, int mb_y, int mb_x, const uint8_t **bs, const uint8_t *buf_end) |
static void | tgq_calculate_qtable (TgqContext *s, int quant) |
static int | tgq_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | tgq_decode_end (AVCodecContext *avctx) |
Variables |
AVCodec | ff_eatgq_decoder |
Detailed Description
Electronic Arts TGQ Video Decoder.
- Author:
- Peter Ross <pross@xvid.org>
Technical details here:
http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TGQ
Definition in file eatgq.c.
Define Documentation
#define ALT_BITSTREAM_READER_LE |
Function Documentation
static void tgq_calculate_qtable |
( |
TgqContext * |
s, |
|
|
int |
quant | |
|
) |
| | [static] |
static void tgq_dconly |
( |
TgqContext * |
s, |
|
|
unsigned char * |
dst, |
|
|
int |
dst_stride, |
|
|
int |
dc | |
|
) |
| | [inline, static] |
static int tgq_decode_frame |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int * |
data_size, |
|
|
AVPacket * |
avpkt | |
|
) |
| | [static] |
static av_cold int tgq_decode_init |
( |
AVCodecContext * |
avctx |
) |
[static] |
static void tgq_decode_mb |
( |
TgqContext * |
s, |
|
|
int |
mb_y, |
|
|
int |
mb_x, |
|
|
const uint8_t ** |
bs, |
|
|
const uint8_t * |
buf_end | |
|
) |
| | [static] |
static void tgq_idct_put_mb |
( |
TgqContext * |
s, |
|
|
DCTELEM(*) |
block[64], |
|
|
int |
mb_x, |
|
|
int |
mb_y | |
|
) |
| | [static] |
static void tgq_idct_put_mb_dconly |
( |
TgqContext * |
s, |
|
|
int |
mb_x, |
|
|
int |
mb_y, |
|
|
const int8_t * |
dc | |
|
) |
| | [static] |
Variable Documentation
Initial value:
Definition at line 246 of file eatgq.c.