vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
union SceAudiodecInitParam |
Data Fields | ||
---|---|---|
SceUInt32 | size | |
SceAudiodecInitChParam | at9 | |
SceAudiodecInitStreamParam | mp3 | |
SceAudiodecInitStreamParam | aac | |
SceAudiodecInitStreamParam | celp |
struct SceAudiodecInfoAt9 |
struct SceAudiodecInfoMp3 |
struct SceAudiodecInfoAac |
struct SceAudiodecInfoCelp |
union SceAudiodecInfo |
Data Fields | ||
---|---|---|
SceUInt32 | size | |
SceAudiodecInfoAt9 | at9 | |
SceAudiodecInfoMp3 | mp3 | |
SceAudiodecInfoAac | aac | |
SceAudiodecInfoCelp | celp |
struct SceAudiodecCtrl |
Data Fields | ||
---|---|---|
SceUInt32 | size | |
SceInt32 | handle | |
SceUInt8 * | pEs | pointer to elementary stream |
SceUInt32 | inputEsSize | size of elementary stream used actually (in byte) |
SceUInt32 | maxEsSize | maximum size of elementary stream used (in byte) |
void * | pPcm | pointer to PCM |
SceUInt32 | outputPcmSize | size of PCM output actually (in byte) |
SceUInt32 | maxPcmSize | maximum size of PCM output (in byte) |
SceUInt32 | wordLength | PCM bit depth. |
SceAudiodecInfo * | pInfo | pointer to SceAudiodecInfo |
#define SCE_AUDIODEC_ALIGNMENT_SIZE 0x100U |
#define SCE_AUDIODEC_ROUND_UP | ( | size | ) | ((size + SCE_AUDIODEC_ALIGNMENT_SIZE - 1) & ~(SCE_AUDIODEC_ALIGNMENT_SIZE - 1)) |
#define SCE_AUDIODEC_WORD_LENGTH_16BITS 16 |
#define SCE_AUDIODEC_AT9_MAX_CH_IN_LIBRARY 16 |
#define SCE_AUDIODEC_MP3_MAX_STREAMS 8 |
#define SCE_AUDIODEC_AAC_MAX_STREAMS 8 |
#define SCE_AUDIODEC_CELP_MAX_STREAMS 8 |
#define SCE_AUDIODEC_AT9_MAX_CH_IN_DECODER 2 |
#define SCE_AUDIODEC_MP3_MAX_CH_IN_DECODER 2 |
#define SCE_AUDIODEC_AAC_MAX_CH_IN_DECODER 2 |
#define SCE_AUDIODEC_CELP_MAX_CH_IN_DECODER 1 |
#define SCE_AUDIODEC_AT9_MAX_SAMPLES 256 |
#define SCE_AUDIODEC_MP3_MAX_SAMPLES 1152 |
#define SCE_AUDIODEC_AAC_MAX_SAMPLES 2048 |
#define SCE_AUDIODEC_CELP_MAX_SAMPLES 320 |
#define SCE_AUDIODEC_AT9_MAX_ES_SIZE 1024 |
#define SCE_AUDIODEC_MP3_MAX_ES_SIZE 1441 |
#define SCE_AUDIODEC_AAC_MAX_ES_SIZE 1536 |
#define SCE_AUDIODEC_CELP_MAX_ES_SIZE 24 |
#define SCE_AUDIODEC_AT9_EXTRA_ACCESS_SIZE 0 |
#define SCE_AUDIODEC_MP3_EXTRA_ACCESS_SIZE 0 |
#define SCE_AUDIODEC_AAC_EXTRA_ACCESS_SIZE 0 |
#define SCE_AUDIODEC_CELP_EXTRA_ACCESS_SIZE 0 |
#define SCE_AUDIODEC_AT9_MAX_NFRAMES 8 |
#define SCE_AUDIODEC_MP3_MAX_NFRAMES 1 |
#define SCE_AUDIODEC_AAC_MAX_NFRAMES 1 |
#define SCE_AUDIODEC_CELP_MAX_NFRAMES 1 |
#define SCE_AUDIODEC_AT9_MAX_NSTREAMS 6 |
#define SCE_AUDIODEC_MP3_MAX_NSTREAMS 6 |
#define SCE_AUDIODEC_AAC_MAX_NSTREAMS 6 |
#define SCE_AUDIODEC_CELP_MAX_NSTREAMS 7 |
#define SCE_AUDIODEC_CELP_MPE 0 |
#define SCE_AUDIODEC_CELP_SAMPLING_RATE_8KHZ 8000 |
enum SceAudiodecErrorCode |
enum SceAudiodecType |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
SceAudiodecInitStreamParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
SceAudiodecInitChParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
SceAudiodecInitParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x1C | , |
SceAudiodecInfoAt9 | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0xC | , |
SceAudiodecInfoMp3 | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x14 | , |
SceAudiodecInfoAac | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x14 | , |
SceAudiodecInfoCelp | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x1C | , |
SceAudiodecInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x28 | , |
SceAudiodecCtrl | |||
) |
SceInt32 sceAudiodecInitLibrary | ( | SceUInt32 | codecType, |
SceAudiodecInitParam * | pInitParam | ||
) |
SceInt32 sceAudiodecCreateDecoder | ( | SceAudiodecCtrl * | pCtrl, |
SceUInt32 | codecType | ||
) |
SceInt32 sceAudiodecDeleteDecoder | ( | SceAudiodecCtrl * | pCtrl | ) |
SceInt32 sceAudiodecDecode | ( | SceAudiodecCtrl * | pCtrl | ) |
SceInt32 sceAudiodecDecodeNFrames | ( | SceAudiodecCtrl * | pCtrl, |
SceUInt32 | nFrames | ||
) |
SceInt32 sceAudiodecDecodeNStreams | ( | SceAudiodecCtrl * | pCtrls[], |
SceUInt32 | nStreams | ||
) |
SceInt32 sceAudiodecClearContext | ( | SceAudiodecCtrl * | pCtrl | ) |
SceInt32 sceAudiodecGetInternalError | ( | SceAudiodecCtrl * | pCtrl, |
SceInt32 * | pInternalError | ||
) |
SceInt32 sceAudiodecGetContextSize | ( | SceAudiodecCtrl * | pCtrl, |
SceUInt32 | codecType | ||
) |
SceInt32 sceAudiodecCreateDecoderExternal | ( | SceAudiodecCtrl * | pCtrl, |
SceUInt32 | codecType, | ||
SceUIntVAddr | vaContext, | ||
SceUInt32 | contextSize | ||
) |
SceInt32 sceAudiodecDeleteDecoderExternal | ( | SceAudiodecCtrl * | pCtrl, |
SceUIntVAddr * | pvaContext | ||
) |