Files
AnyPS5/docs/dev/debt/libSceVideoDecoderArbitration.md

1.9 KiB

libSceVideoDecoderArbitration technical debt

Unknown function info

  • sceVideoDecoderArbitrationAcceptEvent, sceVideoDecoderArbitrationEnable and sceVideoDecoderArbitrationInitialize (libSceVideoDecoderArbitration) - throw once their argument checks pass: the console module then calls sceVideoArbitrationAcceptEvent, sceVideoArbitrationEnable and sceVideoArbitrationInitialize and maps their results, which is not implemented. They also throw for a parameter block they cannot read (the console module reads it unchecked). The declared argument types give only the widths the module reads; the meaning of the parameter block's fields after its size, and the callback's signature, are unknown. Only the 32-bit results are claimed.
  • The argument checks (libSceVideoDecoderArbitration) - in firmware 13.42's libSceVideoDecoderArbitration.sprx (SHA-256 40ddb3e99ee78bacf0196519ab82658140cec80ea8d6bc734124c66bb954eeb4), read from disassembly and not run on a console: sceVideoDecoderArbitrationInitialize (0xf0) returns 0x81570001 for a null block or a 64-bit size other than 0x18, 0x81570004 for a 32-bit value at offset 8 outside 0x100-0x2FF, and 0x81570001 for a 64-bit value at offset 0x10 outside 1-0x7F. Its 0x81570002 for an initialized module (0xc018, set only by its own success path) is not reachable here. sceVideoDecoderArbitrationEnable (0x1e0) returns 0x81570001 for a nonzero first or a null second argument; sceVideoDecoderArbitrationAcceptEvent (0x2a0) for an event above 1.
  • sceVideoDecoderArbitrationEnableSuspendMode (libSceVideoDecoderArbitration) - returns 0 as the console module (0x270) does, without the [ERR]sceVideoDecoderArbitrationEnableSuspendMode() This API is not available. line it prints.