SceCodecEngineWrapper: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
 
Line 60: Line 60:
<source lang="C">int sceCodecEngineDsp0AllocCommunicationMemoriesForDriver(SceVeneziaRpcMemoryContext context);</source>
<source lang="C">int sceCodecEngineDsp0AllocCommunicationMemoriesForDriver(SceVeneziaRpcMemoryContext context);</source>


=== sceVeneziaConvertPhysicalToVirtualForDriver ===
=== sceCodecEngineDsp0ConvertPhysicalToVirtualForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 69: Line 69:
|}
|}


<source lang="C">int sceVeneziaConvertPhysicalToVirtualForDriver(SceVeneziaRpcMemoryContext context);</source>
Temp name was sceVeneziaConvertPhysicalToVirtualForDriver.
 
<source lang="C">int sceCodecEngineDsp0ConvertPhysicalToVirtualForDriver(SceVeneziaRpcMemoryContext context);</source>


=== sceVeneziaUnlockProcessSuspendForDriver ===
=== sceVeneziaUnlockProcessSuspendForDriver ===
Line 106: Line 108:
<source lang="C">void *sceVeneziaOpenPublicMemoryForDriver(void *paddr, SceUInt32 size);</source>
<source lang="C">void *sceVeneziaOpenPublicMemoryForDriver(void *paddr, SceUInt32 size);</source>


=== sceVeneziaTermRpcMemoryForDriver ===
=== sceCodecEngineDsp0FreeCommunicationMemoriesForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 115: Line 117:
|}
|}


This is a guessed name.
Temp name was sceVeneziaTermRpcMemoryForDriver.


<source lang="C">int sceVeneziaTermRpcMemoryForDriver(SceVeneziaRpcMemoryContext context);</source>
<source lang="C">int sceCodecEngineDsp0FreeCommunicationMemoriesForDriver(SceVeneziaRpcMemoryContext context);</source>


=== sceVeneziaClosePublicMemoryForDriver ===
=== sceVeneziaClosePublicMemoryForDriver ===
Line 173: Line 175:
<source lang="C">void sceVeneziaHeapFreeForDriver(unsigned int heapType, void *addr, int size);</source>
<source lang="C">void sceVeneziaHeapFreeForDriver(unsigned int heapType, void *addr, int size);</source>


=== sceVeneziaConvertVirtualToPhysicalForDriver ===
=== sceCodecEngineDsp0ConvertVirtualToPhysicalForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 182: Line 184:
|}
|}


<source lang="C">int sceVeneziaConvertVirtualToPhysicalForDriver(SceVeneziaRpcMemoryContext context, void *vaddr, unsigned int size, SceVeneziaConvertOpt *opt);</source>
Temp name was sceVeneziaConvertVirtualToPhysicalForDriver.


=== sceVeneziaGetVThreadProcessingResourceForDriver ===
<source lang="C">int sceCodecEngineDsp0ConvertVirtualToPhysicalForDriver(SceVeneziaRpcMemoryContext context, void *vaddr, unsigned int size, SceVeneziaConvertOpt *opt);</source>
 
=== sceCodecEngineDsp0GetThreadExecGroupForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 193: Line 197:
|}
|}


<source lang="C">void *sceVeneziaGetVThreadProcessingResourceForDriver(unsigned int key);</source>
Temp name was sceVeneziaGetVThreadProcessingResourceForDriver.
 
<source lang="C">void *sceCodecEngineDsp0GetThreadExecGroupForDriver(unsigned int key);</source>


=== sceCodecEngineUnmapUserVAtoPAForDriver ===
=== sceCodecEngineUnmapUserVAtoPAForDriver ===
Line 274: Line 280:
<source lang="C">int sceVeneziaLockProcessSuspendForDriver();</source>
<source lang="C">int sceVeneziaLockProcessSuspendForDriver();</source>


=== sceVeneziaMemcpyChainForDriver ===
=== sceCodecEngineDsp0MemcpyChainForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 283: Line 289:
|}
|}


<source lang="C">int sceVeneziaMemcpyChainForDriver(SceVeneziaRpcMemoryContext context);</source>
Temp name was sceVeneziaMemcpyChainForDriver.
 
<source lang="C">int sceCodecEngineDsp0MemcpyChainForDriver(SceVeneziaRpcMemoryContext context);</source>


=== sceVeneziaConvertPhysicalToVirtualForVeneziaForDriver ===
=== sceVeneziaConvertPhysicalToVirtualForVeneziaForDriver ===
Line 318: Line 326:
|}
|}


=== SceCodecEngineWrapperForDriver_0E38B133 ===
=== sceCodecEngineRegisterProcKillHandlerForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 408: Line 416:
|}
|}


=== SceCodecEngineWrapperForDriver_7492DE05 ===
=== sceCodecEngineDsp0IsProcessSuspendedForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 534: Line 542:
|}
|}


=== SceCodecEngineWrapperForDriver_EA88ABE5 ===
=== sceCodecEngineRegisterProcExitHandlerForDriver ===


{| class="wikitable"
{| class="wikitable"
Line 543: Line 551:
|}
|}


=== SceCodecEngineWrapperForDriver_F3F71CEF ===
=== sceCodecEngineIsUnmapMemoryForDriver ===


{| class="wikitable"
{| class="wikitable"

Latest revision as of 10:07, 25 August 2023

Module

Version World Privilege
1.800.071-3.740.011 Non-secure Kernel

For the equivalent of this module on System Software versions older than 1.800.071, see SceVeneziaWrapper.

Libraries

Known NIDs

Version Name World Visibility NID
1.800.071-3.740.011 SceCodecEngineWrapperForDriver Non-secure Kernel 0x51593F20
1.800.071-3.740.011 SceCodecEngineWrapperForDebugger Non-secure Kernel 0x615771E2
1.800.071-3.740.011 SceCodecEngineWrapper Non-secure User 0x5C9EE5B9

Types

typedef void* SceVeneziaRpcMemoryContext;

typedef struct SceVeneziaThunkArg {
	void *pVThreadProcessingResource;
	void *userArg2;
	void *userArg3;
	void *userArg4;
} SceVeneziaThunkArg;

typedef struct SceVeneziaConvertOpt {
	int flags;
	unsigned int size;
} SceVeneziaConvertOpt;

typedef SceVoid(*SceVeneziaRpcMemoryCommBegin)(SceVeneziaRpcMemoryContext context, SceVeneziaThunkArg *in, SceVeneziaThunkArg *out);
typedef SceVoid(*SceVeneziaRpcMemoryCommEnd)(SceVeneziaRpcMemoryContext context);

SceCodecEngineWrapperForDriver

sceCodecEngineDsp0AllocCommunicationMemoriesForDriver

Version NID
3.60-3.74 0x03EA6C2A

Temp name was sceVeneziaInitRpcMemoryForDriver.

int sceCodecEngineDsp0AllocCommunicationMemoriesForDriver(SceVeneziaRpcMemoryContext context);

sceCodecEngineDsp0ConvertPhysicalToVirtualForDriver

Version NID
3.60-3.74 0x07C53B4E

Temp name was sceVeneziaConvertPhysicalToVirtualForDriver.

int sceCodecEngineDsp0ConvertPhysicalToVirtualForDriver(SceVeneziaRpcMemoryContext context);

sceVeneziaUnlockProcessSuspendForDriver

Version NID
3.60-3.74 0x091B0231
int sceVeneziaUnlockProcessSuspendForDriver();

sceVeneziaRpcCallGenericThunk2ForDriver

Version NID
3.60-3.74 0x0D3BB164

This is a guessed name. Calls the same internal routine as sceVeneziaRpcCallGenericThunk with different arguments arragement.

int sceVeneziaRpcCallGenericThunk2ForDriver(unsigned int id, int arg1, int arg2);

sceVeneziaOpenPublicMemoryForDriver

Version NID
3.60-3.74 0x0F235F44
void *sceVeneziaOpenPublicMemoryForDriver(void *paddr, SceUInt32 size);

sceCodecEngineDsp0FreeCommunicationMemoriesForDriver

Version NID
3.60-3.74 0x1C2BC9F7

Temp name was sceVeneziaTermRpcMemoryForDriver.

int sceCodecEngineDsp0FreeCommunicationMemoriesForDriver(SceVeneziaRpcMemoryContext context);

sceVeneziaClosePublicMemoryForDriver

Version NID
3.60-3.74 0x26FAF6EC
void *sceVeneziaClosePublicMemoryForDriver(void *vnzVaddr, SceUInt32 size);

sceVeneziaHeapAllocForDriver

Version NID
3.60-3.74 0x2DD83BB0

This is a guessed name.

#define SCE_VENEZIA_HEAP_IMAGE_0	0 // First allocation paddr = 0x40963900, heap size = 0x80600
#define SCE_VENEZIA_HEAP_IMAGE		1 // First allocation paddr = 0x40A45700, heap size = 0x1BAA00
#define SCE_VENEZIA_HEAP_VRAM		2 // First allocation paddr = 0x20000000, heap size = 0x8000100

void *sceVeneziaHeapAllocForDriver(unsigned int heapType, int size);

sceVeneziaRpcCallGenericThunkForDriver

Version NID
3.60-3.74 0x391BD4FD
int sceVeneziaRpcCallGenericThunkForDriver(unsigned int id, SceVeneziaThunkArg *arg, SceVeneziaRpcMemoryCommBegin beginCallback, SceVeneziaRpcMemoryCommEnd endCallback);

sceVeneziaHeapFreeForDriver

Version NID
3.60-3.74 0x3C5E9CC3

This is a guessed name.

void sceVeneziaHeapFreeForDriver(unsigned int heapType, void *addr, int size);

sceCodecEngineDsp0ConvertVirtualToPhysicalForDriver

Version NID
3.60-3.74 0x47AED6FF

Temp name was sceVeneziaConvertVirtualToPhysicalForDriver.

int sceCodecEngineDsp0ConvertVirtualToPhysicalForDriver(SceVeneziaRpcMemoryContext context, void *vaddr, unsigned int size, SceVeneziaConvertOpt *opt);

sceCodecEngineDsp0GetThreadExecGroupForDriver

Version NID
3.60-3.74 0x6A1184EA

Temp name was sceVeneziaGetVThreadProcessingResourceForDriver.

void *sceCodecEngineDsp0GetThreadExecGroupForDriver(unsigned int key);

sceCodecEngineUnmapUserVAtoPAForDriver

Version NID
3.60-3.74 0x6D41287F
int sceCodecEngineUnmapUserVAtoPAForDriver(SceUID pid, SceUIntVAddr memory, void **paddr);

sceCodecEngineUnmapKernelVAtoUserVAForDriver

Version NID
3.60-3.74 0x744D4C3F
int sceCodecEngineUnmapKernelVAtoUserVAForDriver(SceUID pid, SceUIntVAddr kernelMemory, SceUIntVAddr *memory);

sceCodecEngineUnmapUserVAtoKernelVAForDriver

Version NID
3.60-3.74 0x82E378BD
int sceCodecEngineUnmapUserVAtoKernelVAForDriver(SceUID pid, SceUIntVAddr memory, SceUIntVAddr *kernelMemory);

sceCodecEngineUnmapPAtoUserVAForDriver

Version NID
3.60-3.74 0xBCDCEA13
int sceCodecEngineUnmapPAtoUserVAForDriver(SceUID pid, void *paddr, SceUIntVAddr *memory);

sceCodecEngineUnregisterUnmapMemoryForDriver

Version NID
3.60-3.74 0xC5478DD5
int sceCodecEngineUnregisterUnmapMemoryForDriver(SceUID pid, SceUIntVAddr memory, SceUInt32 size);

sceVeneziaConvertVirtualToPhysicalForVeneziaForDriver

Version NID
3.60-3.74 0xC7C150AE

This is a guessed name.

void *sceVeneziaConvertVirtualToPhysicalForVeneziaForDriver(void *vaddr);

sceVeneziaLockProcessSuspendForDriver

Version NID
3.60-3.74 0xCB8703D8
int sceVeneziaLockProcessSuspendForDriver();

sceCodecEngineDsp0MemcpyChainForDriver

Version NID
3.60-3.74 0xD1F94D9D

Temp name was sceVeneziaMemcpyChainForDriver.

int sceCodecEngineDsp0MemcpyChainForDriver(SceVeneziaRpcMemoryContext context);

sceVeneziaConvertPhysicalToVirtualForVeneziaForDriver

Version NID
3.60-3.74 0xF9495589

This is a guessed name. Used to convert return value of sceVeneziaHeapAlloc().

void *sceVeneziaConvertPhysicalToVirtualForVeneziaForDriver(void *paddr);

sceCodecEngineRegisterUnmapMemoryForDriver

Version NID
3.60-3.74 0xFBD4853E
int sceCodecEngineRegisterUnmapMemoryForDriver(SceUID pid, SceUIntVAddr memory, SceUInt32 size);

SceCodecEngineWrapperForDriver_0D140628

Version NID
3.60 0x0D140628

sceCodecEngineRegisterProcKillHandlerForDriver

Version NID
3.60 0x0E38B133

SceCodecEngineWrapperForDriver_16506603

Version NID
3.60 0x16506603

SceCodecEngineWrapperForDriver_18197103

Version NID
3.60 0x18197103

SceCodecEngineWrapperForDriver_2B74706E

Version NID
3.60 0x2B74706E

SceCodecEngineWrapperForDriver_2B7CC150

Version NID
3.60 0x2B7CC150

SceCodecEngineWrapperForDriver_30F6AFD4

Version NID
3.60 0x30F6AFD4

SceCodecEngineWrapperForDriver_3A79A935

Version NID
3.60 0x3A79A935

SceCodecEngineWrapperForDriver_54F39D1D

Version NID
3.60 0x54F39D1D

SceCodecEngineWrapperForDriver_62996F94

Version NID
3.60 0x62996F94

SceCodecEngineWrapperForDriver_6A3638A8

Version NID
3.60 0x6A3638A8

sceCodecEngineDsp0IsProcessSuspendedForDriver

Version NID
3.60 0x7492DE05

SceCodecEngineWrapperForDriver_86861877

Version NID
3.60 0x86861877

SceCodecEngineWrapperForDriver_8CD35820

Version NID
3.60 0x8CD35820

SceCodecEngineWrapperForDriver_8DEF9631

Version NID
3.60 0x8DEF9631

SceCodecEngineWrapperForDriver_8FE370E6

Version NID
3.60 0x8FE370E6

SceCodecEngineWrapperForDriver_91535820

Version NID
3.60 0x91535820

SceCodecEngineWrapperForDriver_972F0D0F

Version NID
3.60 0x972F0D0F

SceCodecEngineWrapperForDriver_9D3B1425

Version NID
3.60 0x9D3B1425

SceCodecEngineWrapperForDriver_9EB3D63E

Version NID
3.60 0x9EB3D63E

SceCodecEngineWrapperForDriver_B280BA55

Version NID
3.60 0xB280BA55

SceCodecEngineWrapperForDriver_B420ABAC

Version NID
3.60 0xB420ABAC

SceCodecEngineWrapperForDriver_B48B02A3

Version NID
3.60 0xB48B02A3

SceCodecEngineWrapperForDriver_BB02EB22

Version NID
3.60 0xBB02EB22

SceCodecEngineWrapperForDriver_BB388700

Version NID
3.60 0xBB388700

sceCodecEngineRegisterProcExitHandlerForDriver

Version NID
3.60 0xEA88ABE5

sceCodecEngineIsUnmapMemoryForDriver

Version NID
3.60 0xF3F71CEF

SceCodecEngineWrapperForDriver_FAF590A6

Version NID
3.60 0xFAF590A6

SceCodecEngineWrapperForDebugger

SceCodecEngineWrapperForDebugger_771190E7

Version NID
3.60 0x771190E7

SceCodecEngineWrapper

FUNCTION: SceCodecEngineWrapper_03DCBDCA
FUNCTION_NID: 0x03DCBDCA 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_04BA9415
FUNCTION_NID: 0x04BA9415 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_04D5F36B
FUNCTION_NID: 0x04D5F36B 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_1E9E5A79
FUNCTION_NID: 0x1E9E5A79 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_241B194B
FUNCTION_NID: 0x241B194B 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_362E9415
FUNCTION_NID: 0x362E9415 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_3EBA4982
FUNCTION_NID: 0x3EBA4982 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_489FF965
FUNCTION_NID: 0x489FF965 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_6AF71F08
FUNCTION_NID: 0x6AF71F08 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_7E5E1F38
FUNCTION_NID: 0x7E5E1F38 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_8EFF2DAA
FUNCTION_NID: 0x8EFF2DAA 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_9B157692
FUNCTION_NID: 0x9B157692 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_AD30912D
FUNCTION_NID: 0xAD30912D 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_B0E654EE
FUNCTION_NID: 0xB0E654EE 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_CA79BFC4
FUNCTION_NID: 0xCA79BFC4 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_DE5EF6CC
FUNCTION_NID: 0xDE5EF6CC 1.800.071-3.740.011