MVDSTD:SetupOutputBuffers

MVDSTD:SetupOutputBuffers

Request #

Index WordDescription
0Header code [0x001F0902]
1-350x8C-byte input structure.
36Size of each buffer.
37Value 0x0
38KProcess handle

Response #

Index WordDescription
0Header code
1Resultcode

Input Structure #

OffsetSizeDescription
0x00x4Total entries that are actually used below.
0x40x8817 0x8-byte entries.

Entry Structure #

OffsetSizeDescription
0x00x4Linearmem vaddr output buffer, equivalent to config+0x64. This must be non-zero.
0x40x4Linearmem vaddr additional output buffer, equivalent to config+0x68. This can be zero when not used.

Description #

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.