8 #ifndef _UTILS_PIXEL_H_
9 #define _UTILS_PIXEL_H_
12 unsigned int height,
unsigned int bpp);
14 void argb2rgba32(
unsigned char* image,
unsigned int w,
unsigned int h);
17 unsigned char*
argb16to32(
unsigned char* image,
unsigned int w,
unsigned int h);
18 unsigned char*
grayscale2rgba(
unsigned char* image,
unsigned int w,
unsigned int h);
20 unsigned char*
scaleBuffer(
unsigned char* image,
unsigned int* w,
unsigned int* h,
unsigned char * scaleBuffer(unsigned char *image, unsigned int *w, unsigned int *h, unsigned int bpp)
unsigned char * grayscale2rgba(unsigned char *image, unsigned int w, unsigned int h)
unsigned char * generateColorTexture(glm::vec4 rgba, unsigned int width, unsigned int height, unsigned int bpp)
void argb2rgba32(unsigned char *image, unsigned int w, unsigned int h)
unsigned char * argb16to32(unsigned char *image, unsigned int w, unsigned int h)