1 /*-------------------------------------------------------------
2 
3 texconv.h -- GX texture helper functions
4 
5 Copyright (C) 2004
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
8 
9 This software is provided 'as-is', without any express or implied
10 warranty.  In no event will the authors be held liable for any
11 damages arising from the use of this software.
12 
13 Permission is granted to anyone to use this software for any
14 purpose, including commercial applications, and to alter it and
15 redistribute it freely, subject to the following restrictions:
16 
17 1.	The origin of this software must not be misrepresented; you
18 must not claim that you wrote the original software. If you use
19 this software in a product, an acknowledgment in the product
20 documentation would be appreciated but is not required.
21 
22 2.	Altered source versions must be plainly marked as such, and
23 must not be misrepresented as being the original software.
24 
25 3.	This notice may not be removed or altered from any source
26 distribution.
27 
28 -------------------------------------------------------------*/
29 
30 #ifndef __TEXCONV_H__
31 #define __TEXTCONV_H__
32 
33 /*!
34 \file texconv.h
35 \brief GX texture helper functions
36 */
37 
38 #include <gctypes.h>
39 
40 #ifdef __cplusplus
41    extern "C" {
42 #endif /* __cplusplus */
43 
44 void MakeTexture565(const void *src,void *dst,s32 width,s32 height);
45 
46 #ifdef __cplusplus
47    }
48 #endif /* __cplusplus */
49 
50 #endif
51