SceAvcdecForPlayer: Difference between revisions

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


Line 16: Line 16:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
| 3.60 || [[SceAvcdecForPlayer#SceAvcdecForPlayer|SceAvcdecForPlayer]] || Non-secure || User || 0x35C5ACD4
| 3.100.081-3.740.011 || [[SceAvcdecForPlayer#SceAvcdecForPlayer|SceAvcdecForPlayer]] || Non-secure || User || 0xB6AE860A
|}
|}
== Types ==
<source lang="C">
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_TYPE (SCE_AVCDEC_ERROR_INVALID_TYPE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_PARAM (SCE_AVCDEC_ERROR_INVALID_PARAM | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_OUT_OF_MEMORY (SCE_AVCDEC_ERROR_OUT_OF_MEMORY | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_STATE (SCE_AVCDEC_ERROR_INVALID_STATE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_UNSUPPORT_IMAGE_SIZE (SCE_AVCDEC_ERROR_UNSUPPORT_IMAGE_SIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_COLOR_FORMAT (SCE_AVCDEC_ERROR_INVALID_COLOR_FORMAT | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_NOT_PHY_CONTINUOUS_MEMORY (SCE_AVCDEC_ERROR_NOT_PHY_CONTINUOUS_MEMORY | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_ALREADY_USED (SCE_AVCDEC_ERROR_ALREADY_USED | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_POINTER (SCE_AVCDEC_ERROR_INVALID_POINTER | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_ES_BUFFER_FULL (SCE_AVCDEC_ERROR_ES_BUFFER_FULL | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INITIALIZE (SCE_AVCDEC_ERROR_INITIALIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_NOT_INITIALIZE (SCE_AVCDEC_ERROR_NOT_INITIALIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_STREAM (SCE_AVCDEC_ERROR_INVALID_STREAM | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_ARGUMENT_SIZE (SCE_AVCDEC_ERROR_INVALID_ARGUMENT_SIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_GREATER_THAN_1200_AT_LV30 (SCE_AVCDEC_ERROR_GREATER_THAN_1200_AT_LV30 | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INTERLACED (SCE_AVCDEC_ERROR_INTERLACED | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_PICTURE (SCE_AVCDEC_ERROR_INVALID_PICTURE | 0x4000)
typedef struct SceAvcdecForPlayerCtrl { // size is 0x90 on FW 3.60
SceUInt32 size; // Size of this structure
SceAvcdecCtrl avcdecCtrl;
SceUChar8 workMem[0x80];
} SceAvcdecForPlayerCtrl;
typedef struct SceAvcdecForPlayerOutputNum { // size is 8 on FW 3.60
SceUInt32 size; // Size of this structure
SceUInt32 numOfOutput;
} SceAvcdecForPlayerOutputNum;
</source>


== SceAvcdecForPlayer ==
== SceAvcdecForPlayer ==


=== sceAvcdecDecodeStartForPlayer ===
=== sceAvcdecForPlayerDecodeAu ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0xEB436C3B
|}
 
<source lang="C">SceInt32 sceAvcdecForPlayerDecodeAu(SceAvcdecForPlayerCtrl *pCtrl, const SceAvcdecAu *pAu);</source>
 
=== sceAvcdecForPlayerDecodeAuNalAu ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0x291780A0
|}
 
<source lang="C">SceInt32 sceAvcdecForPlayerDecodeAuNalAu(SceAvcdecForPlayerCtrl *pCtrl, const void *pAuNalAu);</source>
 
=== sceAvcdecForPlayerDecodeFlush ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0xEB436C3B
| 3.100.081-3.740.011 || 0xB6BAAF04
|}
|}
<source lang="C">SceInt32 sceAvcdecForPlayerDecodeFlush(SceAvcdecForPlayerCtrl *pCtrl);</source>


=== sceAvcdecForPlayerDecodeStop ===
=== sceAvcdecForPlayerDecodeStop ===
Line 34: Line 89:
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0x4904E8C9
| 3.100.081-3.740.011 || 0x4904E8C9
|}
|}
<source lang="C">SceInt32 sceAvcdecForPlayerDecodeStop(SceAvcdecForPlayerCtrl *pCtrl);</source>
=== sceAvcdecForPlayerGetPicture ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0x44C56742
|}
<source lang="C">SceInt32 sceAvcdecForPlayerGetPicture(SceAvcdecForPlayerCtrl *pCtrl, SceAvcdecArrayPicture *pArrayPicture, SceInt32 *pSomeNum, SceAvcdecForPlayerOutputNum *pOutputNum);</source>
=== sceAvcdecForPlayerCreateDecoder ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0xB2EBD4EE
|}
<source lang="C">SceInt32 sceAvcdecForPlayerCreateDecoder(SceUInt32 codecType, SceAvcdecForPlayerCtrl *pCtrl, const SceAvcdecQueryDecoderInfo *pDecoderInfo);</source>
=== sceAvcdecForPlayerCreateDecoderNongameapp ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0xC2569BD6
|}
<source lang="C">SceInt32 sceAvcdecForPlayerCreateDecoderNongameapp(SceUInt32 codecType, SceAvcdecForPlayerCtrl *pCtrl, const SceAvcdecQueryDecoderInfo *pDecoderInfo);</source>
=== sceAvcdecForPlayerDeleteDecoder ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0x58335367
|}
<source lang="C">SceInt32 sceAvcdecForPlayerDeleteDecoder(SceAvcdecForPlayerCtrl *pCtrl);</source>


=== sceAvcdecForPlayerQueryDecoderMemSize ===
=== sceAvcdecForPlayerQueryDecoderMemSize ===
Line 42: Line 139:
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0x3C1FFE1F
| 3.100.081-3.740.011 || 0x3C1FFE1F
|}
 
<source lang="C">SceInt32 sceAvcdecForPlayerQueryDecoderMemSize(SceUInt32 codecType, const SceAvcdecQueryDecoderInfo *pDecoderInfo, SceAvcdecDecoderInfo *pMemInfo);</source>
 
=== sceAvcdecForPlayerQueryDecoderMemSizeNongameapp ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0xDD3E7360
|}
 
<source lang="C">SceInt32 sceAvcdecForPlayerQueryDecoderMemSizeNongameapp(SceUInt32 codecType, const SceAvcdecQueryDecoderInfo *pDecoderInfo, SceAvcdecDecoderInfo *pMemInfo);</source>
 
=== sceAvcdecForPlayerCancelDecodeAuNalAu ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0x32A8BBA9
|}
|}


3.60:
<source lang="C">SceInt32 sceAvcdecForPlayerCancelDecodeAuNalAu(SceAvcdecForPlayerCtrl *pCtrl);</source>
<pre>
 
SceAvcdecForPlayer_291780A0
=== sceAvcdecForPlayerCancelDecodeAu ===
SceAvcdecForPlayer_32A8BBA9
{| class="wikitable"
SceAvcdecForPlayer_44C56742
|-
SceAvcdecForPlayer_58335367
! Version !! NID
SceAvcdecForPlayer_7A3AB6D6
|-
SceAvcdecForPlayer_8D489544
| 3.100.081-3.740.011 || 0x7A3AB6D6
SceAvcdecForPlayer_B2EBD4EE
|}
SceAvcdecForPlayer_B6BAAF04
SceAvcdecForPlayer_C2569BD6
SceAvcdecForPlayer_DD3E7360
</pre>


<source lang="C">SceInt32 sceAvcdecForPlayerCancelDecodeAu(SceAvcdecForPlayerCtrl *pCtrl);</source>


=== sceAvcdecForPlayerCancelGetPicture ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.100.081-3.740.011 || 0x8D489544
|}
<source lang="C">SceInt32 sceAvcdecForPlayerCancelGetPicture(SceAvcdecForPlayerCtrl *pCtrl);</source>
[[Category:ARM]]
[[Category:Usermode]]
[[Category:Modules]]
[[Category:Modules]]
[[Category:Usermode]]
[[Category:Library]]

Latest revision as of 20:46, 30 March 2024

Module

Version World Privilege
3.100.081-3.740.011 Non-secure User

Libraries

Known NIDs

Version Name World Visibility NID
3.100.081-3.740.011 SceAvcdecForPlayer Non-secure User 0xB6AE860A

Types

#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_TYPE				(SCE_AVCDEC_ERROR_INVALID_TYPE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_PARAM				(SCE_AVCDEC_ERROR_INVALID_PARAM | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_OUT_OF_MEMORY				(SCE_AVCDEC_ERROR_OUT_OF_MEMORY | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_STATE				(SCE_AVCDEC_ERROR_INVALID_STATE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_UNSUPPORT_IMAGE_SIZE		(SCE_AVCDEC_ERROR_UNSUPPORT_IMAGE_SIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_COLOR_FORMAT		(SCE_AVCDEC_ERROR_INVALID_COLOR_FORMAT | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_NOT_PHY_CONTINUOUS_MEMORY	(SCE_AVCDEC_ERROR_NOT_PHY_CONTINUOUS_MEMORY | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_ALREADY_USED				(SCE_AVCDEC_ERROR_ALREADY_USED | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_POINTER				(SCE_AVCDEC_ERROR_INVALID_POINTER | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_ES_BUFFER_FULL				(SCE_AVCDEC_ERROR_ES_BUFFER_FULL | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INITIALIZE					(SCE_AVCDEC_ERROR_INITIALIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_NOT_INITIALIZE				(SCE_AVCDEC_ERROR_NOT_INITIALIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_STREAM				(SCE_AVCDEC_ERROR_INVALID_STREAM | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_ARGUMENT_SIZE		(SCE_AVCDEC_ERROR_INVALID_ARGUMENT_SIZE | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_GREATER_THAN_1200_AT_LV30	(SCE_AVCDEC_ERROR_GREATER_THAN_1200_AT_LV30 | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INTERLACED					(SCE_AVCDEC_ERROR_INTERLACED | 0x4000)
#define SCE_AVCDEC_FOR_PLAYER_ERROR_INVALID_PICTURE				(SCE_AVCDEC_ERROR_INVALID_PICTURE | 0x4000)

typedef struct SceAvcdecForPlayerCtrl { // size is 0x90 on FW 3.60
	SceUInt32		size; // Size of this structure
	SceAvcdecCtrl	avcdecCtrl;
	SceUChar8		workMem[0x80];
} SceAvcdecForPlayerCtrl;

typedef struct SceAvcdecForPlayerOutputNum { // size is 8 on FW 3.60
	SceUInt32		size; // Size of this structure
	SceUInt32		numOfOutput;
} SceAvcdecForPlayerOutputNum;

SceAvcdecForPlayer

sceAvcdecForPlayerDecodeAu

Version NID
3.100.081-3.740.011 0xEB436C3B
SceInt32 sceAvcdecForPlayerDecodeAu(SceAvcdecForPlayerCtrl *pCtrl, const SceAvcdecAu *pAu);

sceAvcdecForPlayerDecodeAuNalAu

Version NID
3.100.081-3.740.011 0x291780A0
SceInt32 sceAvcdecForPlayerDecodeAuNalAu(SceAvcdecForPlayerCtrl *pCtrl, const void *pAuNalAu);

sceAvcdecForPlayerDecodeFlush

Version NID
3.100.081-3.740.011 0xB6BAAF04
SceInt32 sceAvcdecForPlayerDecodeFlush(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerDecodeStop

Version NID
3.100.081-3.740.011 0x4904E8C9
SceInt32 sceAvcdecForPlayerDecodeStop(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerGetPicture

Version NID
3.100.081-3.740.011 0x44C56742
SceInt32 sceAvcdecForPlayerGetPicture(SceAvcdecForPlayerCtrl *pCtrl, SceAvcdecArrayPicture *pArrayPicture, SceInt32 *pSomeNum, SceAvcdecForPlayerOutputNum *pOutputNum);

sceAvcdecForPlayerCreateDecoder

Version NID
3.100.081-3.740.011 0xB2EBD4EE
SceInt32 sceAvcdecForPlayerCreateDecoder(SceUInt32 codecType, SceAvcdecForPlayerCtrl *pCtrl, const SceAvcdecQueryDecoderInfo *pDecoderInfo);

sceAvcdecForPlayerCreateDecoderNongameapp

Version NID
3.100.081-3.740.011 0xC2569BD6
SceInt32 sceAvcdecForPlayerCreateDecoderNongameapp(SceUInt32 codecType, SceAvcdecForPlayerCtrl *pCtrl, const SceAvcdecQueryDecoderInfo *pDecoderInfo);

sceAvcdecForPlayerDeleteDecoder

Version NID
3.100.081-3.740.011 0x58335367
SceInt32 sceAvcdecForPlayerDeleteDecoder(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerQueryDecoderMemSize

Version NID
3.100.081-3.740.011 0x3C1FFE1F
SceInt32 sceAvcdecForPlayerQueryDecoderMemSize(SceUInt32 codecType, const SceAvcdecQueryDecoderInfo *pDecoderInfo, SceAvcdecDecoderInfo *pMemInfo);

sceAvcdecForPlayerQueryDecoderMemSizeNongameapp

Version NID
3.100.081-3.740.011 0xDD3E7360
SceInt32 sceAvcdecForPlayerQueryDecoderMemSizeNongameapp(SceUInt32 codecType, const SceAvcdecQueryDecoderInfo *pDecoderInfo, SceAvcdecDecoderInfo *pMemInfo);

sceAvcdecForPlayerCancelDecodeAuNalAu

Version NID
3.100.081-3.740.011 0x32A8BBA9
SceInt32 sceAvcdecForPlayerCancelDecodeAuNalAu(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerCancelDecodeAu

Version NID
3.100.081-3.740.011 0x7A3AB6D6
SceInt32 sceAvcdecForPlayerCancelDecodeAu(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerCancelGetPicture

Version NID
3.100.081-3.740.011 0x8D489544
SceInt32 sceAvcdecForPlayerCancelGetPicture(SceAvcdecForPlayerCtrl *pCtrl);