MVDSTD:GetConfig: Difference between revisions

Line 56: Line 56:
| 0x64
| 0x64
| 0x4
| 0x4
| FCRAM address. For [[MVDSTD:SetConfig]] this is an LINEAR-memory vaddr in the 0x30000000 vmem area. MVD module internally changes this to physaddr, hence this is a physaddr for the struct from GetConfig.
| Physical address.
|}
|}


The size of this structure is fixed to 0x11C-bytes.
The size of this structure is fixed to 0x11C-bytes. The user process does the LINEAR-mem vaddr->physaddr conversion for the above physaddrs, when modifying the config struct before using [[MVDSTD:SetConfig]].


=Description=
=Description=
For this command, MVD module DMAs 0x11C-bytes from a MVD state structure to the above output buffer.
For this command, MVD module DMAs 0x11C-bytes from a MVD state structure to the above output buffer.