MVD Services: Difference between revisions
| Line 11: | Line 11: | ||
| !  Available since system version   | !  Available since system version   | ||
| !  Description | !  Description | ||
| !  Used by [[Internet_Browser|SKATER]] | |||
| |- | |- | ||
| | 0x00010082 | | 0x00010082 | ||
| |   | |   | ||
| | [[MVDSTD:Initialize|Initialize]] | | [[MVDSTD:Initialize|Initialize]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x00020000 | | 0x00020000 | ||
| |   | |   | ||
| | [[MVDSTD:Shutdown|Shutdown]] | | [[MVDSTD:Shutdown|Shutdown]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x00030300 | | 0x00030300 | ||
| |   | |   | ||
| | [[MVDSTD:CalculateWorkBufSize|CalculateWorkBufSize]] | | [[MVDSTD:CalculateWorkBufSize|CalculateWorkBufSize]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x000400C0 | | 0x000400C0 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x00050100 | | 0x00050100 | ||
| |   | |   | ||
| | (s8 unk0, s8 unk1, s8 unk2, u32 unk3) SKATER uses hard-coded value 0 for all of these params. Using different input data for this doesn't seem to affect video-processing output. | | (s8 unk0, s8 unk1, s8 unk2, u32 unk3) SKATER uses hard-coded value 0 for all of these params. Using different input data for this doesn't seem to affect video-processing output. | ||
| | Yes | |||
| |- | |- | ||
| | 0x00060000 | | 0x00060000 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x00070000 | | 0x00070000 | ||
| |   | |   | ||
| | Used during shutdown with video-processing. | | Used during shutdown with video-processing. | ||
| | Yes | |||
| |- | |- | ||
| | 0x00080142 | | 0x00080142 | ||
| |   | |   | ||
| | [[MVDSTD:ProcessNALUnit|ProcessNALUnit]] | | [[MVDSTD:ProcessNALUnit|ProcessNALUnit]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x00090042 | | 0x00090042 | ||
| |   | |   | ||
| | [[MVDSTD:ControlFrameRendering|ControlFrameRendering]] | | [[MVDSTD:ControlFrameRendering|ControlFrameRendering]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x000A0000 | | 0x000A0000 | ||
| |   | |   | ||
| | [[MVDSTD:GetStatus|GetStatus]] | | [[MVDSTD:GetStatus|GetStatus]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x000B0000 | | 0x000B0000 | ||
| |   | |   | ||
| | GetStatusOther(unknown what this is used for). Same output size as [[MVDSTD:GetStatus|GetStatus]]. | | GetStatusOther(unknown what this is used for). Same output size as [[MVDSTD:GetStatus|GetStatus]]. | ||
| | ? | |||
| |- | |- | ||
| | 0x000C0100 | | 0x000C0100 | ||
| |   | |   | ||
| | (u8 unk0, s8 unk1, u32 unk2, u32 unk3) Unknown.  | | (u8 unk0, s8 unk1, u32 unk2, u32 unk3) Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x000D0000 | | 0x000D0000 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x000E0202 | | 0x000E0202 | ||
| |   | |   | ||
| | Unknown | | Unknown. The code for this appears to be similar to [[MVDSTD:ProcessNALUnit|ProcessNALUnit]], this DMAs data from the input buffer as well. | ||
| | No | |||
| |- | |- | ||
| | 0x000F0042 | | 0x000F0042 | ||
| |   | |   | ||
| | (s8 unk, val0, handle) Unknown | | (s8 unk, val0, handle) Unknown. Presumably the command 0x000E0202 version of [[MVDSTD:ControlFrameRendering]]. | ||
| | No | |||
| |- | |- | ||
| | 0x00100400 | | 0x00100400 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x00110000 | | 0x00110000 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x001200C0 | | 0x001200C0 | ||
| |   | |   | ||
| | (s8 unk0, u32 unk1, u32 unk2) Unknown.  | | (s8 unk0, u32 unk1, u32 unk2) Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x00130000 | | 0x00130000 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x001400C2 | | 0x001400C2 | ||
| |   | |   | ||
| | Unknown | | Unknown. The code for this appears to be similar to [[MVDSTD:ProcessNALUnit|ProcessNALUnit]], this DMAs data from the input buffer as well. | ||
| | No | |||
| |- | |- | ||
| | 0x00150042 | | 0x00150042 | ||
| |   | |   | ||
| | (s8 unk, val0, handle) Unknown | | (s8 unk, val0, handle) Unknown. Presumably the command 0x001400C2 version of [[MVDSTD:ControlFrameRendering]]. | ||
| | No | |||
| |- | |- | ||
| | 0x00160000 | | 0x00160000 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x00170000 | | 0x00170000 | ||
| |   | |   | ||
| | Unknown.  | | Unknown. | ||
| | No | |||
| |- | |- | ||
| | 0x00180000 | | 0x00180000 | ||
| |   | |   | ||
| | Unknown. Used during initialization regardless of the operation mode(color-conversion/video-processing). | | Unknown. Used during initialization regardless of the operation mode(color-conversion/video-processing). | ||
| | Yes | |||
| |- | |- | ||
| | 0x00190000 | | 0x00190000 | ||
| |   | |   | ||
| | Unknown. Used during shutdown regardless of the operation mode(color-conversion/video-processing). | | Unknown. Used during shutdown regardless of the operation mode(color-conversion/video-processing). | ||
| | Yes | |||
| |- | |- | ||
| | 0x001A0000 | | 0x001A0000 | ||
| |   | |   | ||
| | Used when doing color-format conversion. This triggers writing to the output buffer specified via config. | | Used when doing color-format conversion. This triggers writing to the output buffer specified via config. | ||
| | Yes | |||
| |- | |- | ||
| | 0x001B0040 | | 0x001B0040 | ||
| |   | |   | ||
| | (u8 unknown) Used during video-processing initialization. SKATER uses hard-coded value 1 for this. | | (u8 unknown) Used during video-processing initialization. SKATER uses hard-coded value 1 for this. | ||
| | Yes | |||
| |- | |- | ||
| | 0x001C0000 | | 0x001C0000 | ||
| |   | |   | ||
| | Used during shutdown with video-processing. | | Used during shutdown with video-processing. | ||
| | Yes | |||
| |- | |- | ||
| | 0x001D0042 | | 0x001D0042 | ||
| |   | |   | ||
| | [[MVDSTD:GetConfig|GetConfig]] | | [[MVDSTD:GetConfig|GetConfig]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x001E0044 | | 0x001E0044 | ||
| |   | |   | ||
| | [[MVDSTD:SetConfig|SetConfig]] | | [[MVDSTD:SetConfig|SetConfig]] | ||
| | Yes | |||
| |- | |- | ||
| | 0x001F0902 | | 0x001F0902 | ||
| |   | |   | ||
| | Unknown | | Unknown. This doesn't seem to be usable during video-processing? This loads the input structure containing linearmem addrs into state, which are also converted to physaddrs. | ||
| | No | |||
| |- | |- | ||
| | 0x00200002 | | 0x00200002 | ||
| |   | |   | ||
| | (val0, handle) Unknown | | (val0, handle) Unknown. This loads data from the table entry which has a field matching an input parameter. This is the table used by command 0x001F0902. | ||
| | No | |||
| |- | |- | ||
| | 0x00210100 | | 0x00210100 | ||
| |   | |   | ||
| | (u32 unk0, u32 unk1, u32 unk2, u32 unk3) Unknown | | (u32 unk0, u32 unk1, u32 unk2, u32 unk3) Unknown. This initializes table data used by command 0x001F0902. | ||
| | No | |||
| |} | |} | ||