mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
c090d0da98
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4819 b3059339-0415-0410-9bf9-f77b7e298cf2
25 lines
514 B
C
25 lines
514 B
C
|
|
#ifndef __MYSAMPLE
|
|
#define __MYSAMPLE
|
|
|
|
typedef struct _txSample
|
|
{
|
|
unsigned int Width;
|
|
unsigned int Height;
|
|
unsigned int BPP;
|
|
unsigned long ImageSize;
|
|
char * Image;
|
|
} txSample;
|
|
|
|
#include "tga/tga.h"
|
|
#include "bmp/bmp.h"
|
|
#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
|