|
psl1ght
A free SDK for Sony's PS3 console
|
Video mode management. More...
#include <ppu-types.h>Go to the source code of this file.
Data Structures | |
| struct | _videoresolution |
| Video resolution. More... | |
| struct | _videodisplaymode |
| Video display mode. More... | |
| struct | _videostate |
| Video state stucture. More... | |
| struct | _videoconfig |
| Video configuration structure. More... | |
| struct | _videoColorInfo |
| struct | _videoKSVList |
| struct | _videoDeviceInfo |
Typedefs | |
| typedef struct _videoresolution | videoResolution |
| Video resolution. | |
| typedef struct _videodisplaymode | videoDisplayMode |
| Video display mode. | |
| typedef struct _videostate | videoState |
| Video state stucture. | |
| typedef struct _videoconfig | videoConfiguration |
| Video configuration structure. | |
| typedef struct _videoColorInfo | videoColorInfo |
| typedef struct _videoKSVList | videoKSVList |
| typedef struct _videoDeviceInfo | videoDeviceInfo |
| typedef s32(* | videoCallback) (u32 slot, u32 videoOut, u32 deviceIndex, u32 event, videoDeviceInfo *info, void *userData) |
Functions | |
| s32 | videoGetState (s32 videoOut, s32 deviceIndex, videoState *state) |
| Get video state. | |
| s32 | videoGetResolution (s32 resolutionId, videoResolution *resolution) |
| Get video resolution from resolution id. | |
| s32 | videoConfigure (s32 videoOut, videoConfiguration *config, void *option, s32 blocking) |
| Configure the video output. | |
| s32 | videoGetNumberOfDevice (u32 videoOut) |
| s32 | videoGetDeviceInfo (u32 videoOut, u32 deviceIndex, videoDeviceInfo *info) |
| s32 | videoGetConfiguration (u32 videoOut, videoConfiguration *config, void *option) |
| s32 | videoGetResolutionAvailability (u32 videoOut, u32 resolutionId, u32 aspect, u32 option) |
| s32 | videoDebugSetMonitorType (u32 videoOut, u32 monitorType) |
| s32 | videoGetConvertCursorColorInfo (u8 *rgbOutputRange) |
| s32 | videoRegisterCallback (u32 slot, videoCallback cbVideo, void *userData) |
| s32 | videoUnregisterCallback (u32 slot) |
Video mode management.
Definition in file video.h.
| typedef s32(* videoCallback) (u32 slot, u32 videoOut, u32 deviceIndex, u32 event, videoDeviceInfo *info, void *userData) |
| typedef struct _videoColorInfo videoColorInfo |
| typedef struct _videoconfig videoConfiguration |
Video configuration structure.
| typedef struct _videoDeviceInfo videoDeviceInfo |
| typedef struct _videodisplaymode videoDisplayMode |
Video display mode.
| typedef struct _videoKSVList videoKSVList |
| typedef struct _videoresolution videoResolution |
Video resolution.
| typedef struct _videostate videoState |
Video state stucture.
| s32 videoConfigure | ( | s32 | videoOut, |
| videoConfiguration * | config, | ||
| void * | option, | ||
| s32 | blocking | ||
| ) |
Configure the video output.
| videoOut | Video output id. |
| config | Pointer to a video configuration structure. |
| option | Pointer to additional video configuration data. |
| blocking | Nonzero indicates if the call is blocking or not. |
| s32 videoDebugSetMonitorType | ( | u32 | videoOut, |
| u32 | monitorType | ||
| ) |
| s32 videoGetConfiguration | ( | u32 | videoOut, |
| videoConfiguration * | config, | ||
| void * | option | ||
| ) |
| s32 videoGetConvertCursorColorInfo | ( | u8 * | rgbOutputRange | ) |
| s32 videoGetDeviceInfo | ( | u32 | videoOut, |
| u32 | deviceIndex, | ||
| videoDeviceInfo * | info | ||
| ) |
| s32 videoGetNumberOfDevice | ( | u32 | videoOut | ) |
| s32 videoGetResolution | ( | s32 | resolutionId, |
| videoResolution * | resolution | ||
| ) |
Get video resolution from resolution id.
| resolutionId | The input resolution id. The possible values are:
|
| resolution | Pointer to the video resolution structure to be updated. |
| s32 videoGetResolutionAvailability | ( | u32 | videoOut, |
| u32 | resolutionId, | ||
| u32 | aspect, | ||
| u32 | option | ||
| ) |
| s32 videoGetState | ( | s32 | videoOut, |
| s32 | deviceIndex, | ||
| videoState * | state | ||
| ) |
Get video state.
For the default display, just use 0 for videoOut and deviceIndex.
| videoOut | Video output id. |
| deviceIndex | Devide index. |
| state | Pointer to a video state structure to be updated. |
| s32 videoRegisterCallback | ( | u32 | slot, |
| videoCallback | cbVideo, | ||
| void * | userData | ||
| ) |
| s32 videoUnregisterCallback | ( | u32 | slot | ) |