mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 10:26:00 +00:00
2a59fbf120
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1992 b3059339-0415-0410-9bf9-f77b7e298cf2
22 lines
421 B
C
22 lines
421 B
C
|
|
#ifndef _MYTGA
|
|
#define _MYTGA
|
|
|
|
#include "../bitmap.h"
|
|
|
|
typedef struct
|
|
{
|
|
char tmp[12];
|
|
unsigned short sx;
|
|
unsigned short sy;
|
|
unsigned char depth;
|
|
unsigned char ctmp;
|
|
} tgaHeadert;
|
|
|
|
extern int tgaRead( char * filename,txSample * bf );
|
|
extern void tgaWriteBuffer( char * fname,unsigned char * Buffer,int sx,int sy,int BPP );
|
|
extern void tgaWriteTexture( char * filename,txSample * bf );
|
|
|
|
|
|
#endif
|