MARMEX_VB test application program. This application works on "mbed NXP LPC1768" only. This application expects to have the MARMEX_VB module on a "MAPLE mini type-B (MARM03-BASE)" baseboard (slot2) with MARMEX_OB module (on slot1)

Dependencies:   MARMEX_VB NokiaLCD mbed

This is the library test program.
The program can test features of the library (refer to MARMEX-VB's API document) and can save captured data into BMP file.

Warning!

This test program can run on "mbed NXP LPC1768" only.

/media/uploads/nxpfan/dsc_0506_-1-.jpg
Picture : sample of test program operation
The modules of MARMEX-VB and MARMEX-OB are set on the "MAPLE mini type-B (MARM03-BASE)" baseboard.
The image data from camera is mirrored and alpha graphics added by software.

bmp_handler.h

Committer:
nxpfan
Date:
2014-06-20
Revision:
8:86aae677a68b
Parent:
0:343c01965543

File content as of revision 8:86aae677a68b:



#ifndef MBED_BMP_HANDLING__
#define MBED_BMP_HANDLING__

typedef struct  alpha_param_st    {
    int     h;
    int     v;
    int     byte_per_pixel;
    char    *buffer;
}
alpha_param;

int     open_BMP( char *file_name, int horizontal_size, int vertical_size );
void    write_BMP( short *p, int length );
void    write_BMP( short *p, int length, char mask );
void    close_BMP( void );

char *read_alpha_BMP( char *file_name, alpha_param *azp );

#endif