1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 02:45:43 +00:00
mpv/Gui/bitmap/tga/tga.h
pontscho 2a59fbf120 add gui support to config scripts, and fixed some warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1992 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-09-27 17:40:43 +00:00

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