SceAvcdecForPlayer

From Vita Development Wiki
Jump to navigation Jump to search

Module

Version Name World Privilege
3.60 SceAvcdecForPlayer Non-secure User

Libraries

Known NIDs

Version Name World Visibility NID
3.60 SceAvcdecForPlayer Non-secure User 0x35C5ACD4

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.60 0xEB436C3B
SceInt32 sceAvcdecForPlayerDecodeAu(SceAvcdecForPlayerCtrl *pCtrl, const SceAvcdecAu *pAu);

sceAvcdecForPlayerDecodeAuNalAu

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

sceAvcdecForPlayerDecodeFlush

Version NID
3.60 0xB6BAAF04
SceInt32 sceAvcdecForPlayerDecodeFlush(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerDecodeStop

Version NID
3.60 0x4904E8C9
SceInt32 sceAvcdecForPlayerDecodeStop(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerGetPicture

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

sceAvcdecForPlayerCreateDecoder

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

sceAvcdecForPlayerCreateDecoderNongameapp

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

sceAvcdecForPlayerDeleteDecoder

Version NID
3.60 0x58335367
SceInt32 sceAvcdecForPlayerDeleteDecoder(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerQueryDecoderMemSize

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

sceAvcdecForPlayerQueryDecoderMemSizeNongameapp

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

sceAvcdecForPlayerCancelDecodeAuNalAu

Version NID
3.60 0x32A8BBA9
SceInt32 sceAvcdecForPlayerCancelDecodeAuNalAu(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerCancelDecodeAu

Version NID
3.60 0x7A3AB6D6
SceInt32 sceAvcdecForPlayerCancelDecodeAu(SceAvcdecForPlayerCtrl *pCtrl);

sceAvcdecForPlayerCancelGetPicture

Version NID
3.60 0x8D489544
SceInt32 sceAvcdecForPlayerCancelGetPicture(SceAvcdecForPlayerCtrl *pCtrl);