vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Load the required module:
Functions | |
VITASDK_BUILD_ASSERT_EQ (0xC, SceAtracDecoderGroup) | |
VITASDK_BUILD_ASSERT_EQ (0x34, SceAtracContentInfo) | |
VITASDK_BUILD_ASSERT_EQ (0x10, SceAtracStreamInfo) | |
int | sceAtracQueryDecoderGroupMemSize (SceUInt32 atracType, const SceAtracDecoderGroup *pDecoderGroup) |
int | sceAtracCreateDecoderGroup (SceUInt32 atracType, const SceAtracDecoderGroup *pDecoderGroup, void *pvWorkMem, int initAudiodecFlag) |
int | sceAtracDeleteDecoderGroup (SceUInt32 atracType, int termAudiodecFlag) |
int | sceAtracGetDecoderGroupInfo (SceUInt32 atracType, SceAtracDecoderGroup *pCreatedDecoder, SceAtracDecoderGroup *pAvailableDecoder) |
int | sceAtracSetDataAndAcquireHandle (SceUChar8 *pucBuffer, SceUInt32 uiReadSize, SceUInt32 uiBufferSize) |
int | sceAtracReleaseHandle (int atracHandle) |
int | sceAtracDecode (int atracHandle, void *pOutputBuffer, SceUInt32 *pOutputSamples, SceUInt32 *pDecoderStatus) |
int | sceAtracGetStreamInfo (int atracHandle, SceAtracStreamInfo *pStreamInfo) |
int | sceAtracAddStreamData (int atracHandle, SceUInt32 addSize) |
int | sceAtracIsSubBufferNeeded (int atracHandle) |
int | sceAtracGetSubBufferInfo (int atracHandle, SceUInt32 *pReadPosition, SceUInt32 *pMinSubBufferSize, SceUInt32 *pDataSize) |
int | sceAtracSetSubBuffer (int atracHandle, SceUChar8 *pSubBuffer, SceUInt32 subBufferSize) |
int | sceAtracSetLoopNum (int atracHandle, int loopNum) |
int | sceAtracSetOutputSamples (int atracHandle, SceUInt32 outputSamples) |
int | sceAtracResetNextOutputPosition (int atracHandle, SceUInt32 resetSample) |
int | sceAtracGetContentInfo (int atracHandle, SceAtracContentInfo *pContentInfo) |
int | sceAtracGetLoopInfo (int atracHandle, int *pLoopNum, SceUInt32 *pLoopStatus) |
int | sceAtracGetOutputSamples (int atracHandle, SceUInt32 *pOutputSamples) |
int | sceAtracGetNextOutputPosition (int atracHandle, SceUInt32 *pNextOutputSample) |
int | sceAtracGetRemainSamples (int atracHandle, SceLong64 *pRemainSamples) |
int | sceAtracGetOutputableSamples (int atracHandle, SceLong64 *pOutputableSamples) |
int | sceAtracGetDecoderStatus (int atracHandle, SceUInt32 *pDecoderStatus) |
int | sceAtracGetVacantSize (int atracHandle, SceUInt32 *pVacantSize) |
int | sceAtracGetInternalError (int atracHandle, int *pInternalError) |
Macros | |
#define | SCE_ATRAC_ALIGNMENT_SIZE (SCE_AUDIODEC_ALIGNMENT_SIZE) |
#define | SCE_ATRAC_ROUND_UP(size) ((size + SCE_ATRAC_ALIGNMENT_SIZE - 1) & ~(SCE_ATRAC_ALIGNMENT_SIZE - 1)) |
#define | SCE_ATRAC_TYPE_AT9 (0x2003U) |
#define | SCE_ATRAC_AT9_MAX_TOTAL_CH (SCE_AUDIODEC_AT9_MAX_CH_IN_LIBRARY) |
#define | SCE_ATRAC_WORD_LENGTH_16BITS (SCE_AUDIODEC_WORD_LENGTH_16BITS) |
#define | SCE_ATRAC_AT9_MAX_CH_IN_DECODER (SCE_AUDIODEC_AT9_MAX_CH_IN_DECODER) |
#define | SCE_ATRAC_AT9_MAX_FRAME_SAMPLES (SCE_AUDIODEC_AT9_MAX_SAMPLES) |
#define | SCE_ATRAC_MAX_OUTPUT_SAMPLES (2048) |
#define | SCE_ATRAC_AT9_MAX_OUTPUT_FRAMES (8) |
#define | SCE_ATRAC_AT9_MIN_LOOP_SAMPLES (3072) |
#define | SCE_ATRAC_INFINITE_LOOP_NUM (-1) |
#define | SCE_ATRAC_INFINITE_SAMPLES (-1) |
struct SceAtracContentInfo |
Data Fields | ||
---|---|---|
SceUInt32 | size | |
SceUInt32 | atracType | |
SceUInt32 | channel | |
SceUInt32 | samplingRate | |
SceInt32 | endSample | |
SceInt32 | loopStartSample | |
SceInt32 | loopEndSample | |
SceUInt32 | bitRate | |
SceUInt32 | fixedEncBlockSize | |
SceUInt32 | fixedEncBlockSample | |
SceUInt32 | frameSample | |
SceUInt32 | loopBlockOffset | |
SceUInt32 | loopBlockSize |
struct SceAtracStreamInfo |
#define SCE_ATRAC_ALIGNMENT_SIZE (SCE_AUDIODEC_ALIGNMENT_SIZE) |
#define SCE_ATRAC_ROUND_UP | ( | size | ) | ((size + SCE_ATRAC_ALIGNMENT_SIZE - 1) & ~(SCE_ATRAC_ALIGNMENT_SIZE - 1)) |
#define SCE_ATRAC_TYPE_AT9 (0x2003U) |
#define SCE_ATRAC_AT9_MAX_TOTAL_CH (SCE_AUDIODEC_AT9_MAX_CH_IN_LIBRARY) |
#define SCE_ATRAC_WORD_LENGTH_16BITS (SCE_AUDIODEC_WORD_LENGTH_16BITS) |
#define SCE_ATRAC_AT9_MAX_CH_IN_DECODER (SCE_AUDIODEC_AT9_MAX_CH_IN_DECODER) |
#define SCE_ATRAC_AT9_MAX_FRAME_SAMPLES (SCE_AUDIODEC_AT9_MAX_SAMPLES) |
#define SCE_ATRAC_MAX_OUTPUT_SAMPLES (2048) |
#define SCE_ATRAC_AT9_MAX_OUTPUT_FRAMES (8) |
#define SCE_ATRAC_AT9_MIN_LOOP_SAMPLES (3072) |
#define SCE_ATRAC_INFINITE_LOOP_NUM (-1) |
#define SCE_ATRAC_INFINITE_SAMPLES (-1) |
enum SceAtracErrorCode |
enum SceAtracLoopStatus |
VITASDK_BUILD_ASSERT_EQ | ( | 0xC | , |
SceAtracDecoderGroup | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x34 | , |
SceAtracContentInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
SceAtracStreamInfo | |||
) |
int sceAtracQueryDecoderGroupMemSize | ( | SceUInt32 | atracType, |
const SceAtracDecoderGroup * | pDecoderGroup | ||
) |
int sceAtracCreateDecoderGroup | ( | SceUInt32 | atracType, |
const SceAtracDecoderGroup * | pDecoderGroup, | ||
void * | pvWorkMem, | ||
int | initAudiodecFlag | ||
) |
int sceAtracDeleteDecoderGroup | ( | SceUInt32 | atracType, |
int | termAudiodecFlag | ||
) |
int sceAtracGetDecoderGroupInfo | ( | SceUInt32 | atracType, |
SceAtracDecoderGroup * | pCreatedDecoder, | ||
SceAtracDecoderGroup * | pAvailableDecoder | ||
) |
int sceAtracSetDataAndAcquireHandle | ( | SceUChar8 * | pucBuffer, |
SceUInt32 | uiReadSize, | ||
SceUInt32 | uiBufferSize | ||
) |
int sceAtracReleaseHandle | ( | int | atracHandle | ) |
int sceAtracDecode | ( | int | atracHandle, |
void * | pOutputBuffer, | ||
SceUInt32 * | pOutputSamples, | ||
SceUInt32 * | pDecoderStatus | ||
) |
int sceAtracGetStreamInfo | ( | int | atracHandle, |
SceAtracStreamInfo * | pStreamInfo | ||
) |
int sceAtracAddStreamData | ( | int | atracHandle, |
SceUInt32 | addSize | ||
) |
int sceAtracIsSubBufferNeeded | ( | int | atracHandle | ) |
int sceAtracGetSubBufferInfo | ( | int | atracHandle, |
SceUInt32 * | pReadPosition, | ||
SceUInt32 * | pMinSubBufferSize, | ||
SceUInt32 * | pDataSize | ||
) |
int sceAtracSetLoopNum | ( | int | atracHandle, |
int | loopNum | ||
) |
int sceAtracSetOutputSamples | ( | int | atracHandle, |
SceUInt32 | outputSamples | ||
) |
int sceAtracResetNextOutputPosition | ( | int | atracHandle, |
SceUInt32 | resetSample | ||
) |
int sceAtracGetContentInfo | ( | int | atracHandle, |
SceAtracContentInfo * | pContentInfo | ||
) |
int sceAtracGetLoopInfo | ( | int | atracHandle, |
int * | pLoopNum, | ||
SceUInt32 * | pLoopStatus | ||
) |
int sceAtracGetOutputSamples | ( | int | atracHandle, |
SceUInt32 * | pOutputSamples | ||
) |
int sceAtracGetNextOutputPosition | ( | int | atracHandle, |
SceUInt32 * | pNextOutputSample | ||
) |
int sceAtracGetRemainSamples | ( | int | atracHandle, |
SceLong64 * | pRemainSamples | ||
) |
int sceAtracGetOutputableSamples | ( | int | atracHandle, |
SceLong64 * | pOutputableSamples | ||
) |
int sceAtracGetDecoderStatus | ( | int | atracHandle, |
SceUInt32 * | pDecoderStatus | ||
) |
int sceAtracGetVacantSize | ( | int | atracHandle, |
SceUInt32 * | pVacantSize | ||
) |
int sceAtracGetInternalError | ( | int | atracHandle, |
int * | pInternalError | ||
) |