Searched refs:index (Results 26 - 50 of 72) sorted by relevance

123

/system/media/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.h66 bool getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize);
67 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
68 bool getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize);
69 bool getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue);
H A Dandroid_AudioSfDecoder.cpp98 bool AudioSfDecoder::getPcmFormatKeySize(uint32_t index, uint32_t* pKeySize) { argument
99 if (index >= NB_PCMMETADATA_KEYS) {
102 *pKeySize = strlen(kPcmDecodeMetadataKeys[index]) +1;
109 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { argument
111 if (!getPcmFormatKeySize(index, &actualKeySize)) {
117 strncpy(keyName, kPcmDecodeMetadataKeys[index], actualKeySize);
123 bool AudioSfDecoder::getPcmFormatValueSize(uint32_t index, uint32_t* pValueSize) { argument
124 if (index >= NB_PCMMETADATA_KEYS) {
135 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) { argument
137 if (!getPcmFormatValueSize(index,
[all...]
H A Dandroid_Effect.cpp503 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
505 if (0 > index) {
510 android::AudioEffect* pFx = outputMix->mAndroidEffect.mEffects->valueAt(index);
692 SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor) { argument
699 android::AudioEffect::queryEffect(index, pDescriptor);
765 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
767 if (0 > index) {
770 android::AudioEffect* pFx = iae->mEffects->valueAt(index);
772 iae->mEffects->removeItem(index);
781 ssize_t index local
796 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
813 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
[all...]
H A Dandroid_StreamPlayer.cpp75 void StreamSourceAppProxy::onBufferAvailable(size_t index) { argument
76 //SL_LOGD("StreamSourceAppProxy::onBufferAvailable(%d)", index);
82 CHECK_LT(index, mBuffers.size());
84 sp<IMemory> mem = mBuffers.itemAt(index);
87 mAvailableBuffers.push_back(index);
227 mAndroidBufferQueue->mState.index++;
H A Dandroid_StreamPlayer.h45 virtual void onBufferAvailable(size_t index);
67 // list of available buffers in shared memory, identified by their index
/system/media/wilhelm/src/itf/
H A DIObject.c338 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 DIEqualizer.c377 static SLresult IEqualizer_UsePreset(SLEqualizerItf self, SLuint16 index) argument
380 SL_LOGV("Equalizer::UsePreset index=%u", index);
383 if (index >= thiz->mNumPresets) {
390 thiz->mLevels[band] = EqualizerPresets[index].mLevels[band];
391 thiz->mPreset = index;
399 android_eq_setParam(thiz->mEqEffect, EQ_PARAM_CUR_PRESET, 0, &index);
428 static SLresult IEqualizer_GetPresetName(SLEqualizerItf self, SLuint16 index, const SLchar **ppName) argument
437 if (index >= thiz->mNumPresets) {
440 *ppName = (SLchar *) thiz->mPresets[index]
[all...]
H A DIEffectSend.c22 /** \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 DIPlaybackRate.c152 static SLresult IPlaybackRate_GetRateRange(SLPlaybackRateItf self, SLuint8 index, argument
159 (0 < index)) {
H A DIAndroidBufferQueue.c275 thiz->mState.index = 0;
419 pState->index = thiz->mState.index;
487 thiz->mState.index = 0;
/system/media/wilhelm/src/
H A Dlocks.c166 SLuint32 index = objectID; local
167 if ((XA_OBJECTID_ENGINE <= index) && (index <= XA_OBJECTID_CAMERADEVICE)) {
169 } else if ((SL_OBJECTID_ENGINE <= index) && (index <= SL_OBJECTID_METADATAEXTRACTOR)) {
170 index -= SL_OBJECTID_ENGINE - XA_OBJECTID_CAMERADEVICE - 1;
173 index = 0;
185 AttributeHandler handler = handlerTable[index][bit];
H A Ddata.c602 int index; local
619 index = clazz->mMPH_to_index[MPH_BUFFERQUEUE];
621 assert(index == clazz->mMPH_to_index[MPH_ANDROIDSIMPLEBUFFERQUEUE]);
623 if (0 <= index) {
624 if (requiredMask & (1 << index)) {
642 index = clazz->mMPH_to_index[MPH_SEEK];
643 if (0 <= index) {
644 if (requiredMask & (1 << index)) {
650 index = clazz->mMPH_to_index[MPH_MUTESOLO];
651 if (0 <= index) {
[all...]
H A Dsles.c36 int index; local
37 if (0 > (index = clazz->mMPH_to_index[MPH])) {
41 assert(clazz->mInterfaceCount > (unsigned) index);
42 switch (thiz->mInterfaceStates[index]) {
193 int MPH, index; local
197 (0 > (index = clazz->mMPH_to_index[MPH])) ||
198 (INTERFACE_UNAVAILABLE == interfaces[index].mInterface)) {
212 requiredMask |= (1 << index);
215 exposedMask |= (1 << index);
521 SLuint32 index; local
[all...]
/system/core/libctest/
H A Dctest.c62 int index = testSuite->size; local
63 testSuite->testNames[index] = name;
64 testSuite->tests[index] = test;
/system/core/nexus/
H A DSupplicantAssociatingEvent.cpp47 char *q = index(p, '\'');
61 if (!(q = index(p, ' '))) {
74 char *q = index(p, '\'');
/system/media/mca/filterfw/native/core/
H A Dshader_program.cpp65 index(-1),
239 int index = 0; local
240 for (int i = 0; i < 4; ++i, index += 2) {
241 source_coords_[index] = quad.point(i).x();
242 source_coords_[index+1] = quad.point(i).y();
255 int index = 0; local
256 for (int i = 0; i < 4; ++i, index += 2) {
257 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0;
258 target_coords_[index+1] = (quad.point(i).y() * 2.0) - 1.0;
420 std::string ShaderProgram::InputTextureUniformName(int index) { argument
422 tex_name << "tex_sampler_" << index; local
[all...]
/system/media/wilhelm/src/android/include/
H A DAacAdtsExtractor.h79 virtual sp<MediaSource> getTrack(size_t index);
80 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp122 ssize_t index = mCacheData.indexOfKey(key_t(keyBase)); local
123 if (index >= 0) {
124 const cache_entry_t& e = mCacheData.valueAt(index);
/system/media/mca/filterpacks/imageproc/java/
H A DAutoFixFilter.java133 " float index = energy * hist_scale + hist_offset;\n" +
134 " vec4 temp = texture2D(tex_sampler_1, vec2(index, 0.5));\n" +
136 " index = value * density_scale + density_offset;\n" +
137 " temp = texture2D(tex_sampler_2, vec2(index, 0.5));\n" +
284 int index = y * width + x;
285 int energy = (data[index] & 0xFF) + ((data[index] >> 8) & 0xFF) +
286 ((data[index] >> 16) & 0xFF);
/system/media/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp32 // Returns the sample rate based on the sampling frequency index
186 sp<MediaSource> 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) {
/system/media/wilhelm/tests/mimeUri/
H A DslesTestSlowDownUri.cpp306 SLuint8 index; local
307 for (index = 0; ; ++index) {
310 res = (*rateItf)->GetRateRange(rateItf, index, &minRate, &maxRate, &stepSize, &capabilities);
312 if (index == 0) {
318 if (index == 255) {
322 printf("range[%u]: min=%d, max=%d, capabilities=", index, minRate, maxRate);
/system/core/sh/
H A Dexec.c92 short cmdtype; /* index identifying command */
99 STATIC int builtinloc = -1; /* index in path of %builtin, or -1 */
385 idx = cmdp->param.index;
448 entry->u.index = -1;
452 entry->u.index = -1;
456 entry->u.index = 0;
506 prev = cmdp->param.index;
579 cmdp->param.index = idx;
749 cmdp->param.index >= firstchange)
878 entry->u.index
[all...]
/system/core/include/usbhost/
H A Dusbhost.h184 int index,
/system/extras/libublock/
H A Dublock.c32 uint32_t index; member in struct:ublock_ctx
98 ub_ctx->index = in_h->index;
326 return ub_ctx->index;
/system/media/wilhelm/include/SLES/
H A DOpenSLES_Android.h134 SLuint32 index,
185 SLuint32 index; member in struct:SLAndroidSimpleBufferQueueState_
254 SLuint32 index; member in struct:SLAndroidBufferQueueState_

Completed in 215 milliseconds

123