APT:SendCaptureBufferInfo: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 30: | Line 30: | ||
| Result code  | | Result code  | ||
|}  | |}  | ||
=Capture info structure=  | |||
{| class="wikitable" border="1"  | |||
|-  | |||
!  Index Word  | |||
!  Description  | |||
|-  | |||
| 0  | |||
| ?  | |||
|-  | |||
| 1  | |||
| u8: 0 = framebuffer addresses from [[GSPGPU:ImportDisplayCaptureInfo|GSP]] captureinfo+0 / captureinfo+4 match, otherwise this is value 1 when those addresses don't match.  | |||
|-  | |||
| 2  | |||
| ?  | |||
|-  | |||
| 3  | |||
| ?  | |||
|-  | |||
| 4  | |||
| Main-screen [[LCD|0x1EF00X70]] value.  | |||
|-  | |||
| 5  | |||
| ?  | |||
|-  | |||
| 6  | |||
| ?  | |||
|-  | |||
| 7  | |||
| Sub-screen [[LCD|0x1EF00X70]] value.  | |||
|}  | |||
The user process initializes this structure using data from [[GSPGPU:ImportDisplayCaptureInfo]].  | |||
=Description=  | =Description=  | ||
The input size is clamped to 0x20-bytes by NS. The input buffer with the clamped size is then copied to a NS state buffer. The size field for this state buffer is also set to this clamped size. The format of the input structure is unknown.  | The input size is clamped to 0x20-bytes by NS. The input buffer with the clamped size is then copied to a NS state buffer. The size field for this state buffer is also set to this clamped size. The format of the input structure is unknown.  | ||
Revision as of 02:05, 14 May 2014
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x00400042] | 
| 1 | Size | 
| 2 | (Size<<14) | 2 | 
| 3 | Input buffer ptr | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code | 
| 1 | Result code | 
Capture info structure
| Index Word | Description | 
|---|---|
| 0 | ? | 
| 1 | u8: 0 = framebuffer addresses from GSP captureinfo+0 / captureinfo+4 match, otherwise this is value 1 when those addresses don't match. | 
| 2 | ? | 
| 3 | ? | 
| 4 | Main-screen 0x1EF00X70 value. | 
| 5 | ? | 
| 6 | ? | 
| 7 | Sub-screen 0x1EF00X70 value. | 
The user process initializes this structure using data from GSPGPU:ImportDisplayCaptureInfo.
Description
The input size is clamped to 0x20-bytes by NS. The input buffer with the clamped size is then copied to a NS state buffer. The size field for this state buffer is also set to this clamped size. The format of the input structure is unknown.