Electronic Arts TGQ Video Decoder.
More...
#include "aandcttab.h"
#include "avcodec.h"
#include "bytestream.h"
#include "eaidct.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "internal.h"
Go to the source code of this file.
|
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) |
|
#define BITSTREAM_READER_LE |
static void tgq_idct_put_mb |
( |
TgqContext * |
s, |
|
|
int16_t(*) |
block[64], |
|
|
AVFrame * |
frame, |
|
|
int |
mb_x, |
|
|
int |
mb_y |
|
) |
| |
|
static |
static void tgq_dconly |
( |
TgqContext * |
s, |
|
|
unsigned char * |
dst, |
|
|
int |
dst_stride, |
|
|
int |
dc |
|
) |
| |
|
inlinestatic |
static void tgq_idct_put_mb_dconly |
( |
TgqContext * |
s, |
|
|
AVFrame * |
frame, |
|
|
int |
mb_x, |
|
|
int |
mb_y, |
|
|
const int8_t * |
dc |
|
) |
| |
|
static |
Initial value:= {
.name = "eatgq",
}
static av_cold int init(AVCodecContext *avctx)
static av_cold int tgq_decode_init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *pkt)
static int tgq_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 247 of file eatgq.c.