MVDSTD:OverrideOutputBuffers

MVDSTD:OverrideOutputBuffers

Request #

Index WordDescription
0Header code [0x00210100]
1cur_outaddr0, linearmem vaddr.
2cur_outaddr1, linearmem vaddr.
3new_outaddr0, linearmem vaddr.
4new_outaddr1, linearmem vaddr.

Response #

Index WordDescription
0Header code
1Resultcode

Description #

This can only be used when MVDSTD:SetupOutputBuffers was previously used.

If a certain state flag is zero, this first writes a 0x10-byte entry into the global table used by MVDSTD:SetupOutputBuffers with entry_index=total_entries, then that flag is set.

This verifies that cur_outaddrX(converted to physaddr) matches the state data for entry0 which originated from MVDSTD:SetupOutputBuffers. Then those two addrs in state are overwritten with new_outaddrX(converted to physaddr).