MVDSTD:GetConfig: Difference between revisions

Line 65: Line 65:
| 0x4
| 0x4
| Video width, only set for H.264.
| Video width, only set for H.264.
|-
| 0x58
| 0x4
| The default for this is 0x40002. The physaddr at offset 0x68 is only checked when this is value 0x00020001.
|-
|-
| 0x5C
| 0x5C
Line 83: Line 87:
|}
|}


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]].
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]]. For the above physaddrs that are checked/used, the physaddr must not be 0x0, and the physaddr must be 8-byte aligned(low 3-bits clear).


See [[MVD_Services|here]] regarding "MJPEG". For "MJPEG", the output frame is split into two images via the two output physaddrs.
See [[MVD_Services|here]] regarding "MJPEG". For "MJPEG", the output frame is split into two images via the two output physaddrs.