FFmpeg
Classes | Macros | Typedefs | Functions
texturedsp.h File Reference

Texture block (4x4) module. More...

#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  TextureDSPContext
 

Macros

#define TEXTURE_BLOCK_W   4
 
#define TEXTURE_BLOCK_H   4
 

Typedefs

typedef struct TextureDSPContext TextureDSPContext
 

Functions

void ff_texturedsp_init (TextureDSPContext *c)
 
void ff_texturedspenc_init (TextureDSPContext *c)
 

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.