#include <stdint.h>
#include "libavutil/imgutils.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.
Value:
value = bytestream2_get_le32(gbc);
\
case 1: \
idx = x; \
break; \
case 2: \
idx = (bytestream2_get_byte(gbc) + 2) * x;
\
} \
break; \
case 3: \
idx = (bytestream2_get_le16(gbc) + 0x102) * x;
\
} \
break; \
} \
} while(0)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
GLsizei GLboolean const GLfloat * value
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.
Definition at line 93 of file dxv.c.
Referenced by dxv_decompress_dxt1(), and dxv_decompress_dxt5().
static int decompress_texture_thread |
( |
AVCodecContext * |
avctx, |
|
|
void * |
arg, |
|
|
int |
slice, |
|
|
int |
thread_nb |
|
) |
| |
|
static |
Initial value:= {
.name = "dxv",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int dxv_close(AVCodecContext *avctx)
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
static int dxv_init(AVCodecContext *avctx)
static int dxv_decode(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 493 of file dxv.c.