Data Structures | Macros | Functions
texturedsp.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  TextureDSPContext
struct  TextureDSPEncContext
struct  TextureDSPThreadContext


#define TEXTURE_BLOCK_W   4
#define TEXTURE_BLOCK_H   4


void ff_texturedsp_init (TextureDSPContext *c)
void ff_texturedspenc_init (TextureDSPEncContext *c)
int ff_texturedsp_exec_decompress_threads (struct AVCodecContext *avctx, TextureDSPThreadContext *ctx)
int ff_texturedsp_exec_compress_threads (struct AVCodecContext *avctx, TextureDSPThreadContext *ctx)

Detailed Description

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.

Macro Definition Documentation


#define TEXTURE_BLOCK_W   4

Definition at line 42 of file texturedsp.h.


#define TEXTURE_BLOCK_H   4

Definition at line 43 of file texturedsp.h.

Function Documentation

◆ ff_texturedsp_init()

void ff_texturedsp_init ( TextureDSPContext c)

Definition at line 640 of file texturedsp.c.

Referenced by dds_decode(), decode_init(), dxv_init(), hap_init(), txd_decode_frame(), and vbn_init().

◆ ff_texturedspenc_init()

void ff_texturedspenc_init ( TextureDSPEncContext c)

Definition at line 650 of file texturedspenc.c.

Referenced by dxv_init(), hap_init(), and vbn_init().

◆ ff_texturedsp_exec_decompress_threads()

int ff_texturedsp_exec_decompress_threads ( struct AVCodecContext avctx,
TextureDSPThreadContext ctx 

◆ ff_texturedsp_exec_compress_threads()

int ff_texturedsp_exec_compress_threads ( struct AVCodecContext avctx,
TextureDSPThreadContext ctx