SceJpegEncArm: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! Name !! World !! Privilege
! Version !! World !! Privilege
|-
|-
| 1.69-3.60 || SceJpegEncArm || Non-secure || User
| 0.990-3.740.011 || Non-secure || User
|}
|}


Line 16: Line 16:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
! 0.990 !! [[#SceJpegEncArm|SceJpegEncArm]] !! Non-secure !! User !! 0xCF9C23A2
| 0.990-3.740.011 || [[#SceJpegEncArm|SceJpegEncArm]] || Non-secure || User || 0xCF9C23A2
|}
|}


Line 124: Line 124:
</source>
</source>


 
[[Category:ARM]]
[[Category:Modules]][[Category:Usermode]]
[[Category:Usermode]]
[[Category:Modules]]
[[Category:Library]]

Latest revision as of 00:09, 1 April 2024

Module

Version World Privilege
0.990-3.740.011 Non-secure User

Libraries

Known NIDs

Version Name World Visibility NID
0.990-3.740.011 SceJpegEncArm Non-secure User 0xCF9C23A2

SceJpegEncArm

sceJpegEncoderArmSetCompressionRatio

Version NID
0.990 0x32B8E159
int sceJpegEncoderArmSetCompressionRatio(void *pCtx, int compRatio);

sceJpegEncoderArmEncode

Version NID
0.990 0x4EE1BAED

SceJpegEncArm_648FFAA3

Version NID
0.990 0x648FFAA3
int SceJpegEncArm_648FFAA3(void *pCtx, uint a2);

SceJpegEncArm_6D24A669

Version NID
0.990 0x6D24A669

Sets a boolean inside context buffer.

// unk_bool: a boolean with value 0 or 1
int SceJpegEncArm_6D24A669(void *pCtx, SceUInt8 unk_bool);

sceJpegEncoderArmEnd

Version NID
0.990 0x8A42D6EC

On FW 0.990, does nothing and returns 0.

int sceJpegEncoderArmEnd(void);

sceJpegEncoderArmInit

Version NID
0.990 0x8C23875A
int sceJpegEncoderArmInit(void *pCtx, int width, int height, int a4, int a5, int a6);

sceJpegEncoderArmGetContextSize

Version NID
0.990 0x8D15B36D

This is a guessed name.

Returns the context buffer size: 0x180 bytes on FW 0.990.

SceSize sceJpegEncoderArmGetContextSize(void);

sceJpegEncoderArmSetValidRegion

Version NID
0.990 0xD561E2E5
int sceJpegEncoderArmSetValidRegion(void *pCtx, int region_width, int region_height);

SceJpegEncArm_DA0D0868

Version NID
0.990 0xDA0D0868
// size: if 0, sort_of_margin_size is not used but instead hardcoded value 0x262 is used for margin size
// sort_of_margin_size: must be >= 4 because actual margin size is (sort_of_margin_size - 4)
int SceJpegEncArm_DA0D0868(void *pCtx, SceUInt32 size, SceUInt32 sort_of_margin_size);