Difference between revisions of "MVDSTD:SetupOutputBuffers"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
| 1 | | 1 | ||
| Resultcode | | Resultcode | ||
− | |||
− | |||
− | |||
|} | |} | ||
Line 74: | Line 71: | ||
This loads the input structure into state, the vaddrs are also converted to physaddrs. It appears using this command multiple times will replace the entry-list in state with the input entry-list. | This loads the input structure into state, the vaddrs are also converted to physaddrs. It appears using this command multiple times will replace the entry-list in state with the input entry-list. | ||
− | Once this command is used, each [[MVDSTD:ControlFrameRendering|rendered]] frame will be written into the output buffers specified by the entry-list in state, instead of the output buffers from configuration. | + | Once this command is used, each [[MVDSTD:ControlFrameRendering|rendered]] frame will be written into the output buffers specified by the entry-list in state, instead of the output buffers from configuration. A separate frame is written into the buffers for each individual entry. |
Latest revision as of 06:20, 25 April 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x001F0902] |
1-35 | 0x8C-byte input structure. |
36 | Size of each buffer. |
37 | Value 0x0 |
38 | KProcess handle |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Resultcode |
Input Structure[edit]
Offset | Size | Description |
---|---|---|
0x0 | 0x4 | Total entries that are actually used below. |
0x4 | 0x88 | 17 0x8-byte entries. |
Entry Structure[edit]
Offset | Size | Description |
---|---|---|
0x0 | 0x4 | Linearmem vaddr output buffer, equivalent to config+0x64. This must be non-zero. |
0x4 | 0x4 | Linearmem vaddr additional output buffer, equivalent to config+0x68. This can be zero when not used. |
Description[edit]
This command isn't used by SKATER.
This loads the input structure into state, the vaddrs are also converted to physaddrs. It appears using this command multiple times will replace the entry-list in state with the input entry-list.
Once this command is used, each rendered frame will be written into the output buffers specified by the entry-list in state, instead of the output buffers from configuration. A separate frame is written into the buffers for each individual entry.