My Project
Data Structures | Macros | Typedefs | Functions
BmpFile2.h File Reference

Go to the source code of this file.

Data Structures

union  _ARGB8888Type
 
union  _XRGB8888Type
 
struct  _BmpFile2Class
 
struct  _RGB888Type
 

Macros

#define ARGB8888Type   ARGB8888Type
 ARGB8888 ピクセル フォーマット More...
 
#define XRGB8888Type   XRGB8888Type
 XRGB8888 ピクセル フォーマット More...
 

Typedefs

typedef union _ARGB8888Type ARGB8888Type
 
typedef union _XRGB8888Type XRGB8888Type
 
typedef struct _BmpFile2Class BmpFile2Class
 ビットマップ ファイル More...
 
typedef struct _RGB888Type RGB888Type
 

Functions

XRGB8888Type ARGB8888Type_to_XRGB8888Type (ARGB8888Type color)
 
void BmpFile2Class_initConst (BmpFile2Class *self)
 
errnum_t BmpFile2Class_init (BmpFile2Class *self)
 
errnum_t BmpFile2Class_loadBMP (BmpFile2Class *self, const TCHAR *Path)
 BMP 形式のファイルを読み込みます。 More...
 
errnum_t BmpFile2Class_saveBMP (BmpFile2Class *self, const TCHAR *Path)
 BMP 形式のファイルを書き込みます。 More...
 
errnum_t BmpFile2Class_finish (BmpFile2Class *self, int e)
 
errnum_t BmpFile2Class_loadRawRGB565 (BmpFile2Class *self, TCHAR *Path, int Stride)
 
errnum_t BmpFile2Class_loadRawARGB8888 (BmpFile2Class *self, TCHAR *Path, int Stride)
 
errnum_t BmpFile2Class_loadRawARGB1555 (BmpFile2Class *self, TCHAR *Path, int Stride)
 
errnum_t BmpFile2Class_loadRawARGB4444 (BmpFile2Class *self, TCHAR *Path, int Stride)
 
errnum_t BmpFile2Class_loadPNG (BmpFile2Class *self, const TCHAR *Path)
 
errnum_t BmpFile2Class_loadJPEG (BmpFile2Class *self, const TCHAR *Path)
 
errnum_t BmpFile2Class_addAlphaChannel (BmpFile2Class *self, uint8_t AlphaValue)
 
errnum_t BmpFile2Class_setAlignmentBMP_bfOffBits (BmpFile2Class *self, int AlignSize)
 
errnum_t BmpFile2Class_convertToRGB565Format (BmpFile2Class *self)
 
errnum_t BmpFile2Class_convertToARGB1555Format (BmpFile2Class *self)
 
errnum_t BmpFile2Class_convertToARGB4444Format (BmpFile2Class *self)
 
errnum_t BmpFile2Class_convertToA4Format (BmpFile2Class *self)
 
errnum_t BmpFile2Class_convertToA1Format (BmpFile2Class *self)
 
errnum_t BmpFile2Class_trimming (BmpFile2Class *self, int LeftX, int TopY, int Width, int Height)
 

Macro Definition Documentation

ARGB8888 ピクセル フォーマット

メンバー変数
  • Value - Blue + Green + Red + Alpha
  • u.Blue - Blue
  • u.Green - Green
  • u.Red - Red
  • u.Alpha - Alpha

XRGB8888 ピクセル フォーマット

メンバー変数
  • Value - Blue + Green + Red + Alpha
  • u.Blue - Blue
  • u.Green - Green
  • u.Red - Red
  • u.X - Not used

Typedef Documentation

typedef union _ARGB8888Type ARGB8888Type

ビットマップ ファイル

typedef struct _RGB888Type RGB888Type
typedef union _XRGB8888Type XRGB8888Type

Function Documentation

XRGB8888Type ARGB8888Type_to_XRGB8888Type ( ARGB8888Type  color)
inline
errnum_t BmpFile2Class_addAlphaChannel ( BmpFile2Class self,
uint8_t  AlphaValue 
)
errnum_t BmpFile2Class_convertToA1Format ( BmpFile2Class self)
errnum_t BmpFile2Class_convertToA4Format ( BmpFile2Class self)
errnum_t BmpFile2Class_convertToARGB1555Format ( BmpFile2Class self)
errnum_t BmpFile2Class_convertToARGB4444Format ( BmpFile2Class self)
errnum_t BmpFile2Class_convertToRGB565Format ( BmpFile2Class self)
errnum_t BmpFile2Class_finish ( BmpFile2Class self,
int  e 
)
errnum_t BmpFile2Class_init ( BmpFile2Class self)
inline
void BmpFile2Class_initConst ( BmpFile2Class self)
inline
errnum_t BmpFile2Class_loadBMP ( BmpFile2Class self,
const TCHAR *  Path 
)

BMP 形式のファイルを読み込みます。

Parameters
None
Returns
None.
引数
  • Path - BMP file path
返り値
エラーコード、0=エラーなし
errnum_t BmpFile2Class_loadJPEG ( BmpFile2Class self,
const TCHAR *  Path 
)
errnum_t BmpFile2Class_loadPNG ( BmpFile2Class self,
const TCHAR *  Path 
)
errnum_t BmpFile2Class_loadRawARGB1555 ( BmpFile2Class self,
TCHAR *  Path,
int  Stride 
)
errnum_t BmpFile2Class_loadRawARGB4444 ( BmpFile2Class self,
TCHAR *  Path,
int  Stride 
)
errnum_t BmpFile2Class_loadRawARGB8888 ( BmpFile2Class self,
TCHAR *  Path,
int  Stride 
)
errnum_t BmpFile2Class_loadRawRGB565 ( BmpFile2Class self,
TCHAR *  Path,
int  Stride 
)
errnum_t BmpFile2Class_saveBMP ( BmpFile2Class self,
const TCHAR *  Path 
)

BMP 形式のファイルを書き込みます。

Parameters
None
Returns
None.
引数
  • Path - BMP file path
返り値
エラーコード、0=エラーなし
errnum_t BmpFile2Class_setAlignmentBMP_bfOffBits ( BmpFile2Class self,
int  AlignSize 
)
inline
errnum_t BmpFile2Class_trimming ( BmpFile2Class self,
int  LeftX,
int  TopY,
int  Width,
int  Height 
)