FFmpeg
|
#include <stdint.h>
#include "libavutil/imgutils.h"
#include "mathops.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.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 void | decompress_indices (uint8_t *dst, const uint8_t *src) |
static int | extract_component (int yo0, int yo1, int code) |
static int | cocg_block (uint8_t *plane0, ptrdiff_t stride0, uint8_t *plane1, ptrdiff_t stride1, const uint8_t *block) |
static void | yao_subblock (uint8_t *dst, uint8_t *yo_indices, ptrdiff_t stride, const uint8_t *block) |
static int | yo_block (uint8_t *dst, ptrdiff_t stride, uint8_t *unused0, ptrdiff_t unused1, const uint8_t *block) |
static int | yao_block (uint8_t *plane0, ptrdiff_t stride0, uint8_t *plane3, ptrdiff_t stride1, const uint8_t *block) |
static int | decompress_texture_thread (AVCodecContext *avctx, void *arg, int slice, int thread_nb) |
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, void *data, int *got_frame, AVPacket *avpkt) |
static int | dxv_init (AVCodecContext *avctx) |
static int | dxv_close (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_dxv_decoder |
#define CHECKPOINT | ( | x | ) |
Definition at line 256 of file dxv.c.
Referenced by dxv_decompress_dxt1(), and dxv_decompress_dxt5().
Definition at line 66 of file dxv.c.
Referenced by cocg_block(), and yao_subblock().
Definition at line 82 of file dxv.c.
Referenced by cocg_block(), and yao_subblock().
|
static |
Definition at line 111 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 141 of file dxv.c.
Referenced by yao_block(), and yo_block().
|
static |
Definition at line 160 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 174 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 193 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 286 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 341 of file dxv.c.
Referenced by dxv_decompress_opcodes().
|
static |
Definition at line 385 of file dxv.c.
Referenced by get_opcodes().
|
static |
Definition at line 426 of file dxv.c.
Referenced by dxv_decompress_opcodes().
|
static |
Definition at line 467 of file dxv.c.
Referenced by dxv_decompress_cocg(), and dxv_decompress_yo().
|
static |
Definition at line 492 of file dxv.c.
Referenced by dxv_decompress_cocg(), and dxv_decompress_yo().
|
static |
Definition at line 732 of file dxv.c.
Referenced by dxv_decompress_ycg6(), and dxv_decompress_yg10().
|
static |
Definition at line 786 of file dxv.c.
Referenced by dxv_decompress_ycg6().
|
static |
Definition at line 825 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 841 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 858 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 1015 of file dxv.c.
Referenced by dxv_decode().
|
static |
Definition at line 1021 of file dxv.c.
Referenced by dxv_decode().
|
static |
|
static |
|
static |
AVCodec ff_dxv_decoder |