Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendxtn.h
Go to the documentation of this file.
00001 /* 00002 * DXTn codec 00003 * Version: 1.1 00004 * 00005 * Copyright (C) 2004 Daniel Borca All Rights Reserved. 00006 * 00007 * this is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2, or (at your option) 00010 * any later version. 00011 * 00012 * this is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with GNU Make; see the file COPYING. If not, write to 00019 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 00020 */ 00021 00022 00023 #ifndef DXTN_H_included 00024 #define DXTN_H_included 00025 00026 TAPI int TAPIENTRY 00027 dxt1_rgb_encode (int width, int height, int comps, 00028 const void *source, int srcRowStride, 00029 void *dest, int destRowStride); 00030 00031 TAPI int TAPIENTRY 00032 dxt1_rgba_encode (int width, int height, int comps, 00033 const void *source, int srcRowStride, 00034 void *dest, int destRowStride); 00035 00036 TAPI int TAPIENTRY 00037 dxt3_rgba_encode (int width, int height, int comps, 00038 const void *source, int srcRowStride, 00039 void *dest, int destRowStride); 00040 00041 TAPI int TAPIENTRY 00042 dxt5_rgba_encode (int width, int height, int comps, 00043 const void *source, int srcRowStride, 00044 void *dest, int destRowStride); 00045 00046 TAPI void TAPIENTRY 00047 dxt1_rgb_decode_1 (const void *texture, int stride /* in pixels */, 00048 int i, int j, byte *rgba); 00049 00050 TAPI void TAPIENTRY 00051 dxt1_rgba_decode_1 (const void *texture, int stride /* in pixels */, 00052 int i, int j, byte *rgba); 00053 00054 TAPI void TAPIENTRY 00055 dxt3_rgba_decode_1 (const void *texture, int stride /* in pixels */, 00056 int i, int j, byte *rgba); 00057 00058 TAPI void TAPIENTRY 00059 dxt5_rgba_decode_1 (const void *texture, int stride /* in pixels */, 00060 int i, int j, byte *rgba); 00061 00062 #endif Generated on Sun May 27 2012 04:19:21 for ReactOS by
1.7.6.1
|