/frameworks/wilhelm/src/ |
H A D | devices.h | 21 SLuint32 id; 26 SLuint32 id; 31 SLuint32 id; 36 SLuint32 id; 47 SLuint32 mCodecID; ///< The codec ID 60 extern const SLuint32 * const Decoder_IDs, * const Encoder_IDs; 64 extern SLresult GetCodecCapabilities(SLuint32 decoderId, SLuint32 *pIndex,
|
H A D | sl_entry.c | 21 SL_API SLresult SLAPIENTRY slCreateEngine(SLObjectItf *pEngine, SLuint32 numOptions, 22 const SLEngineOption *pEngineOptions, SLuint32 numInterfaces, 37 SL_API SLresult SLAPIENTRY slQueryNumSupportedEngineInterfaces(SLuint32 *pNumSupportedInterfaces) 52 SL_API SLresult SLAPIENTRY slQuerySupportedEngineInterfaces(SLuint32 index,
|
H A D | sles_allinclusive.h | 207 SLuint32 mInterfaceCount; // number of possible interfaces 225 SLuint32 mSize; 232 SLuint32 mTsCmdCode; 239 SLuint32 mAdtsCmdCode; 254 SLuint32 mDataSize; 255 SLuint32 mDataSizeConsumed; 259 // SLuint32 mBufferState; 275 SLuint32 mWhich; // which buffer to use next 298 SLuint32 numInterfaces, const SLInterfaceID *pInterfaceIds, 302 extern const ClassTable *objectIDtoClass(SLuint32 objectI [all...] |
H A D | itfstruct.h | 32 SLuint32 mInstanceID; // const for debugger and for RPC, 0 means unpublished 53 SLuint8 mState; // really SLuint32, but SLuint8 to save space 73 SLuint32 mGeneration; // incremented each master clock cycle 74 SLuint32 mWaiting; // number of threads waiting in Commit 236 // originally SLuint32, but range-checked down to SLuint16 242 SLuint32 mSizeConsumed; 298 SLuint32 mInstanceCount; 305 // SLuint32 mVersion; // 0xXXYYZZ where XX=major, YY=minor, ZZ=step 306 SLuint32 mNativeEndianness; // one of SL_BYTEORDER_LITTLEENDIAN or SL_BYTEORDER_BIGENDIAN 314 SLuint32 mMaxIndexLE [all...] |
H A D | data.h | 23 SLuint32 mLocatorType; 38 SLuint32 mFormatType; 93 DataLocatorFormat *myDataSourceLocator, SLuint32 allowedDataLocatorMask, 94 SLuint32 allowedDataFormatMask); 96 DataLocatorFormat *myDataSinkLocator, SLuint32 allowedDataLocatorMask, 97 SLuint32 allowedDataFormatMask);
|
H A D | devices.c | 92 (SLuint32) ~0 // colorMask 114 static const SLuint32 Codec_IDs[] = { 126 const SLuint32 * const Decoder_IDs = Codec_IDs; 127 const SLuint32 * const Encoder_IDs = Codec_IDs; 130 static const SLuint32 VideoCodecIds[] = { 143 const SLuint32 * const VideoDecoderIds = VideoCodecIds; 169 (SLuint32) ~0, // maxBitRate 206 SLresult GetCodecCapabilities(SLuint32 codecId, SLuint32 *pIndex, 213 SLuint32 inde [all...] |
H A D | entry.c | 28 LI_API SLresult liCreateEngine(SLObjectItf *pEngine, SLuint32 numOptions, 29 const SLEngineOption *pEngineOptions, SLuint32 numInterfaces, 59 SLuint32 i; 106 SLuint32 index; 180 LI_API SLresult liQueryNumSupportedInterfaces(SLuint32 *pNumSupportedInterfaces, 188 SLuint32 count = 0; 189 SLuint32 i; 215 LI_API SLresult liQuerySupportedInterfaces(SLuint32 index, SLInterfaceID *pInterfaceId, 225 SLuint32 i;
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 41 #define SL_ANDROID_PCM_REPRESENTATION_SIGNED_INT ((SLuint32) 0x00000001) 42 #define SL_ANDROID_PCM_REPRESENTATION_UNSIGNED_INT ((SLuint32) 0x00000002) 43 #define SL_ANDROID_PCM_REPRESENTATION_FLOAT ((SLuint32) 0x00000003) 45 #define SL_ANDROID_DATAFORMAT_PCM_EX ((SLuint32) 0x00000004) 48 SLuint32 formatType; 49 SLuint32 numChannels; 50 SLuint32 sampleRate; 51 SLuint32 bitsPerSample; 52 SLuint32 containerSize; 53 SLuint32 channelMas [all...] |
H A D | OpenSLES_AndroidConfiguration.h | 34 #define SL_ANDROID_RECORDING_PRESET_NONE ((SLuint32) 0x00000000) 36 #define SL_ANDROID_RECORDING_PRESET_GENERIC ((SLuint32) 0x00000001) 39 #define SL_ANDROID_RECORDING_PRESET_CAMCORDER ((SLuint32) 0x00000002) 41 #define SL_ANDROID_RECORDING_PRESET_VOICE_RECOGNITION ((SLuint32) 0x00000003) 43 #define SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION ((SLuint32) 0x00000004) 45 #define SL_ANDROID_RECORDING_PRESET_UNPROCESSED ((SLuint32) 0x00000005)
|
H A D | OpenSLES.h | 71 typedef sl_uint32_t SLuint32; /* 32 bit unsigned integer */ typedef 73 typedef SLuint32 SLboolean; 79 typedef SLuint32 SLmillisecond; 80 typedef SLuint32 SLmilliHertz; 84 typedef SLuint32 SLmicrosecond; 85 typedef SLuint32 SLresult; 95 SLuint32 time_low; 109 #define SL_OBJECTID_ENGINE ((SLuint32) 0x00001001) 110 #define SL_OBJECTID_LEDDEVICE ((SLuint32) 0x00001002) 111 #define SL_OBJECTID_VIBRADEVICE ((SLuint32) [all...] |
/frameworks/wilhelm/src/android/ |
H A D | channels.h | 24 #define SL_ANDROID_INDEXED_SPEAKER_MASK_ALL ((SLuint32) \ 58 extern SLuint32 sles_channel_out_mask_from_count(unsigned channelCount); 59 extern SLuint32 sles_channel_in_mask_from_count(unsigned channelCount); 60 extern SLuint32 sles_channel_count_from_mask(SLuint32 mask); 61 extern SLboolean sles_is_channel_mask_valid(SLuint32 mask); 63 extern audio_channel_representation_t sles_to_audio_channel_mask_representation(SLuint32 mask); 64 extern audio_channel_mask_t sles_to_audio_output_channel_mask(SLuint32 mask); 65 extern audio_channel_mask_t sles_to_audio_input_channel_mask(SLuint32 mask);
|
H A D | AudioPlayer_to_android.h | 53 const void *pConfigValue, SLuint32 valueSize); 65 SLuint32* pValueSize, void *pConfigValue); 75 SLpermille rate, SLuint32 constraints); 98 SLuint32 *pItemCount); 101 SLuint32 index, SLuint32 *pKeySize); 104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey); 107 SLuint32 index, SLuint32 *pValueSiz [all...] |
H A D | channels.c | 30 SLuint32 sles_channel_out_mask_from_count(unsigned channelCount) 69 SLuint32 sles_channel_in_mask_from_count(unsigned channelCount) { 79 SLuint32 bitfield = (1 << channelCount) - 1; 93 SLuint32 sles_channel_count_from_mask(SLuint32 mask) { 113 audio_channel_representation_t sles_to_audio_channel_mask_representation(SLuint32 mask) { 123 SLuint32 sles; 164 SLuint32 mask, 219 audio_channel_mask_t sles_to_audio_output_channel_mask(SLuint32 mask) { 226 audio_channel_mask_t sles_to_audio_input_channel_mask(SLuint32 mas [all...] |
H A D | AudioRecorder_to_android.h | 32 const void *pConfigValue, SLuint32 valueSize); 44 SLuint32* pValueSize, void *pConfigValue); 56 extern void android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state);
|
H A D | android_defs.h | 129 #define ANDROID_MP2TSEVENT_NONE ((SLuint32) 0x0) 131 #define ANDROID_MP2TSEVENT_EOS ((SLuint32) 0x1) 133 #define ANDROID_MP2TSEVENT_DISCONTINUITY ((SLuint32) 0x1 << 1) 136 #define ANDROID_MP2TSEVENT_DISCON_NEWPTS ((SLuint32) 0x1 << 2) 138 #define ANDROID_MP2TSEVENT_FORMAT_CHANGE_FULL ((SLuint32) 0x1 << 3) 139 #define ANDROID_MP2TSEVENT_FORMAT_CHANGE_VIDEO ((SLuint32) 0x1 << 4)
|
/frameworks/wilhelm/src/desktop/ |
H A D | OutputMixExt.h | 32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size); 41 SLuint32 mAvail; ///< Number of available bytes in the current buffer 43 SLuint32 mFramesMixed; ///< Number of sample frames mixed from track; reset periodically 48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
|
/frameworks/wilhelm/src/itf/ |
H A D | IAudioDecoderCapabilities.c | 23 SLuint32 *pNumDecoders, SLuint32 *pDecoderIds) 32 SLuint32 numDecoders = *pNumDecoders; 39 memcpy(pDecoderIds, Decoder_IDs, numDecoders * sizeof(SLuint32)); 49 SLAudioDecoderCapabilitiesItf self, SLuint32 decoderId, SLuint32 *pIndex,
|
H A D | IAudioEncoderCapabilities.c | 23 SLuint32 *pNumEncoders, SLuint32 *pEncoderIds) 32 SLuint32 numEncoders = *pNumEncoders; 39 memcpy(pEncoderIds, Encoder_IDs, numEncoders * sizeof(SLuint32)); 49 SLAudioEncoderCapabilitiesItf self, SLuint32 encoderId, SLuint32 *pIndex,
|
H A D | IMetadataTraversal.c | 22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) 46 static SLresult IMetadataTraversal_GetChildCount(SLMetadataTraversalItf self, SLuint32 *pCount) 55 SLuint32 count = thiz->mCount; 66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) 75 SLuint32 size = thiz->mSize; 85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, 86 SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) 97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 inde [all...] |
H A D | IMIDITime.c | 22 static SLresult IMIDITime_GetDuration(SLMIDITimeItf self, SLuint32 *pDuration) 30 SLuint32 duration = thiz->mDuration; 39 static SLresult IMIDITime_SetPosition(SLMIDITimeItf self, SLuint32 position) 58 static SLresult IMIDITime_GetPosition(SLMIDITimeItf self, SLuint32 *pPosition) 67 SLuint32 position = thiz->mPosition; 77 static SLresult IMIDITime_SetLoopPoints(SLMIDITimeItf self, SLuint32 startTick, SLuint32 numTicks) 83 SLuint32 duration = thiz->mDuration; 98 static SLresult IMIDITime_GetLoopPoints(SLMIDITimeItf self, SLuint32 *pStartTick, 99 SLuint32 *pNumTick [all...] |
H A D | IMetadataExtraction.c | 22 static SLresult IMetadataExtraction_GetItemCount(SLMetadataExtractionItf self, SLuint32 *pItemCount) 47 SLuint32 index, SLuint32 *pKeySize) 72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) 97 SLuint32 index, SLuint32 *pValueSize) 122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) 147 SLuint32 keySiz [all...] |
H A D | IMIDITempo.c | 22 static SLresult IMIDITempo_SetTicksPerQuarterNote(SLMIDITempoItf self, SLuint32 tpqn) 40 static SLresult IMIDITempo_GetTicksPerQuarterNote(SLMIDITempoItf self, SLuint32 *pTpqn) 49 SLuint32 ticksPerQuarterNote = thiz->mTicksPerQuarterNote; 87 SLuint32 microsecondsPerQuarterNote = thiz->mMicrosecondsPerQuarterNote;
|
H A D | IEngineCapabilities.c | 103 SLuint32 *pIndex, SLuint32 *pLEDDeviceID, SLLEDDescriptor *pDescriptor) 109 SLuint32 index; 128 SLuint32 id = *pLEDDeviceID; 145 SLuint32 *pIndex, SLuint32 *pVibraDeviceID, SLVibraDescriptor *pDescriptor) 151 SLuint32 index; 170 SLuint32 id = *pVibraDeviceID;
|
/frameworks/wilhelm/src/ut/ |
H A D | OpenSLESUT.h | 25 extern const char *slesutObjectIDToString(SLuint32 objectID);
|
/frameworks/wilhelm/tests/automated/ |
H A D | BufferQueue_test.cpp | 47 static const SLuint32 invalidNumBuffers[] = { 0, 0xFFFFFFFF, 0x80000000, 0x10002, 0x102, 49 static const SLuint32 validNumBuffers[] = { 1, 2, 3, 4, 5, 6, 7, 8, 255 }; 88 SLuint32 playerState; 136 SLuint32 i; 172 SLuint32 numBuffers = invalidNumBuffers[i]; 185 void PrepareValidBuffer(SLuint32 numBuffers) { 209 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); 210 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); 213 void EnqueueMaxBuffer(SLuint32 numBuffers) { 214 SLuint32 [all...] |