1 /*-------------------------------------------------------------
3 gx_struct.h -- support header
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
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.
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:
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.
22 2. Altered source versions must be plainly marked as such, and
23 must not be misrepresented as being the original software.
25 3. This notice may not be removed or altered from any source
28 -------------------------------------------------------------*/
31 #ifndef __GX_STRUCT_H__
32 #define __GX_STRUCT_H__
43 #endif /* __cplusplus */
47 \typedef struct _gx_rmodeobj GXRModeObj
48 \brief structure to hold the selected video and render settings
49 \param viTVMode mode and type of TV
50 \param fbWidth width of external framebuffer
51 \param efbHeight height of embedded framebuffer
52 \param xfbHeight height of external framebuffer
53 \param viXOrigin x starting point of first pixel to draw on VI
54 \param viYOrigin y starting point of first pixel to draw on VI
55 \param viWidth width of configured VI
56 \param viHeight height of configured VI
58 typedef struct _gx_rmodeobj
{
70 u8 sample_pattern
[12][2];
76 #endif /* __cplusplus */