FFmpeg
|
DDS decoder. More...
#include <stdint.h>
#include "libavutil/libm.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "texturedsp.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | DDSContext |
Macros | |
#define | DDPF_FOURCC (1 << 2) |
#define | DDPF_PALETTE (1 << 5) |
#define | DDPF_NORMALMAP (1 << 31) |
Functions | |
static int | parse_pixel_format (AVCodecContext *avctx) |
static int | decompress_texture_thread (AVCodecContext *avctx, void *arg, int slice, int thread_nb) |
static void | do_swizzle (AVFrame *frame, int x, int y) |
static void | run_postproc (AVCodecContext *avctx, AVFrame *frame) |
static int | dds_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
AVCodec | ff_dds_decoder |
DDS decoder.
https://msdn.microsoft.com/en-us/library/bb943982%28v=vs.85%29.aspx
Definition in file dds.c.
#define DDPF_FOURCC (1 << 2) |
Definition at line 40 of file dds.c.
Referenced by parse_pixel_format().
#define DDPF_PALETTE (1 << 5) |
Definition at line 41 of file dds.c.
Referenced by parse_pixel_format().
#define DDPF_NORMALMAP (1 << 31) |
Definition at line 42 of file dds.c.
Referenced by parse_pixel_format().
enum DDSPostProc |
enum DDSDXGIFormat |
|
static |
Definition at line 115 of file dds.c.
Referenced by dds_decode().
|
static |
Definition at line 436 of file dds.c.
Referenced by dds_decode().
Definition at line 473 of file dds.c.
Referenced by run_postproc().
|
static |
Definition at line 482 of file dds.c.
Referenced by dds_decode().
|
static |
AVCodec ff_dds_decoder |