FFmpeg
|
#include <stdint.h>
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "dxv.h"
#include "lzf.h"
#include "texturedsp.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | DXVContext |
struct | OpcodeTable |
Macros | |
#define | CHECKPOINT(x) |
Functions | |
static int | dxv_decompress_dxt1 (AVCodecContext *avctx) |
static int | fill_ltable (GetByteContext *gb, uint32_t *table, int *nb_elements) |
static int | fill_optable (unsigned *table0, OpcodeTable *table1, int nb_elements) |
static int | get_opcodes (GetByteContext *gb, uint32_t *table, uint8_t *dst, int op_size, int nb_elements) |
static int | dxv_decompress_opcodes (GetByteContext *gb, void *dstp, size_t op_size) |
static int | dxv_decompress_cgo (DXVContext *ctx, GetByteContext *gb, uint8_t *tex_data, int tex_size, uint8_t *op_data, int *oindex, int op_size, uint8_t **dstp, int *statep, uint8_t **tab0, uint8_t **tab1, int offset) |
static int | dxv_decompress_cocg (DXVContext *ctx, GetByteContext *gb, uint8_t *tex_data, int tex_size, uint8_t *op_data0, uint8_t *op_data1, int max_op_size0, int max_op_size1) |
static int | dxv_decompress_yo (DXVContext *ctx, GetByteContext *gb, uint8_t *tex_data, int tex_size, uint8_t *op_data, int max_op_size) |
static int | dxv_decompress_ycg6 (AVCodecContext *avctx) |
static int | dxv_decompress_yg10 (AVCodecContext *avctx) |
static int | dxv_decompress_dxt5 (AVCodecContext *avctx) |
static int | dxv_decompress_lzf (AVCodecContext *avctx) |
static int | dxv_decompress_raw (AVCodecContext *avctx) |
static int | dxv_decode (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
static int | dxv_init (AVCodecContext *avctx) |
static int | dxv_close (AVCodecContext *avctx) |
Variables | |
const FFCodec | ff_dxv_decoder |
#define CHECKPOINT | ( | x | ) |
|
static |
Definition at line 88 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 143 of file dxv.c.
Referenced by dxv_decompress_opcodes().
|
static |
Definition at line 187 of file dxv.c.
Referenced by get_opcodes().
|
static |
Definition at line 228 of file dxv.c.
Referenced by dxv_decompress_opcodes().
|
static |
Definition at line 270 of file dxv.c.
Referenced by dxv_decompress_cocg(), and dxv_decompress_yo().
|
static |
Definition at line 295 of file dxv.c.
Referenced by dxv_decompress_cocg(), and dxv_decompress_yo().
|
static |
Definition at line 535 of file dxv.c.
Referenced by dxv_decompress_ycg6(), and dxv_decompress_yg10().
|
static |
Definition at line 591 of file dxv.c.
Referenced by dxv_decompress_ycg6().
|
static |
Definition at line 633 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 649 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 666 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 823 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 829 of file dxv.c.
Referenced by dxv_decode().
|
static |
|
static |
|
static |
const FFCodec ff_dxv_decoder |