vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Functions | |
VITASDK_BUILD_ASSERT_EQ (8, SceAudioencInitStreamParam) | |
VITASDK_BUILD_ASSERT_EQ (0x10, SceAudioencInfoCelp) | |
VITASDK_BUILD_ASSERT_EQ (0x2C, SceAudioencOptInfoCelp) | |
VITASDK_BUILD_ASSERT_EQ (8, SceAudioencInitParam) | |
VITASDK_BUILD_ASSERT_EQ (0x10, SceAudioencInfo) | |
VITASDK_BUILD_ASSERT_EQ (0x2C, SceAudioencOptInfo) | |
VITASDK_BUILD_ASSERT_EQ (0x2C, SceAudioencCtrl) | |
int | sceAudioencInitLibrary (int codecType, SceAudioencInitParam *pInitParam) |
int | sceAudioencTermLibrary (unsigned int codecType) |
int | sceAudioencCreateEncoder (SceAudioencCtrl *pCtrl, int codecType) |
int | sceAudioencDeleteEncoder (SceAudioencCtrl *pCtrl) |
int | sceAudioencEncode (SceAudioencCtrl *pCtrl) |
int | sceAudioencClearContext (SceAudioencCtrl *pCtrl) |
int | sceAudioencGetOptInfo (SceAudioencCtrl *pCtrl) |
int | sceAudioencGetInternalError (SceAudioencCtrl *pCtrl, int *pInternalError) |
Macros | |
#define | SCE_AUDIOENC_WORD_LENGTH_16BITS 16 |
Definition of wordlength. More... | |
#define | SCE_AUDIOENC_TYPE_CELP 0x2006U |
Audio encoder type. More... | |
#define | SCE_AUDIOENC_CELP_MAX_STREAMS 1 |
Max number of streams. More... | |
#define | SCE_AUDIOENC_CELP_MAX_SAMPLES 320 |
Max number of samples. More... | |
#define | SCE_AUDIOENC_CELP_MAX_ES_SIZE 24 |
Max elementary stream size. More... | |
#define | SCE_AUDIOENC_CELP_MPE (0) |
CELP encoder default excitation mode. More... | |
#define | SCE_AUDIOENC_CELP_SAMPLING_RATE_8KHZ (8000) |
CELP encoder default sampling rate. More... | |
struct SceAudioencInitStreamParam |
Initialization structure to provide to SceAudioencInitParam.
Data Fields | ||
---|---|---|
SceSize | size | sizeof(SceAudioencInitStreamParam) |
unsigned int | totalStreams | Total number of audio streams. |
struct SceAudioencInfoCelp |
Information structure for CELP.
Data Fields | ||
---|---|---|
SceSize | size | sizeof(SceAudioencInfoCelp) |
unsigned int | excitationMode | Excitation mode. |
unsigned int | samplingRate | Sampling rate. |
unsigned int | bitRate | Bit rate (one of SceAudioencCelpBitrate) |
struct SceAudioencOptInfoCelp |
union SceAudioencInitParam |
Initialization structure to pass as argument to sceAudioencInitLibrary.
Data Fields | ||
---|---|---|
SceSize | size | sizeof(SceAudioencInitParam) |
SceAudioencInitStreamParam | celp | See SceAudioencInitStreamParam. |
union SceAudioencInfo |
Audio encoder info.
Data Fields | ||
---|---|---|
SceSize | size | sizeof(SceAudioencInfo) |
SceAudioencInfoCelp | celp | Information structure for CELP. |
union SceAudioencOptInfo |
Audio encoder optional info.
Data Fields | ||
---|---|---|
SceSize | size | sizeof(SceAudioencOptInfo) |
SceAudioencOptInfoCelp | celp | Optional information structure for CELP. |
struct SceAudioencCtrl |
Data Fields | ||
---|---|---|
SceSize | size | sizeof(SceAudioencCtrl) |
int | handle | Encoder handle. |
void * | pInputPcm | Pointer to elementary stream. |
SceSize | inputPcmSize | Size of elementary stream used actually (in byte) |
SceSize | maxPcmSize | Max size of elementary stream used (in byte) |
void * | pOutputEs | Pointer to PCM. |
SceSize | outputEsSize | Size of PCM output actually (in byte) |
SceSize | maxEsSize | Max size of PCM output (in byte) |
SceSize | wordLength | PCM bit depth. |
SceAudioencInfo * | pInfo | Pointer to SceAudioencInfo. |
SceAudioencOptInfo * | pOptInfo | Pointer to SceAudioencOptInfo. |
#define SCE_AUDIOENC_WORD_LENGTH_16BITS 16 |
Definition of wordlength.
#define SCE_AUDIOENC_TYPE_CELP 0x2006U |
Audio encoder type.
#define SCE_AUDIOENC_CELP_MAX_STREAMS 1 |
Max number of streams.
#define SCE_AUDIOENC_CELP_MAX_SAMPLES 320 |
Max number of samples.
#define SCE_AUDIOENC_CELP_MAX_ES_SIZE 24 |
Max elementary stream size.
#define SCE_AUDIOENC_CELP_MPE (0) |
CELP encoder default excitation mode.
#define SCE_AUDIOENC_CELP_SAMPLING_RATE_8KHZ (8000) |
CELP encoder default sampling rate.
enum SceAudioencErrorCode |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
SceAudioencInitStreamParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
SceAudioencInfoCelp | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x2C | , |
SceAudioencOptInfoCelp | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 8 | , |
SceAudioencInitParam | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
SceAudioencInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x2C | , |
SceAudioencOptInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x2C | , |
SceAudioencCtrl | |||
) |
int sceAudioencInitLibrary | ( | int | codecType, |
SceAudioencInitParam * | pInitParam | ||
) |
int sceAudioencTermLibrary | ( | unsigned int | codecType | ) |
int sceAudioencCreateEncoder | ( | SceAudioencCtrl * | pCtrl, |
int | codecType | ||
) |
int sceAudioencDeleteEncoder | ( | SceAudioencCtrl * | pCtrl | ) |
int sceAudioencEncode | ( | SceAudioencCtrl * | pCtrl | ) |
int sceAudioencClearContext | ( | SceAudioencCtrl * | pCtrl | ) |
int sceAudioencGetOptInfo | ( | SceAudioencCtrl * | pCtrl | ) |
int sceAudioencGetInternalError | ( | SceAudioencCtrl * | pCtrl, |
int * | pInternalError | ||
) |