19 #define RESC_ERROR_NOT_INITIALIZED (0x80210301) 20 #define RESC_ERROR_REINITIALIZED (0x80210302) 21 #define RESC_ERROR_BAD_ALIGNMENT (0x80210303) 22 #define RESC_ERROR_BAD_ARGUMENT (0x80210304) 23 #define RESC_ERROR_LESS_MEMORY (0x80210305) 24 #define RESC_ERROR_GCM_FLIP_QUE_FULL (0x80210306) 25 #define RESC_ERROR_BAD_COMBINATION (0x80210307) 28 #define RESC_CONSTANT_VRAM 0 29 #define RESC_MINIMUM_VRAM 1 30 #define RESC_CONSTANT_GPU_LOAD 0 31 #define RESC_MINIMUM_GPU_LOAD 2 34 #define RESC_SURFACE_A8R8G8B8 GCM_TF_COLOR_A8R8G8B8 35 #define RESC_SURFACE_F_W16Z16Y16X16 GCM_TF_COLOR_F_W16Z16Y16X16 38 #define RESC_UNDEFINED 0 39 #define RESC_720x480 1 40 #define RESC_720x576 2 41 #define RESC_1280x720 4 42 #define RESC_1920x1080 8 45 #define RESC_FULLSCREEN 0 46 #define RESC_LETTERBOX 1 47 #define RESC_PANSCAN 2 51 #define RESC_PAL_60_DROP 1 52 #define RESC_PAL_60_INTERPOLATE 2 53 #define RESC_PAL_60_INTERPOLATE_30_DROP 3 54 #define RESC_PAL_60_INTERPOLATE_DROP_FLEXIBLE 4 55 #define RESC_PAL_60_FOR_HSYNC 5 58 #define RESC_NORMAL_BILINEAR 0 59 #define RESC_INTERLACE_FILTER 1 60 #define RESC_3X3_GAUSSIAN 2 61 #define RESC_2X3_QUINCUNX 3 62 #define RESC_2X3_QUINCUNX_ALT 4 65 #define RESC_ELEMENT_HALF 0 66 #define RESC_ELEMENT_FLOAT 1 69 #define RESC_DISPLAY_VSYNC 0 70 #define RESC_DISPLAY_HSYNC 1 185 s32 rescSetDsts(u32 dstsMode,
rescDsts *dsts);
186 s32 rescSetDisplayMode(u32 bufferMode);
187 s32 rescGetNumColorBuffers(u32 dstsMode, u32 palTemporalMode, u32 reserved);
188 s32 rescGetBufferSize(
int *colorBuffers,
int *vertexArray,
int *fragmentShader);
189 s32 rescSetBufferAddress(
void *colorBuffers,
void *vertexArray,
void *fragmentShader);
190 s32 rescSetSrc(s32 idx,
rescSrc *src);
193 s64 rescGetLastFlipTime();
194 void rescResetFlipStatus();
195 u32 rescGetFlipStatus();
196 s32 rescGetRegisterCount();
197 void rescSetRegisterCount(s32 count);
198 s32 rescSetPalInterpolateDropFlexRatio(
float ratio);
199 s32 rescCreateInterlaceTable(
void *ea,
float srcH, s32 depth,
int length);
200 s32 rescAdjustAspectRatio(
float horizontal,
float vertical);
203 void rescSetVBlankHandler(
void (*handler)(u32 head));
204 void rescSetFlipHandler(
void (*handler)(u32 head));
208 s32 rescVideoResolution2RescBufferMode(u32 resolutionId, u32 *bufferMode);
RSX target surface data structure.
Definition: gcm_sys.h:449
Miscellaneous system utility functions.
RSX Context data structure.
Definition: gcm_sys.h:412
RSX low level management.