Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
tex_bmp.cpp File Reference
#include "precompiled.h"
#include "lib/byte_order.h"
#include "tex_codec.h"

Go to the source code of this file.

Classes

struct  BmpHeader
 

Macros

#define BI_RGB   0
 

Functions

static Status bmp_transform (Tex *t, size_t transforms)
 
static bool bmp_is_hdr (const u8 *file)
 
static bool bmp_is_ext (const OsPath &extension)
 
static size_t bmp_hdr_size (const u8 *file)
 
static Status bmp_decode (rpU8 data, size_t size, Tex *RESTRICT t)
 
static Status bmp_encode (Tex *RESTRICT t, DynArray *RESTRICT da)
 
 TEX_CODEC_REGISTER (bmp)
 

Macro Definition Documentation

#define BI_RGB   0

Definition at line 60 of file tex_bmp.cpp.

Function Documentation

static Status bmp_decode ( rpU8  data,
size_t  size,
Tex *RESTRICT  t 
)
static

Definition at line 98 of file tex_bmp.cpp.

static Status bmp_encode ( Tex *RESTRICT  t,
DynArray *RESTRICT  da 
)
static

Definition at line 127 of file tex_bmp.cpp.

static size_t bmp_hdr_size ( const u8 file)
static

Definition at line 83 of file tex_bmp.cpp.

static bool bmp_is_ext ( const OsPath extension)
static

Definition at line 77 of file tex_bmp.cpp.

static bool bmp_is_hdr ( const u8 file)
static

Definition at line 69 of file tex_bmp.cpp.

static Status bmp_transform ( Tex t,
size_t  transforms 
)
static

Definition at line 63 of file tex_bmp.cpp.

TEX_CODEC_REGISTER ( bmp  )