Mercurial > mplayer.hg
view Gui/bitmap/tga/tga.h @ 6252:54283d7bc90a
DVD FAQ moved to faq.html, small TOC added. all this by Diego Biurrun
author | arpi |
---|---|
date | Fri, 31 May 2002 22:08:49 +0000 |
parents | dee4b2ea5e5b |
children |
line wrap: on
line source
#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