FFmpeg
|
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"
#include "eaidct.h"
#include "internal.h"
Include dependency graph for eatgq.c:
Go to the source code of this file.
Data Structures | |
struct | TgqContext |
Macros | |
#define | 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, int16_t block[64], GetBitContext *gb) |
static void | tgq_idct_put_mb (TgqContext *s, int16_t(*block)[64], AVFrame *frame, 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, AVFrame *frame, int mb_x, int mb_y, const int8_t *dc) |
static int | tgq_decode_mb (TgqContext *s, AVFrame *frame, int mb_y, int mb_x) |
static void | tgq_calculate_qtable (TgqContext *s, int quant) |
static int | tgq_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
AVCodec | ff_eatgq_decoder |
Detailed Description
Electronic Arts TGQ Video Decoder.
Technical details here: http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TGQ
Definition in file eatgq.c.
Macro Definition Documentation
Typedef Documentation
typedef struct TgqContext TgqContext |
Function Documentation
|
static |
Definition at line 186 of file eatgq.c.
Referenced by tgq_decode_frame().
|
inlinestatic |
Definition at line 125 of file eatgq.c.
Referenced by tgq_idct_put_mb_dconly().
|
static |
Definition at line 61 of file eatgq.c.
Referenced by tgq_decode_mb().
|
static |
|
static |
|
static |
Definition at line 151 of file eatgq.c.
Referenced by tgq_decode_frame().
|
static |
Definition at line 107 of file eatgq.c.
Referenced by tgq_decode_mb().
|
static |
Definition at line 134 of file eatgq.c.
Referenced by tgq_decode_mb().
Variable Documentation
AVCodec ff_eatgq_decoder |
Initial value:
= {
.name = "eatgq",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_TGQ,
.priv_data_size = sizeof(TgqContext),
.init = tgq_decode_init,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"),
}
Definition: libavcodec/avcodec.h:224
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
struct TgqContext TgqContext
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
static int tgq_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: eatgq.c:197
Generated on Fri Dec 20 2024 06:56:12 for FFmpeg by 1.8.11