Openholo
v4.2
Open Source Digital Holographic Library
|
#include <ImgEncoder.h>
Public Member Functions | |
bool | Save (const char *path, BYTE *pBuf, UINT len, int quality=100) |
int | CalcBitmapSize (int w, int h, int ch) |
bool | GetSize (const char *path, unsigned int *size) |
void | Resize (unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
bool | Rotate (double rotate, unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
bool | Flip (FLIP mode, unsigned char *src, unsigned char *dst, int w, int h, int ch) |
bool | Crop (unsigned char *src, unsigned char *dst, int w, int h, int ch, int x, int y, int neww, int newh) |
bool | Save (const char *path, BYTE *pBuf, UINT len, int quality=100) |
int | CalcBitmapSize (int w, int h, int ch) |
bool | GetSize (const char *path, unsigned int *size) |
void | Resize (unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
bool | Rotate (double rotate, unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
bool | Flip (FLIP mode, unsigned char *src, unsigned char *dst, int w, int h, int ch) |
bool | Crop (unsigned char *src, unsigned char *dst, int w, int h, int ch, int x, int y, int neww, int newh) |
Static Public Member Functions | |
static ImgEncoder * | getInstance () |
static ImgEncoder * | getInstance () |
Definition at line 29 of file ImgEncoder.h.
|
inline |
Definition at line 48 of file ImgEncoder.h.
|
inline |
Definition at line 48 of file ImgEncoder.h.
bool oph::ImgEncoder::Crop | ( | unsigned char * | src, |
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | ch, | ||
int | x, | ||
int | y, | ||
int | neww, | ||
int | newh | ||
) |
bool oph::ImgEncoder::Crop | ( | unsigned char * | src, |
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | ch, | ||
int | x, | ||
int | y, | ||
int | neww, | ||
int | newh | ||
) |
bool oph::ImgEncoder::Flip | ( | FLIP | mode, |
unsigned char * | src, | ||
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | ch | ||
) |
bool oph::ImgEncoder::Flip | ( | FLIP | mode, |
unsigned char * | src, | ||
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | ch | ||
) |
|
inlinestatic |
Definition at line 39 of file ImgEncoder.h.
|
inlinestatic |
Definition at line 39 of file ImgEncoder.h.
bool oph::ImgEncoder::GetSize | ( | const char * | path, |
unsigned int * | size | ||
) |
bool oph::ImgEncoder::GetSize | ( | const char * | path, |
unsigned int * | size | ||
) |
void oph::ImgEncoder::Resize | ( | unsigned char * | src, |
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | neww, | ||
int | newh, | ||
int | ch | ||
) |
void oph::ImgEncoder::Resize | ( | unsigned char * | src, |
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | neww, | ||
int | newh, | ||
int | ch | ||
) |
bool oph::ImgEncoder::Rotate | ( | double | rotate, |
unsigned char * | src, | ||
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | neww, | ||
int | newh, | ||
int | ch | ||
) |
bool oph::ImgEncoder::Rotate | ( | double | rotate, |
unsigned char * | src, | ||
unsigned char * | dst, | ||
int | w, | ||
int | h, | ||
int | neww, | ||
int | newh, | ||
int | ch | ||
) |
bool oph::ImgEncoder::Save | ( | const char * | path, |
BYTE * | pBuf, | ||
UINT | len, | ||
int | quality = 100 |
||
) |
bool oph::ImgEncoder::Save | ( | const char * | path, |
BYTE * | pBuf, | ||
UINT | len, | ||
int | quality = 100 |
||
) |