FFmpeg
|
Electronic Arts TGV Video Decoder by Peter Ross (pross) @xvi d.orgMore...
#include "avcodec.h"
#include "get_bits.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
Go to the source code of this file.
Data Structures | |
struct | TgvContext |
Macros | |
#define | BITSTREAM_READER_LE |
#define | EA_PREAMBLE_SIZE 8 |
#define | kVGT_TAG MKTAG('k', 'V', 'G', 'T') |
Functions | |
static av_cold int | tgv_decode_init (AVCodecContext *avctx) |
static int | unpack (const uint8_t *src, const uint8_t *src_end, uint8_t *dst, int width, int height) |
Unpack buffer. | |
static int | tgv_decode_inter (TgvContext *s, const uint8_t *buf, const uint8_t *buf_end) |
Decode inter-frame. | |
static void | cond_release_buffer (AVFrame *pic) |
release AVFrame buffers if allocated | |
static int | tgv_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | tgv_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_eatgv_decoder |
Electronic Arts TGV Video Decoder by Peter Ross (pross) @xvi d.org
Technical details here: http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TGV
Definition in file eatgv.c.
#define EA_PREAMBLE_SIZE 8 |
Definition at line 37 of file eatgv.c.
Referenced by tgv_decode_frame().
Definition at line 38 of file eatgv.c.
Referenced by tgv_decode_frame().
|
static |
|
static |
Unpack buffer.
Definition at line 68 of file eatgv.c.
Referenced by tgv_decode_frame().
|
static |
Decode inter-frame.
Definition at line 143 of file eatgv.c.
Referenced by tgv_decode_frame().
release AVFrame buffers if allocated
Definition at line 252 of file eatgv.c.
Referenced by tgv_decode_end(), and tgv_decode_frame().
|
static |
|
static |
AVCodec ff_eatgv_decoder |