MVDSTD:GetConfig: Difference between revisions
| Line 40: | Line 40: | ||
| 0x0 | | 0x0 | ||
| 0x4 | | 0x4 | ||
| | | Type: "MJPEG" = 0x00010001, H264 = 0x00020001. | ||
|- | |- | ||
| 0x0C | | 0x0C | ||
| Line 52: | Line 52: | ||
| 0x14 | | 0x14 | ||
| 0x4 | | 0x4 | ||
| | | Input data physical address, only set for "MJPEG". | ||
|- | |- | ||
| 0x40 | | 0x40 | ||
| 0x4 | | 0x4 | ||
| 0x1 for H.264 | | 0x0 for "MJPEG", 0x1 for H.264. | ||
|- | |- | ||
| 0x4C | | 0x4C | ||
| Line 76: | Line 76: | ||
| 0x64 | | 0x64 | ||
| 0x4 | | 0x4 | ||
| | | Output data physical address. | ||
|- | |- | ||
| 0x68 | | 0x68 | ||
| 0x4 | | 0x4 | ||
| | | Output data physical address, only set for "MJPEG". | ||
|} | |} | ||
See [[MVD_Services|here]] regarding "MJPEG". | |||
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]]. | ||