summaryrefslogtreecommitdiff
path: root/include/THPPlayer/THPDraw.h
blob: db3cd9456713ce456f4b79c2fc1b370308e30e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _THP_THPDRAW_H
#define _THP_THPDRAW_H

#include "common.h"
#include "rvl/GX/GXFrameBuf.h"

#ifdef __cplusplus
extern "C" {
#endif

void THPGXRestore();
void THPGXYuv2RgbSetup(GXRenderModeObj* rmode);
void THPGXYuv2RgbDraw(u8* yTexture, u8* uTexture, u8* vTexture, s16 x, s16 y,
                      s16 textureWidth, s16 textureHeight, s16 polygonWidth,
                      s16 polygonHeight);

#ifdef __cplusplus
}
#endif

#endif