SceJpegEncArm

From Vita Development Wiki
Revision as of 21:43, 12 November 2021 by CelesteBlue (talk | contribs)
Jump to navigation Jump to search

Module

Version Name World Privilege
1.69-3.60 SceJpegEncArm Non-secure User

Libraries

Known NIDs

Version Name World Visibility NID
0.990 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);