In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Metaphrasis"

From WiiBrew
Jump to navigation Jump to search
Line 1: Line 1:
{{Infobox homebrewapp
+
これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!
| image = [[Image:Metaphrasis.png|200px]]
+
==これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!==
| title = Metaphrasis
+
===これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!===
| description = Library
+
これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!
| type = Development
+
[[これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!]]
| display = Any
 
| author = [[User:ArminTamzarian|Armin Tamzarian]]
 
| version = 0.1.0
 
| download = [http://code.google.com/p/metaphrasis/ Here]
 
}}
 
 
 
'''Metaphrasis''' is a static conversion class for transforming RGBA image buffers into various GX texture formats for Wii homebrew development. '''Metaphrasis''' is written in C++ and makes use of a community standard and newly developed algorithms for conversion of 32-bit RGBA data buffers into various GX texture formats common to both the Gamecube and Wii platforms.
 
 
 
This library was developed in-full by Armin Tamzarian with the support of developers in #wiibrew on EFnet, [[User:Chaosteil|Chaosteil]] of [[libwiisprite]], and [[User:DrTwox|DrTwox]] of [[GRRLIB]].
 
 
 
Full Doxygen API documentation is included within the download archive for assistance with program integration.
 
 
 
==Installation (Source Code)==
 
# Extract the Metaphrasis archive.
 
# Copy the contents of the src directory into your project's development path.
 
# Include the Metaphrasis header file in your code using syntax such as the following:
 
#include "Metaphrasis.h"
 
 
 
==Installation (Library)==
 
# Extract the Metaphrasis archive.
 
# Copy the contents of the lib directory into your devKitPro/libogc directory.
 
# Include the Metaphrasis header file in your code using syntax such as the following:
 
 
 
    #include "Metaphrasis.h"
 
 
 
==Usage==
 
* Create a buffer full of 32-bit RGBA values noting both the pixel height and width of the buffer.
 
* Call one of the many conversion routines from within your code. (Note: All methods within the Metaphrasis class are static and thus no class instance need be allocated)
 
 
 
uint32_t* rgba8Buffer = Metaphrasis::convertBufferToRGBA8(rgbaBuffer, bufferWidth, bufferHeight);
 
 
 
* Free your temporary RGBA value buffer if you no longer need said values.
 
 
 
:Currently supported conversion routines are as follows:
 
:* convertBufferToI4
 
:* convertBufferToI8
 
:* convertBufferToIA4
 
:* convertBufferToIA8
 
:* convertBufferToRGBA8
 
:* convertBufferToRGB565
 
:* convertBufferToRGB5A3
 
 
 
==License==
 
Metaphrasis is distributed under the GNU Lesser General Public License.
 
 
 
[[Category:Libraries]]
 

Revision as of 18:11, 5 March 2009

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!

これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて! これは、任天堂株式会社のCEOです。このサイトがダウンするか今の我々の利益の喪失を訴えて!