RGB565toBGR555
Default mainpageat91libutilityRGB565toBGR555
Description Source Call Graph
RGB565toBGR555
Convert RGB 565 to RGB 555 (RGB 555 is adapted to LCD).
 
Syntax / parameters
void RGB565toBGR555 (unsigned char *fileSource, unsigned char *fileDestination, unsigned int width, unsigned int height, unsigned char bpp)

Name Type Default Description
fileSource unsigned char *
  Buffer which holds the RGB file
fileDestination unsigned char *
  Buffer in which to store the decoded image
width unsigned int
  Buffer width in pixels.
height unsigned int
  Buffer height in pixels.
bpp unsigned char
  Number of bits per pixels that the buffer stores.
Description
Convert RGB 565 to RGB 555 (RGB 555 is adapted to LCD).

 
Source
The documentation for this Member was generated from the following files:
  • bmp.c