wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
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
12extern "C" {
13#endif
14
22
38
44
52BOOL
54
67BOOL
69
79void
81
91BOOL
93
110BOOL
112
122int32_t
123AVMGetTVUnderScan(uint32_t *outUnderScan);
124
140BOOL
142
152BOOL
154
165BOOL
167
180int32_t
182 AVMTvResolution resolution);
183
196int32_t
198 uint32_t unknown,
199 TVEPort port);
200
210int32_t
212
225int32_t
226AVMSetTVUnderScan(uint32_t underScan);
227
238int32_t
239AVMSetTVUnderScanParam(uint32_t underScan);
240
256int32_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