Electronic Arts TGQ Video Decoder. More...
#include "avcodec.h"#include "bitstream.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 |
Typedefs | |
| typedef struct TgqContext | TgqContext |
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 int8_t **bs, const int8_t *buf_end) |
| static void | tgq_calculate_qtable (TgqContext *s, int quant) |
| static int | tgq_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) |
| static av_cold int | tgq_decode_end (AVCodecContext *avctx) |
Variables | |
| AVCodec | eatgq_decoder |
Electronic Arts TGQ Video Decoder.
Technical details here: http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TGQ
Definition in file eatgq.c.
| typedef struct TgqContext TgqContext |
| static void tgq_calculate_qtable | ( | TgqContext * | s, | |
| int | quant | |||
| ) | [static] |
Definition at line 179 of file eatgq.c.
Referenced by tgq_decode_frame().
| static void tgq_dconly | ( | TgqContext * | s, | |
| unsigned char * | dst, | |||
| int | dst_stride, | |||
| int | dc | |||
| ) | [inline, static] |
Definition at line 120 of file eatgq.c.
Referenced by tgq_idct_put_mb_dconly().
| static void tgq_decode_block | ( | TgqContext * | s, | |
| DCTELEM | block[64], | |||
| GetBitContext * | gb | |||
| ) | [static] |
Definition at line 59 of file eatgq.c.
Referenced by tgq_decode_mb().
| static av_cold int tgq_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
| static int tgq_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [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 int8_t ** | bs, | |||
| const int8_t * | buf_end | |||
| ) | [static] |
Definition at line 143 of file eatgq.c.
Referenced by tgq_decode_frame().
| static void tgq_idct_put_mb | ( | TgqContext * | s, | |
| DCTELEM(*) | block[64], | |||
| int | mb_x, | |||
| int | mb_y | |||
| ) | [static] |
Definition at line 104 of file eatgq.c.
Referenced by tgq_decode_mb().
| static void tgq_idct_put_mb_dconly | ( | TgqContext * | s, | |
| int | mb_x, | |||
| int | mb_y, | |||
| const int8_t * | dc | |||
| ) | [static] |
Definition at line 127 of file eatgq.c.
Referenced by tgq_decode_mb().
{
"eatgq",
CODEC_TYPE_VIDEO,
CODEC_ID_TGQ,
sizeof(TgqContext),
tgq_decode_init,
NULL,
tgq_decode_end,
tgq_decode_frame,
CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"),
}
1.7.1