1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
mpv/Gui/bitmap.h

23 lines
472 B
C
Raw Normal View History

#ifndef __MYSAMPLE
#define __MYSAMPLE
typedef struct _txSample
{
unsigned int Width;
unsigned int Height;
unsigned int BPP;
unsigned long ImageSize;
char * Image;
} txSample;
#include "png/png.h"
#include "../../mp_msg.h"
extern int bpRead( char * fname, txSample * bf );
extern int conv24to32( txSample * bf );
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
extern void Convert1to32( txSample * in,txSample * out );
#endif