1 /*---------------------------------------------------------------------------*
2   Project:  THP demo
3   File:     THPDraw.h
4 
5   Copyright (C)2002-2006 Nintendo  All Rights Reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: THPDraw.h,v $
14   Revision 1.1  02/03/2006 10:00:34  aka
15   Imported from Dolphin tree.
16 
17 
18     1     02/01/16 11:03a Akagi
19     Initial revision made by Suzuki-san (IRD).
20 
21   $NoKeywords: $
22 
23  *---------------------------------------------------------------------------*/
24 
25 #ifndef __THP_DRAW_H__
26 #define __THP_DRAW_H__
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 #include <revolution.h>
33 
34 extern void THPGXRestore( void );
35 extern void THPGXYuv2RgbDraw( u8* y_data,
36                               u8* u_data,
37                               u8* v_data,
38                               s16 x,
39                               s16 y,
40                               s16 textureWidth,
41                               s16 textureHeight,
42                               s16 polygonWidth,
43                               s16 polygonHeight );
44 extern void THPGXYuv2RgbSetup( GXRenderModeObj *rmode );
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif // __THP_DRAW_H__
51