Yoshihiro Michimoto / Mbed OS GR-PEACH_Camera_in

Dependencies:   GR-PEACH_video USBHost USBHost_custom

Fork of GR-PEACH_Camera_in by Renesas

Embed: (wiki syntax)

« Back to documentation index

bitmap Class Reference

bitmap Class Reference

A class to communicate a bitmap. More...

#include <bitmap.h>

Public Member Functions

int Rgb888ToBmp (char *file_name, uint8_t *buf, unsigned long pic_width, unsigned long pic_height)
 convert RGB888 to bitmap

Detailed Description

A class to communicate a bitmap.

Definition at line 7 of file bitmap.h.


Member Function Documentation

int Rgb888ToBmp ( char *  file_name,
uint8_t *  buf,
unsigned long  pic_width,
unsigned long  pic_height 
)

convert RGB888 to bitmap

Parameters:
file_namesave file name
bufdata buffer address
pic_widthpicture width
pic_heightpicture height
Returns:
save data size

Definition at line 18 of file bitmap.h.