view gui/bitmap.h @ 25835:645cbba10a57

added AudioSpecificConfigFromBitfile() -that reads from an initizialized bitstream- and reimplemented AudioSpecificConfig() in terms of the former. Also, introduced a short_form parameter that indicates if the core function must pretend not to know the size of the header (another craziness in AAC)
author nicodvb
date Sat, 26 Jan 2008 18:42:17 +0000
parents 9d0b189ce1b2
children 4129c8cfa742
line wrap: on
line source

#ifndef GUI_BITMAP_H
#define GUI_BITMAP_H

typedef struct txSample
{
 unsigned long Width;
 unsigned long Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

int bpRead( char * fname, txSample * bf );
void Convert32to1( txSample * in,txSample * out,int adaptivlimit );

#endif /* GUI_BITMAP_H */