/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 96 XAuint32 index; member in struct:XAAndroidBufferQueueState_
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 62 // Each bit in the bitfield corresponds to a channel index, 179 SLuint32 index, 242 SLuint32 index; member in struct:SLAndroidSimpleBufferQueueState_ 311 SLuint32 index; member in struct:SLAndroidBufferQueueState_
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 1865 SLuint32 index, SLuint32 *pKeySize) { 1877 if (!decoder->getPcmFormatKeySize(index, &keyNameSize)) { 1901 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) { 1913 (!decoder->getPcmFormatKeyName(index, size - sizeof(SLMetadataInfo), 1938 SLuint32 index, SLuint32 *pValueSize) { 1950 if (!decoder->getPcmFormatValueSize(index, &valueSize)) { 1974 SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) { 1989 || (!decoder->getPcmFormatValueSize(index, &valueSize)) 1990 || (!decoder->getPcmFormatKeyValue(index, size - sizeof(SLMetadataInfo), 1864 android_audioPlayer_metadata_getKeySize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pKeySize) argument 1900 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument 1937 android_audioPlayer_metadata_getValueSize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pValueSize) argument 1973 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument
|
H A D | MediaPlayer_to_android.cpp | 125 ssize_t index = mp->mStreamInfo.mStreamInfoTable.add(streamInfo); local 134 if ((NULL != callback) && (index >= 0)) {
|
H A D | android_AudioSfDecoder.cpp | 102 bool AudioSfDecoder::getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize) { argument 103 if (index >= NB_PCMMETADATA_KEYS) { 106 *pKeySize = strlen(kPcmDecodeMetadataKeys[index]) +1; 113 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { argument 115 if (!getPcmFormatKeySize(index, &actualKeySize)) { 121 strncpy(keyName, kPcmDecodeMetadataKeys[index], actualKeySize); 127 bool AudioSfDecoder::getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize) { argument 128 if (index >= NB_PCMMETADATA_KEYS) { 139 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) { argument 141 if (!getPcmFormatValueSize(index, [all...] |
H A D | android_Effect.cpp | 524 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local 526 if (0 > index) { 532 outputMix->mAndroidEffect.mEffects->valueAt(index); 724 SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor) { argument 731 android::AudioEffect::queryEffect(index, pDescriptor); 799 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local 801 if (0 > index) { 804 iae->mEffects->removeItem(index); 813 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local 815 if (0 > index) { 828 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local 845 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local [all...] |
H A D | android_StreamPlayer.cpp | 75 void StreamSourceAppProxy::onBufferAvailable(size_t index) { argument 76 //SL_LOGD("StreamSourceAppProxy::onBufferAvailable(%d)", index); 84 CHECK_LT(index, mBuffers.size()); 86 sp<IMemory> mem = mBuffers.itemAt(index); 89 mAvailableBuffers.push_back(index); 230 mAndroidBufferQueue->mState.index++;
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 32 // Returns the sample rate based on the sampling frequency index 186 sp<IMediaSource> AacAdtsExtractor::getTrack(size_t index) { argument 187 if (mInitCheck != OK || index != 0) { 195 sp<MetaData> AacAdtsExtractor::getTrackMetaData(size_t index, uint32_t flags) { argument 196 if (mInitCheck != OK || index != 0) {
|
/frameworks/wilhelm/src/ |
H A D | data.c | 620 int index; local 637 index = clazz->mMPH_to_index[MPH_BUFFERQUEUE]; 639 assert(index == clazz->mMPH_to_index[MPH_ANDROIDSIMPLEBUFFERQUEUE]); 641 if (0 <= index) { 642 if (requiredMask & (1 << index)) { 660 index = clazz->mMPH_to_index[MPH_SEEK]; 661 if (0 <= index) { 662 if (requiredMask & (1 << index)) { 668 index = clazz->mMPH_to_index[MPH_MUTESOLO]; 669 if (0 <= index) { [all...] |
H A D | devices.c | 213 SLuint32 index; local 215 for (index = 0 ; NULL != cd->mDescriptor; ++cd) { 217 ++index; 220 *pIndex = index; 223 index = *pIndex; 226 if (0 == index) { 243 --index;
|
H A D | entry.c | 106 SLuint32 index; local 107 for (index = 0; index < pCEngine_class->mInterfaceCount; ++index, ++x, 215 LI_API SLresult liQuerySupportedInterfaces(SLuint32 index, SLInterfaceID *pInterfaceId, argument 240 if (index == 0) { 245 --index;
|
H A D | locks.c | 179 SLuint32 index = objectID; local 180 if ((XA_OBJECTID_ENGINE <= index) && (index <= XA_OBJECTID_CAMERADEVICE)) { 182 } else if ((SL_OBJECTID_ENGINE <= index) && (index <= SL_OBJECTID_METADATAEXTRACTOR)) { 183 index -= SL_OBJECTID_ENGINE - XA_OBJECTID_CAMERADEVICE - 1; 186 index = 0; 198 AttributeHandler handler = handlerTable[index][bit];
|
H A D | sl_entry.c | 52 SL_API SLresult SLAPIENTRY slQuerySupportedEngineInterfaces(SLuint32 index, argument 57 result = liQuerySupportedInterfaces(index, pInterfaceId, objectIDtoClass(SL_OBJECTID_ENGINE));
|
H A D | sles.c | 36 int index; local 37 if (0 > (index = clazz->mMPH_to_index[MPH])) { 41 assert(clazz->mInterfaceCount > (unsigned) index); 42 switch (thiz->mInterfaceStates[index]) { 194 int MPH, index; local 198 (0 > (index = clazz->mMPH_to_index[MPH])) || 199 (INTERFACE_UNAVAILABLE == interfaces[index].mInterface)) { 213 requiredMask |= (1 << index); 216 exposedMask |= (1 << index); 541 SLuint32 index; local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidEffectCapabilities.c | 44 SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, 50 if (index > thiz->mNumFx) { 55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type; 58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid; 61 int len = strlen(thiz->mFxDescriptors[index].name); 62 strncpy((char*)pName, thiz->mFxDescriptors[index].name, 43 IAndroidEffectCapabilities_QueryEffect(SLAndroidEffectCapabilitiesItf self, SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, SLchar * pName, SLuint16 *pNameSize) argument
|
H A D | IDynamicInterfaceManagement.c | 36 int index = clazz->mMPH_to_index[MPH]; local 37 assert(0 <= index && index < (int) clazz->mInterfaceCount); 38 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 53 const struct iid_vtable *x = &clazz->mInterfaces[index]; 117 int MPH, index; local 121 (0 > (index = clazz->mMPH_to_index[MPH]))) { 124 assert(index < (int) clazz->mInterfaceCount); 125 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index]; 161 const struct iid_vtable *x = &clazz->mInterfaces[index]; 213 int MPH, index; local 292 int index = clazz->mMPH_to_index[MPH]; local 365 int MPH, index; local [all...] |
H A D | IEffectSend.c | 22 /** \brief Maps AUX index to OutputMix interface index */ 63 int index = MPH_to_OutputMix[MPH]; local 64 if (0 > index) { 68 unsigned mask = 1 << index; 70 SLuint32 state = outputMix->mObject.mInterfaceStates[index];
|
H A D | IEngine.c | 825 SLuint32 objectID, SLuint32 index, SLInterfaceID *pInterfaceId) 853 if (index == 0) { 858 --index; 896 SLuint32 index, SLchar *pExtensionName, SLint16 *pNameLength) 905 if (index >= numExtensions) { 909 const char *extensionName = extensionNames[index]; 1209 // always storing container info at index 0, as per spec 1365 XAuint32 index, XAInterfaceID *pInterfaceId) 1369 &((CEngine *) ((IXAEngine *) self)->mThis)->mEngine.mItf, objectID, index, 1382 static XAresult IXAEngine_QuerySupportedExtension(XAEngineItf self, XAuint32 index, argument 824 IEngine_QuerySupportedInterfaces(SLEngineItf self, SLuint32 objectID, SLuint32 index, SLInterfaceID *pInterfaceId) argument 895 IEngine_QuerySupportedExtension(SLEngineItf self, SLuint32 index, SLchar *pExtensionName, SLint16 *pNameLength) argument 1364 IXAEngine_QuerySupportedInterfaces(XAEngineItf self, XAuint32 objectID, XAuint32 index, XAInterfaceID *pInterfaceId) argument [all...] |
H A D | IEngineCapabilities.c | 109 SLuint32 index; local 113 index = *pIndex; 114 if (index >= thiz->mMaxIndexLED) { 117 id_descriptor = &LED_id_descriptors[index]; 129 for (index = 0; index < thiz->mMaxIndexLED; ++index) { 130 id_descriptor = &LED_id_descriptors[index]; 151 SLuint32 index; local 155 index [all...] |
H A D | IEqualizer.c | 373 static SLresult IEqualizer_UsePreset(SLEqualizerItf self, SLuint16 index) argument 376 SL_LOGV("Equalizer::UsePreset index=%u", index); 379 if (index >= thiz->mNumPresets) { 386 thiz->mLevels[band] = EqualizerPresets[index].mLevels[band]; 387 thiz->mPreset = index; 395 android_eq_setParam(thiz->mEqEffect, EQ_PARAM_CUR_PRESET, 0, &index); 424 static SLresult IEqualizer_GetPresetName(SLEqualizerItf self, SLuint16 index, const SLchar **ppName) argument 433 if (index >= thiz->mNumPresets) { 436 *ppName = (SLchar *) thiz->mPresets[index] [all...] |
H A D | ILEDArray.c | 55 static SLresult ILEDArray_SetColor(SLLEDArrayItf self, SLuint8 index, const SLHSL *pColor) argument 61 if (!(index < MAX_LED_COUNT) || NULL == pColor) 73 thiz->mColors[index] = color; 82 static SLresult ILEDArray_GetColor(SLLEDArrayItf self, SLuint8 index, SLHSL *pColor) argument 86 if (!(index < MAX_LED_COUNT) || NULL == pColor) { 92 SLHSL color = thiz->mColors[index]; 115 SLuint8 index; local 116 for (index = 0; index < MAX_LED_COUNT; ++index, [all...] |
H A D | IMetadataExtraction.c | 47 SLuint32 index, SLuint32 *pKeySize) 58 index, pKeySize); 72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) 83 index, keySize, pKey); 97 SLuint32 index, SLuint32 *pValueSize) 108 index, pValueSize); 122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) 133 index, valueSize, pValue); 46 IMetadataExtraction_GetKeySize(SLMetadataExtractionItf self, SLuint32 index, SLuint32 *pKeySize) argument 71 IMetadataExtraction_GetKey(SLMetadataExtractionItf self, SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) argument 96 IMetadataExtraction_GetValueSize(SLMetadataExtractionItf self, SLuint32 index, SLuint32 *pValueSize) argument 121 IMetadataExtraction_GetValue(SLMetadataExtractionItf self, SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) argument
|
H A D | IMetadataTraversal.c | 66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) 85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, argument 97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) argument 101 if (SL_NODE_PARENT == index) { 105 thiz->mIndex = index; 65 IMetadataTraversal_GetChildMIMETypeSize( SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) argument
|
H A D | IObject.c | 338 int MPH, index; local 342 (0 > (index = clazz->mMPH_to_index[MPH]))) { 345 unsigned mask = 1 << index; 348 !(INTERFACE_PREREALIZE & clazz->mInterfaces[index].mInterface)) { 357 switch (thiz->mInterfaceStates[index]) { 360 interface = (char *) thiz + clazz->mInterfaces[index].mOffset; 438 unsigned index; local 439 for (index = 0; index < clazz->mInterfaceCount; ++index, 582 unsigned index = clazz->mInterfaceCount; local 708 int MPH, index; local [all...] |
H A D | IPlaybackRate.c | 152 static SLresult IPlaybackRate_GetRateRange(SLPlaybackRateItf self, SLuint8 index, argument 159 (0 < index)) {
|