Mercurial > hg > minimon
comparison common.h @ 8:66c77f9ba9b9
convert rgba -> rgb
author | Peter Meerwald <pmeerw@pmeerw.net> |
---|---|
date | Sat, 14 May 2011 21:05:59 +0200 |
parents | 5ff6a67e1421 |
children | 078dc69945ad |
comparison
equal
deleted
inserted
replaced
7:5c00b239e1c8 | 8:66c77f9ba9b9 |
---|---|
4 typedef struct { | 4 typedef struct { |
5 unsigned long size; | 5 unsigned long size; |
6 unsigned char *ptr; | 6 unsigned char *ptr; |
7 } jpg_buf_t; | 7 } jpg_buf_t; |
8 | 8 |
9 jpg_buf_t build_jpg_from_fb(int fb, int width, int height); | 9 jpg_buf_t build_jpg_from_fb(unsigned char *fb_mem, int width, int height, int bits_per_pixel); |
10 | 10 |
11 #endif | 11 #endif |