10#define VIDEO_STATE_DISABLED 0
11#define VIDEO_STATE_ENABLED 1
12#define VIDEO_STATE_BUSY 3
14#define VIDEO_PRIMARY 0
15#define VIDEO_SECONDARY 1
17#define VIDEO_SCANMODE_INTERLACE 0
18#define VIDEO_SCANMODE_PROGRESSIVE 1
20#define VIDEO_SCANMODE2_AUTO 0
21#define VIDEO_SCANMODE2_INTERLACE 1
22#define VIDEO_SCANMODE2_PROGRESSIVE 2
24#define VIDEO_BUFFER_FORMAT_XRGB 0
25#define VIDEO_BUFFER_FORMAT_XBGR 1
26#define VIDEO_BUFFER_FORMAT_FLOAT 2
28#define VIDEO_ASPECT_AUTO 0
29#define VIDEO_ASPECT_4_3 1
30#define VIDEO_ASPECT_16_9 2
32#define VIDEO_RESOLUTION_UNDEFINED 0
33#define VIDEO_RESOLUTION_1080 1
34#define VIDEO_RESOLUTION_720 2
35#define VIDEO_RESOLUTION_480 4
36#define VIDEO_RESOLUTION_576 5
37#define VIDEO_RESOLUTION_1600x1080 10
38#define VIDEO_RESOLUTION_1440x1080 11
39#define VIDEO_RESOLUTION_1280x1080 12
40#define VIDEO_RESOLUTION_960x1080 13
42#define VIDEO_COLOR_RGB 0x01
43#define VIDEO_COLOR_YUV 0x02
44#define VIDEO_COLOR_XVYCC 0x04
46#define VIDEO_RESOLUTION_720_3D_FRAME_PACKING 0x81
47#define VIDEO_RESOLUTION_1024x720_3D_FRAME_PACKING 0x88
48#define VIDEO_RESOLUTION_960x720_3D_FRAME_PACKING 0x89
49#define VIDEO_RESOLUTION_800x720_3D_FRAME_PACKING 0x8a
50#define VIDEO_RESOLUTION_640x720_3D_FRAME_PACKING 0x8b
52#define VIDEO_REFRESH_AUTO 0x00
53#define VIDEO_REFRESH_59_94HZ 0x01
54#define VIDEO_REFRESH_50HZ 0x02
55#define VIDEO_REFRESH_60HZ 0x04
56#define VIDEO_REFRESH_30HZ 0x08
58#define VIDEO_PORT_NONE 0x00
59#define VIDEO_PORT_HDMI 0x01
60#define VIDEO_PORT_NETWORK 0x41
61#define VIDEO_PORT_COMPOSITE 0x81
62#define VIDEO_PORT_D 0x82
63#define VIDEO_PORT_COMPONENT 0x83
64#define VIDEO_PORT_RGB 0x84
65#define VIDEO_PORT_SCART 0x85
66#define VIDEO_PORT_DSUB 0x86
videoDisplayMode availableModes[32]
Video configuration structure.
u8 format
video buffer format.
u32 pitch
offset in bytes between the beginnings of consecutive lines.
u8 resolution
resolution id.
u8 conversion
Conversion mode.
u8 resolution
resolution id.
u16 refreshRates
Refresh rates.
u16 height
Screen height in pixels.
u16 width
Screen width in pixels.
u8 colorSpace
color space.
videoDisplayMode displayMode
display mode.
s32 videoGetNumberOfDevice(u32 videoOut)
s32 videoUnregisterCallback(u32 slot)
struct _videoColorInfo videoColorInfo
struct _videoDeviceInfo videoDeviceInfo
struct _videoKSVList videoKSVList
s32 videoGetState(s32 videoOut, s32 deviceIndex, videoState *state)
Get video state.
s32 videoGetConvertCursorColorInfo(u8 *rgbOutputRange)
struct _videostate videoState
Video state stucture.
struct _videoresolution videoResolution
Video resolution.
s32 videoGetDeviceInfo(u32 videoOut, u32 deviceIndex, videoDeviceInfo *info)
s32(* videoCallback)(u32 slot, u32 videoOut, u32 deviceIndex, u32 event, videoDeviceInfo *info, void *userData)
s32 videoRegisterCallback(u32 slot, videoCallback cbVideo, void *userData)
s32 videoConfigure(s32 videoOut, videoConfiguration *config, void *option, s32 blocking)
Configure the video output.
s32 videoGetResolutionAvailability(u32 videoOut, u32 resolutionId, u32 aspect, u32 option)
struct _videodisplaymode videoDisplayMode
Video display mode.
s32 videoGetConfiguration(u32 videoOut, videoConfiguration *config, void *option)
struct _videoconfig videoConfiguration
Video configuration structure.
s32 videoGetResolution(s32 resolutionId, videoResolution *resolution)
Get video resolution from resolution id.
s32 videoDebugSetMonitorType(u32 videoOut, u32 monitorType)