Difference between revisions of "SceVeneziaWrapper"

From Vita Development Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Venezia is also named Codec Engine which is more explicit.
+
On PS Vita, the [[Venezia]] processor works with a software framework named Codec Engine (CE). Codec Engine is also used by Texas Instruments in other devices. See [https://web.archive.org/web/20210114163743/https://processors.wiki.ti.com/index.php/Category:Codec_Engine TI Codec Engine documentation].
  
 
== Module ==
 
== Module ==
  
=== Known NIDs ===
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Version !! Name !! World !! Privilege !! NID
+
! Version !! World !! Privilege
 
|-
 
|-
| 1.69 || SceVeneziaWrapper || Non-secure || Kernel || 0x122350B8
+
| 0.990.030-1.692.000 || Non-secure || Kernel
 
|}
 
|}
 +
 +
'''For the equivalent of this module on System Software versions more recent than 1.692.000, see [[SceCodecEngineWrapper]].'''
  
 
== Libraries ==
 
== Libraries ==
Line 19: Line 20:
 
! Version !! Name !! World !! Visibility !! NID
 
! Version !! Name !! World !! Visibility !! NID
 
|-
 
|-
| 0.990-1.69 || [[SceVeneziaWrapper#SceVeneziaWrapperForDriver|SceVeneziaWrapperForDriver]] || Non-secure || Kernel || 0x4F5231A4
+
| 0.990.030-1.692.000 || [[SceVeneziaWrapper#SceVeneziaWrapperForDriver|SceVeneziaWrapperForDriver]] || Non-secure || Kernel || 0x4F5231A4
 
|-
 
|-
| 0.990-1.69 || [[SceVeneziaWrapper#SceVeneziaWrapper|SceVeneziaWrapper]] || Non-secure || User || 0x2B2DA8E1
+
| 0.990.030-1.692.000 || [[SceVeneziaWrapper#SceVeneziaWrapper|SceVeneziaWrapper]] || Non-secure || User || 0x2B2DA8E1
 
|}
 
|}
  
Line 31: Line 32:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990 || 0x788D332A
+
| 0.990.000-1.692.000 || 0x788D332A
 
|}
 
|}
  
Line 39: Line 40:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990 || 0x97938556
+
| 0.990.000-1.692.000 || 0x97938556
 
|}
 
|}
  
Line 47: Line 48:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990 || 0xC32A88F7
+
| 0.990.000-1.692.000 || 0xC32A88F7
 
|}
 
|}
  
 
<source lang="C">
 
<source lang="C">
typedef struct SceVeneziaMemcpyChainParam {
+
typedef struct SceVeneziaMemcpyChainParam { // size is 0x24 on FW 0.990
 
     SceUInt32 unk_0; // mayse size or number of elements in the struct, must be greater or equals 9
 
     SceUInt32 unk_0; // mayse size or number of elements in the struct, must be greater or equals 9
 
     SceUInt32 unk_4; // mayse size or number of elements in the struct, must be greater or equals 9
 
     SceUInt32 unk_4; // mayse size or number of elements in the struct, must be greater or equals 9
Line 71: Line 72:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990 || 0x2B78C6D2
+
| 0.990.000-1.692.000 || 0x2B78C6D2
 
|}
 
|}
  
Line 79: Line 80:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990 || 0x8BC041CA
+
| 0.990.000-1.692.000 || 0x8BC041CA
 
|}
 
|}
  
Line 87: Line 88:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990 || 0x64DFA0A9
+
| .990.000-1.692.000 || 0x64DFA0A9
 
|}
 
|}
  
Line 97: Line 98:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0x03DCBDCA
+
| 0.990-1.692.000 || 0x03DCBDCA
 
|}
 
|}
  
Line 105: Line 106:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0x04BA9415
+
| 0.990-1.692.000 || 0x04BA9415
 
|}
 
|}
  
Line 113: Line 114:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0x04D5F36B
+
| 0.990-1.692.000 || 0x04D5F36B
 
|}
 
|}
  
Line 123: Line 124:
 
| 0.990 || not present
 
| 0.990 || not present
 
|-
 
|-
| 1.69 || 0x1E9E5A79
+
| 1.000.071-1.692.000 || 0x1E9E5A79
 
|}
 
|}
  
Line 133: Line 134:
 
| 0.990 || not present
 
| 0.990 || not present
 
|-
 
|-
| 1.69 || 0x241B194B
+
| 1.000.071-1.692.000 || 0x241B194B
 
|}
 
|}
  
Line 141: Line 142:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0x362E9415
+
| 0.990-1.692.000 || 0x362E9415
 
|}
 
|}
  
Line 149: Line 150:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0x3EBA4982
+
| 0.990-1.692.000 || 0x3EBA4982
 
|}
 
|}
 +
 +
<source lang="C">
 +
typedef struct SceCodecEnginePmonGetProcessorLoadParam { // size is 8 on FW 0.990
 +
    SceSize outSize; // must be greater than 8
 +
    SceUInt32 reserved;
 +
} SceCodecEnginePmonGetProcessorLoadParam;
 +
 +
int _sceCodecEnginePmonGetProcessorLoad(void *outBuf, SceCodecEnginePmonGetProcessorLoadParam *pParam);
 +
</source>
  
 
=== _sceCodecEngineFreeMemoryFromUnmapMemBlock ===
 
=== _sceCodecEngineFreeMemoryFromUnmapMemBlock ===
Line 157: Line 167:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0x489FF965
+
| 0.990-1.692.000 || 0x489FF965
 
|}
 
|}
  
Line 165: Line 175:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0x6AF71F08
+
| 0.990-1.692.000 || 0x6AF71F08
 
|}
 
|}
  
Line 175: Line 185:
 
| 0.990 || not present
 
| 0.990 || not present
 
|-
 
|-
| 1.69 || 0x7E5E1F38
+
| 1.000.071-1.692.000 || 0x7E5E1F38
 
|}
 
|}
  
Line 185: Line 195:
 
| 0.990 || not present
 
| 0.990 || not present
 
|-
 
|-
| 1.69 || 0x8EFF2DAA
+
| 1.000.071-1.692.000 || 0x8EFF2DAA
 
|}
 
|}
  
Line 195: Line 205:
 
| 0.990 || not present
 
| 0.990 || not present
 
|-
 
|-
| 1.69 || 0x9B157692
+
| 1.000.071-1.692.000 || 0x9B157692
 
|}
 
|}
  
Line 203: Line 213:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0xAD30912D
+
| 0.990-1.692.000 || 0xAD30912D
 
|}
 
|}
  
Line 211: Line 221:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0xB0E654EE
+
| 0.990-1.692.000 || 0xB0E654EE
 
|}
 
|}
  
Line 219: Line 229:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 0.990-1.69 || 0xCA79BFC4
+
| 0.990-1.692.000 || 0xCA79BFC4
 
|}
 
|}
  
Line 229: Line 239:
 
| 0.990 || not present
 
| 0.990 || not present
 
|-
 
|-
| 1.69 || 0xDE5EF6CC
+
| 1.000.071-1.692.000 || 0xDE5EF6CC
 
|}
 
|}
  
 
+
[[Category:ARM]]
 +
[[Category:Kernel]]
 
[[Category:Modules]]
 
[[Category:Modules]]
[[Category:Kernel]]
+
[[Category:Library]]

Latest revision as of 01:16, 9 August 2023

On PS Vita, the Venezia processor works with a software framework named Codec Engine (CE). Codec Engine is also used by Texas Instruments in other devices. See TI Codec Engine documentation.

Module

Version World Privilege
0.990.030-1.692.000 Non-secure Kernel

For the equivalent of this module on System Software versions more recent than 1.692.000, see SceCodecEngineWrapper.

Libraries

Known NIDs

Version Name World Visibility NID
0.990.030-1.692.000 SceVeneziaWrapperForDriver Non-secure Kernel 0x4F5231A4
0.990.030-1.692.000 SceVeneziaWrapper Non-secure User 0x2B2DA8E1

SceVeneziaWrapperForDriver

sceVeneziaGetVThreadProcessingResourceForDriver

Version NID
0.990.000-1.692.000 0x788D332A

sceVeneziaIsProcessSuspendedForDriver

Version NID
0.990.000-1.692.000 0x97938556

sceVeneziaMemcpyChainForDriver

Version NID
0.990.000-1.692.000 0xC32A88F7
typedef struct SceVeneziaMemcpyChainParam { // size is 0x24 on FW 0.990
    SceUInt32 unk_0; // mayse size or number of elements in the struct, must be greater or equals 9
    SceUInt32 unk_4; // mayse size or number of elements in the struct, must be greater or equals 9
    SceBool someId; // it affects which elements of the struct are used
    SceUInt32 unk_C;
    SceUInt32 unk_10;
    SceUInt32 unk_14;
    void *someSrc;
    SceUInt32 unk_1C;
    SceSize someSize;
} SceVeneziaMemcpyChainParam;

int sceVeneziaMemcpyChainForDriver(SceVeneziaMemcpyChainParam *pParam);

sceVipDmacMemcpyBlockingForDriver

Version NID
0.990.000-1.692.000 0x2B78C6D2

sceVeneziaConvertVirtualToPhysicalForDriver

Version NID
0.990.000-1.692.000 0x8BC041CA

sceVeneziaConvertPhysicalToVirtualForDriver

Version NID
.990.000-1.692.000 0x64DFA0A9

SceVeneziaWrapper

_sceCodecEngineAllocMemoryFromUnmapMemBlock

Version NID
0.990-1.692.000 0x03DCBDCA

_sceCodecEngineChangeNumWorkerCoresMax

Version NID
0.990-1.692.000 0x04BA9415

_sceCodecEnginePmonStop

Version NID
0.990-1.692.000 0x04D5F36B

_sceCodecEngineGetMemoryState

Version NID
0.990 not present
1.000.071-1.692.000 0x1E9E5A79

_sceCodecEngineGetProcessorLoad

Version NID
0.990 not present
1.000.071-1.692.000 0x241B194B

_sceCodecEngineChangeNumWorkerCoresDefault

Version NID
0.990-1.692.000 0x362E9415

_sceCodecEnginePmonGetProcessorLoad

Version NID
0.990-1.692.000 0x3EBA4982
typedef struct SceCodecEnginePmonGetProcessorLoadParam { // size is 8 on FW 0.990
    SceSize outSize; // must be greater than 8
    SceUInt32 reserved;
} SceCodecEnginePmonGetProcessorLoadParam;

int _sceCodecEnginePmonGetProcessorLoad(void *outBuf, SceCodecEnginePmonGetProcessorLoadParam *pParam);

_sceCodecEngineFreeMemoryFromUnmapMemBlock

Version NID
0.990-1.692.000 0x489FF965

_sceCodecEnginePmonStart

Version NID
0.990-1.692.000 0x6AF71F08

_sceCodecEngineChangeNumWorkerCores

Version NID
0.990 not present
1.000.071-1.692.000 0x7E5E1F38

_sceCodecEngineResetNumRpcCalled

Version NID
0.990 not present
1.000.071-1.692.000 0x8EFF2DAA

_sceCodecEngineGetNumRpcCalled

Version NID
0.990 not present
1.000.071-1.692.000 0x9B157692

_sceCodecEngineCloseUnmapMemBlock

Version NID
0.990-1.692.000 0xAD30912D

_sceCodecEngineOpenUnmapMemBlock

Version NID
0.990-1.692.000 0xB0E654EE

_sceCodecEnginePmonReset

Version NID
0.990-1.692.000 0xCA79BFC4

_sceCodecEngineSetClockFrequency

Version NID
0.990 not present
1.000.071-1.692.000 0xDE5EF6CC