Skip to content

Commit 4c424a1

Browse files
ExtremsDacoTaco
authored andcommitted
Video fixes
(cherry picked from commit 39b647c) video squash (cherry picked from commit 0e39e22)
1 parent 0759716 commit 4c424a1

File tree

3 files changed

+162
-78
lines changed

3 files changed

+162
-78
lines changed

gc/ogc/video.h

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void VIDEO_SetBlack(bool black);
9090

9191
/*!
9292
* \fn u32 VIDEO_GetNextField(void)
93-
* \brief Get the next field in DS mode.
93+
* \brief Get the next field
9494
*
9595
* \return \ref vi_fielddef "field"
9696
*/
@@ -207,6 +207,22 @@ GXRModeObj * VIDEO_GetPreferredMode(GXRModeObj *mode);
207207
*/
208208
u32 VIDEO_GetVideoScanMode(void);
209209

210+
/*!
211+
* \fn u32 VIDEO_SetAdjustingValues(s16 hor,s16 ver)
212+
* \brief Set video adjustment values
213+
*
214+
* \return none
215+
*/
216+
void VIDEO_SetAdjustingValues(s16 hor,s16 ver);
217+
218+
/*!
219+
* \fn u32 VIDEO_GetAdjustingValues(s16 hor,s16 ver)
220+
* \brief Get video adjustment values
221+
*
222+
* \return none
223+
*/
224+
void VIDEO_GetAdjustingValues(s16 *hor,s16 *ver);
225+
210226
#ifdef __cplusplus
211227
}
212228
#endif /* __cplusplus */

gc/ogc/video_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ distribution.
5454
#define VI_INTERLACE 0 /*!< Video mode INTERLACED. */
5555
#define VI_NON_INTERLACE 1 /*!< Video mode NON INTERLACED */
5656
#define VI_PROGRESSIVE 2 /*!< Video mode PROGRESSIVE. Special mode for higher quality */
57+
#define VI_3D 3 /*!< Video mode 3D */
5758

5859
/*!
5960
* @}
@@ -119,6 +120,7 @@ distribution.
119120
#define VI_TVMODE_NTSC_INT VI_TVMODE(VI_NTSC, VI_INTERLACE)
120121
#define VI_TVMODE_NTSC_DS VI_TVMODE(VI_NTSC, VI_NON_INTERLACE)
121122
#define VI_TVMODE_NTSC_PROG VI_TVMODE(VI_NTSC, VI_PROGRESSIVE)
123+
#define VI_TVMODE_NTSC_3D VI_TVMODE(VI_NTSC, VI_3D)
122124

123125
#define VI_TVMODE_PAL_INT VI_TVMODE(VI_PAL, VI_INTERLACE)
124126
#define VI_TVMODE_PAL_DS VI_TVMODE(VI_PAL, VI_NON_INTERLACE)

0 commit comments

Comments
 (0)