view gui/bitmap.h @ 25124:8809817b2266

Support convert 14-bit DTS stream into 16-bit stream if needed, so we have space to add the IEC header for it. DTS WAV/CD normally is 14-bit LE format, now we can passthrough it.
author ulion
date Sat, 24 Nov 2007 01:35:29 +0000
parents 3f0d00abc073
children 9d0b189ce1b2
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 */