wut  v1.5.0
Wii U Toolchain
tv.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include <tve/tve.h>
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 typedef enum AVMTvAspectRatio
16 {
22 
23 typedef enum AVMTvResolution
24 {
38 
39 typedef enum AVMTvVideoRegion
40 {
44 
52 BOOL
54 
67 BOOL
69 
79 void
81 
91 BOOL
93 
110 BOOL
112 
122 int32_t
123 AVMGetTVUnderScan(uint32_t *outUnderScan);
124 
140 BOOL
142 
152 BOOL
154 
165 BOOL
167 
180 int32_t
182  AVMTvResolution resolution);
183 
196 int32_t
198  uint32_t unknown,
199  TVEPort port);
200 
210 int32_t
212 
225 int32_t
226 AVMSetTVUnderScan(uint32_t underScan);
227 
238 int32_t
239 AVMSetTVUnderScanParam(uint32_t underScan);
240 
256 int32_t
258  TVEPort port,
259  AVMTvResolution resolution);
260 
261 #ifdef __cplusplus
262 }
263 #endif
264 
void AVMGetHDMIState(TVEHdmiState *outState)
Gets the HDMI state.
int32_t AVMSetTVScanResolution(AVMTvResolution resolution)
Sets the TV resolution.
int32_t AVMGetTVUnderScan(uint32_t *outUnderScan)
Gets the TV under scan.
BOOL AVMSetTVEnable(BOOL enable)
Sets whether to show or hide the TV video out.
int32_t AVMSetTVUnderScanParam(uint32_t underScan)
AVMTvVideoRegion
Definition: tv.h:40
BOOL AVMIsAVOutReady(void)
Determines whether a TV is currently connected and displaying the Wii U source.
BOOL AVMGetCurrentPort(TVEPort *outPort)
Gets the TV port.
AVMTvAspectRatio
Definition: tv.h:16
int32_t AVMSetTVOutPort(TVEPort port, AVMTvResolution resolution)
Sets the TV port.
int32_t AVMSetTVVideoRegion(AVMTvVideoRegion videoRegion, TVEPort port, AVMTvResolution resolution)
Sets the TV video region.
BOOL AVMSetTVAspectRatio(AVMTvAspectRatio aspectRatio)
Sets the TV aspect ratio.
int32_t AVMSetTVUnderScan(uint32_t underScan)
Sets the TV under scan.
BOOL AVMDebugIsNTSC(void)
Gets the TV video region.
int32_t AVMSetTVScanMode(AVMTvResolution resolution, uint32_t unknown, TVEPort port)
Sets the TV resolution and port.
AVMTvResolution
Definition: tv.h:24
BOOL AVMGetTVScanMode(AVMTvResolution *outResolution)
Gets the TV resolution.
BOOL AVMGetTVAspectRatio(AVMTvAspectRatio *outAspectRatio)
Gets the TV aspect ratio.
@ AVM_TV_VIDEO_REGION_NTSC
Definition: tv.h:41
@ AVM_TV_VIDEO_REGION_PAL
Definition: tv.h:42
@ AVM_TV_ASPECT_RATIO_16_9
16:9
Definition: tv.h:20
@ AVM_TV_ASPECT_RATIO_4_3
4:3
Definition: tv.h:18
@ AVM_TV_RESOLUTION_720P
Definition: tv.h:28
@ AVM_TV_RESOLUTION_1080I
Definition: tv.h:30
@ AVM_TV_RESOLUTION_1080P
Definition: tv.h:31
@ AVM_TV_RESOLUTION_720P_3D
Definition: tv.h:29
@ AVM_TV_RESOLUTION_720P_50HZ
Definition: tv.h:34
@ AVM_TV_RESOLUTION_576I
Definition: tv.h:25
@ AVM_TV_RESOLUTION_576P
Definition: tv.h:33
@ AVM_TV_RESOLUTION_480I
Definition: tv.h:26
@ AVM_TV_RESOLUTION_1080P_50HZ
Definition: tv.h:36
@ AVM_TV_RESOLUTION_480I_PAL60
Definition: tv.h:32
@ AVM_TV_RESOLUTION_1080I_50HZ
Definition: tv.h:35
@ AVM_TV_RESOLUTION_480P
Definition: tv.h:27
TVEPort
Definition: tve.h:15
TVEHdmiState
Definition: tve.h:23
int32_t BOOL
Definition: wut_types.h:7