ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dxtn.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.