Parent Directory
|
Revision Log
1.2.1 release
1 /* 2 DDS GIMP plugin 3 4 Copyright (C) 2004 Shawn Kirst <skirst@fuse.net>, 5 with parts (C) 2003 Arne Reuter <homepage@arnereuter.de> where specified. 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public 9 License as published by the Free Software Foundation; either 10 version 2 of the License, or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; see the file COPYING. If not, write to 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 20 Boston, MA 02111-1307, USA. 21 */ 22 23 #ifndef __DXT_H 24 #define __DXT_H 25 26 char *initialize_opengl(void); 27 28 int get_num_mipmaps(int width, int height); 29 unsigned int get_mipmapped_size(int width, int height, int bpp, 30 int level, int num, int format); 31 unsigned int get_volume_mipmapped_size(int width, int height, 32 int depth, int bpp, int level, 33 int num, int format); 34 35 36 int dxt_compress(unsigned char *dst, unsigned char *src, int format, 37 unsigned int width, unsigned int height, int bpp, 38 int mipmaps); 39 int dxt_decompress(unsigned char *dst, unsigned char *src, int format, 40 unsigned int size, unsigned int width, unsigned int height, 41 int bpp); 42 int generate_mipmaps(unsigned char *dst, unsigned char *src, 43 unsigned int width, unsigned int height, int bpp, 44 int indexed, int mipmaps); 45 int generate_volume_mipmaps(unsigned char *dst, unsigned char *src, 46 unsigned int width, unsigned int height, 47 unsigned int depth, int bpp, int indexed, 48 int mipmaps); 49 50 51 #endif 52
| ViewVC Help | |
| Powered by ViewVC 1.0.4 |