FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | TextureDSPContext |
struct | TextureDSPThreadContext |
Macros | |
#define | TEXTURE_BLOCK_W 4 |
#define | TEXTURE_BLOCK_H 4 |
Functions | |
void | ff_texturedsp_init (TextureDSPContext *c) |
void | ff_texturedspenc_init (TextureDSPContext *c) |
int | ff_texturedsp_decompress_thread (AVCodecContext *avctx, void *arg, int slice, int thread_nb) |
int | ff_texturedsp_compress_thread (AVCodecContext *avctx, void *arg, int slice, int thread_nb) |
Texture block (4x4) module
References: https://www.opengl.org/wiki/S3_Texture_Compression https://www.opengl.org/wiki/Red_Green_Texture_Compression https://msdn.microsoft.com/en-us/library/bb694531%28v=vs.85%29.aspx
All functions return how much data has been written or read.
Pixel input or output format is always AV_PIX_FMT_RGBA.
Definition in file texturedsp.h.
#define TEXTURE_BLOCK_W 4 |
Definition at line 44 of file texturedsp.h.
#define TEXTURE_BLOCK_H 4 |
Definition at line 45 of file texturedsp.h.
void ff_texturedsp_init | ( | TextureDSPContext * | c | ) |
Definition at line 637 of file texturedsp.c.
Referenced by dds_decode(), dxv_init(), hap_init(), txd_decode_frame(), and vbn_init().
void ff_texturedspenc_init | ( | TextureDSPContext * | c | ) |
Definition at line 666 of file texturedspenc.c.
Referenced by hap_init(), and vbn_init().
int ff_texturedsp_decompress_thread | ( | AVCodecContext * | avctx, |
void * | arg, | ||
int | slice, | ||
int | thread_nb | ||
) |
Referenced by dds_decode(), hap_decode(), and vbn_decode_frame().
int ff_texturedsp_compress_thread | ( | AVCodecContext * | avctx, |
void * | arg, | ||
int | slice, | ||
int | thread_nb | ||
) |
Referenced by compress_texture(), and vbn_encode().