SceCodec: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(Add module description, add SceCodec library exports, remove incorrect information about SceCodec library, add libraries NID ranges)
Line 1: Line 1:
Driver for the Audio CODEC chip. The original models use a Wolfson Microelectronics WM1803 while late Slim models (a USS-1002 unit from October 2015) use a Conexant CX20902.
== Module ==
== Module ==


Line 4: Line 6:


The module can be found in two versions at the following locations:
The module can be found in two versions at the following locations:
* <code>os0:kd/codec.skprx</code> / <code>bootimage:codec.skprx</code>
* <code>os0:kd/codec.skprx</code> / <code>bootimage:codec.skprx</code> for the WM chip
* <code>bootimage:codec_cx.skprx</code>
* <code>bootimage:codec_cx.skprx</code> for the Conexant chip


PSTV (Dolce) always uses the former.
PSTV (Dolce) always uses the former.
Line 28: Line 30:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
| 1.69-3.60 || [[SceCodec#SceCodecForDriver|SceCodecForDriver]] || Non-secure || Kernel || 0x7697DFB4
| 0.931-3.60 || [[SceCodec#SceCodecForDriver|SceCodecForDriver]] || Non-secure || Kernel || 0x7697DFB4
|-
| 0.931-1.06 || [[SceCodec#SceCodec|SceCodec]] || Non-secure || User || Not present
|-
|-
| 1.69 || [[SceCodec#SceCodec|SceCodec]] || Non-secure || User || 0xD0A994AE
| 1.50-1.69 || [[SceCodec#SceCodec|SceCodec]] || Non-secure || User || 0xD0A994AE
|-
|-
| 3.60 || [[SceCodec#SceCodec|SceCodec]] || Non-secure || User || not present
| 2.00+ || [[SceCodec#SceCodec|SceCodec]] || Non-secure || User || Removed
|}
|}


Line 49: Line 53:
== SceCodec ==
== SceCodec ==


Present on 1.69. Not present on 3.60+ (functions were certainly moved to [[SceCodecEngine]], [[SceCodecEngineWrapper]] or [[SceCodecEnginePerf]]).
=== SceCodec_8FA4193D ===
{| class="wikitable"
|-
! Version !! NID
|-
| 1.50-1.69 || 0x8FA4193D
|}
 
Alias of <code>SceCodecForDriver_CCDE1B04</code>.




[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Kernel]]

Revision as of 17:32, 24 October 2022

Driver for the Audio CODEC chip. The original models use a Wolfson Microelectronics WM1803 while late Slim models (a USS-1002 unit from October 2015) use a Conexant CX20902.

Module

This module only exists in Non-Secure world.

The module can be found in two versions at the following locations:

  • os0:kd/codec.skprx / bootimage:codec.skprx for the WM chip
  • bootimage:codec_cx.skprx for the Conexant chip

PSTV (Dolce) always uses the former.

PSVita only uses the latter if SysStateMgr's AU_CODEC_IC_CONEXANT check evaluates to true.

Name Version World Privilege
codec.skprx 0.931-3.65 Non-secure Kernel
codec_cx.skprx 3.50-3.60 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
0.931-3.60 SceCodecForDriver Non-secure Kernel 0x7697DFB4
0.931-1.06 SceCodec Non-secure User Not present
1.50-1.69 SceCodec Non-secure User 0xD0A994AE
2.00+ SceCodec Non-secure User Removed

SceCodecForDriver

         SceCodecForDriver_23BF8884: 0x23BF8884
         SceCodecForDriver_41CFFE48: 0x41CFFE48
         SceCodecForDriver_4FA36937: 0x4FA36937
         SceCodecForDriver_762BF716: 0x762BF716
         sceCodecSetVolumeForDriver: 0x8932F886
         SceCodecForDriver_C1DB7BAF: 0xC1DB7BAF
         SceCodecForDriver_CCDE1B04: 0xCCDE1B04
         SceCodecForDriver_CF398D8A: 0xCF398D8A
         SceCodecForDriver_E483B663: 0xE483B663

SceCodec

SceCodec_8FA4193D

Version NID
1.50-1.69 0x8FA4193D

Alias of SceCodecForDriver_CCDE1B04.