|
PS2SDK
PS2 Homebrew Libraries
|
Go to the documentation of this file.
13 #define GRAPH_MODE_AUTO 0
15 #define GRAPH_MODE_NTSC 1
17 #define GRAPH_MODE_PAL 2
19 #define GRAPH_MODE_HDTV_480P 3
21 #define GRAPH_MODE_HDTV_576P 4
23 #define GRAPH_MODE_HDTV_720P 5
25 #define GRAPH_MODE_HDTV_1080I 6
27 #define GRAPH_MODE_VGA_640_60 7
29 #define GRAPH_MODE_VGA_640_72 8
31 #define GRAPH_MODE_VGA_640_75 9
33 #define GRAPH_MODE_VGA_640_85 10
35 #define GRAPH_MODE_VGA_800_56 11
37 #define GRAPH_MODE_VGA_800_60 12
39 #define GRAPH_MODE_VGA_800_72 13
41 #define GRAPH_MODE_VGA_800_75 14
43 #define GRAPH_MODE_VGA_800_85 15
45 #define GRAPH_MODE_VGA_1024_60 16
47 #define GRAPH_MODE_VGA_1024_70 17
49 #define GRAPH_MODE_VGA_1024_75 18
51 #define GRAPH_MODE_VGA_1024_85 19
53 #define GRAPH_MODE_VGA_1280_60 20
55 #define GRAPH_MODE_VGA_1280_75 21
57 #define GRAPH_MODE_NONINTERLACED 0
58 #define GRAPH_MODE_INTERLACED 1
60 #define GRAPH_MODE_FIELD 0
61 #define GRAPH_MODE_FRAME 1
63 #define GRAPH_FIELD_EVEN 0
64 #define GRAPH_FIELD_ODD 1
67 #define GRAPH_DISABLE 0
68 #define GRAPH_ENABLE 1
71 #define GRAPH_GCONT_RGB 0
72 #define GRAPH_GCONT_YCRCB 1
74 #define GRAPH_CMOD_NTSC 2
75 #define GRAPH_CMOD_PAL 3
78 #define GRAPH_VALUE_RC1 0
79 #define GRAPH_VALUE_ALPHA 1
82 #define GRAPH_RC1_ALPHA 0
83 #define GRAPH_RC2_ALPHA 1
86 #define GRAPH_BLEND_RC2 0
87 #define GRAPH_BLEND_BGCOLOR 1
102 extern int graph_initialize(
int fbp,
int width,
int height,
int psm,
int x,
int y);
117 extern int graph_set_mode(
int interlace,
int mode,
int ffmd,
int flicker_filter);
129 extern void graph_set_bgcolor(
unsigned char r,
unsigned char g,
unsigned char b);
132 extern void graph_set_output(
int rc1,
int rc2,
int alpha_select,
int alpha_output,
int blend_method,
unsigned char alpha);
void graph_wait_hsync(void)
void graph_wait_vsync(void)
void graph_remove_vsync_handler(int callback_id)
int graph_check_vsync(void)
int graph_get_region(void)
void graph_start_vsync(void)
void graph_set_framebuffer_filtered(int fbp, int width, int psm, int x, int y)
void graph_set_output(int rc1, int rc2, int alpha_select, int alpha_output, int blend_method, unsigned char alpha)
void graph_enable_output(void)
float graph_aspect_ratio(void)
int graph_initialize(int fbp, int width, int height, int psm, int x, int y)
void graph_set_framebuffer(int context, int fbp, int width, int psm, int x, int y)
void graph_set_bgcolor(unsigned char r, unsigned char g, unsigned char b)
int graph_set_screen(int x, int y, int width, int height)
void graph_disable_output(void)
int graph_add_vsync_handler(int(*vsync_callback)(int cause))
int graph_set_mode(int interlace, int mode, int ffmd, int flicker_filter)