/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 353 size_t index; local 354 err = state->mCodec->dequeueInputBuffer(&index, -1ll); 357 const sp<ABuffer> &dstBuffer = state->mBuffers[0].itemAt(index); 364 index, 423 size_t index; local 424 err = state->mCodec->dequeueInputBuffer(&index); 430 state->mAvailInputBufferIndices.push_back(index); 480 size_t index = *state->mAvailInputBufferIndices.begin(); local 485 state->mBuffers[0].itemAt(index); 494 index, [all...] |
H A D | codec.cpp | 164 size_t index; local 165 err = state->mCodec->dequeueInputBuffer(&index, kTimeout); 168 ALOGV("filling input buffer %d", index); 170 const sp<ABuffer> &buffer = state->mInBuffers.itemAt(index); 182 index, 200 size_t index; local 202 state->mCodec->dequeueInputBuffer(&index, kTimeout); 208 index, 244 size_t index; local 250 &index, [all...] |
H A D | stream.cpp | 51 virtual void onBufferAvailable(size_t index); 90 void MyStreamSource::onBufferAvailable(size_t index) { argument 91 CHECK_LT(index, mBuffers.size()); 112 sp<IMemory> mem = mBuffers.itemAt(index); 118 mListener->queueBuffer(index, n); 131 virtual void onBufferAvailable(size_t index); 245 void MyConvertingStreamSource::onBufferAvailable(size_t index) { argument 248 mBufferQueue.push_back(index);
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 71 int index = 0; local 72 for (; index < size; ++index) { 73 if (mUniqueIdVector.itemAt(index) == temp) { 78 if (index == size) { 151 for (unsigned int index = 0; index < plugInIdList.size(); index++) { 152 IDrmEngine& rDrmEngine = mPlugInManager.getPlugIn(plugInIdList.itemAt(index)); 162 for (unsigned int index [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 82 * returns the session object by the index in the session map table 84 * @param index - index of the value required 86 * @return session object as per the index 88 TValue getValueAt(unsigned int index) { argument 92 if (map.size() > index) { 93 value = map.valueAt(index);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 1031 M4OSA_UInt32 index; local 1032 for (index = 0; index < mNumberEffects; index++) { 1035 if(mEffectsSettings[index].VideoEffectType == 1037 if (((mEffectsSettings[index].uiStartTime + 1) <= 1039 ((mEffectsSettings[index].uiStartTime - 1 + 1040 mEffectsSettings[index].uiDuration) >= 1047 if (index < mNumberEffects) { 1048 mCurrFramingEffectIndex = index; [all...] |
H A D | VideoEditorPreviewController.cpp | 525 // Set to 1 index below, 526 // as threadProcess first increments the clip index 588 // Set the end cut time of clip index i to toMs 591 // Number of clips to be previewed is from index 0 to i 877 M4OSA_UInt32 index; local 881 for (index = 0; index < mNumberEffects; index++) { 882 if(mEffectsSettings[index].VideoEffectType == 885 if((mEffectsSettings[index] 960 preparePlayer( void* param, int playerInstance, int index) argument 1027 M4OSA_Int32 index = 0; local [all...] |
H A D | VideoEditorTools.cpp | 3106 M4VSS3GPP_EffectSettings* effectsSettings, M4OSA_UInt32 index, 3112 framingCtx->FramingRgb = effectsSettings[index].xVSS.pFramingBuffer; 3117 framingCtx->duration = effectsSettings[index].uiDuration; 3118 framingCtx->topleft_x = effectsSettings[index].xVSS.topleft_x; 3119 framingCtx->topleft_y = effectsSettings[index].xVSS.topleft_y; 3130 effectsSettings[index].xVSS.uialphaBlendingFadeInTime; 3133 effectsSettings[index].xVSS.uialphaBlendingFadeOutTime; 3136 effectsSettings[index].xVSS.uialphaBlendingEnd; 3139 effectsSettings[index].xVSS.uialphaBlendingMiddle; 3142 effectsSettings[index] 3104 prepareFramingStructure( M4xVSS_FramingStruct* framingCtx, M4VSS3GPP_EffectSettings* effectsSettings, M4OSA_UInt32 index, M4VIFI_UInt8* overlayRGB, M4VIFI_UInt8* overlayYUV) argument [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VD_EXTERNAL_BitstreamParser.c | 493 M4OSA_UInt16 index = 28; /* the 29th byte is SPS start */ local 500 if ((DSISize <= index) || (pDSI == M4OSA_NULL)) { 507 constraintSet3 = (pDSI[index+2] & 0x10); 509 pDSI[index+1], pDSI[index+3], constraintSet3); 511 switch (pDSI[index+1]) { 537 switch (pDSI[index+3]) { 596 M4OSA_UInt16 index = 7; /* the 5th and 6th bytes contain the level and profile */ local 603 if ((DSISize < index) || (pDSI == M4OSA_NULL)) {
|
H A D | M4xVSS_API.c | 2501 pParams->videoclipnumber = i; // Indicates video clip index 5827 int32_t index = xVSS_context->pMCScurrentParams->videoclipnumber; local 5831 xVSS_context->pSettings->pClipList[index]->uiBeginCutTime = 0; 5832 xVSS_context->pSettings->pClipList[index]->uiEndCutTime = 0; 5843 xVSS_context->pSettings->pClipList[index]->\
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorBuffer.c | 56 M4OSA_UInt32 index; local 83 for (index = 0; index < nbBuffers; index++) 85 pool->pNXPBuffer[index].pData = M4OSA_NULL; 212 M4OSA_UInt32 index, j; local 216 for(index = 0; index < pool->NB; index++) 218 pool->pNXPBuffer[index] 248 M4OSA_UInt32 index, j; local [all...] |
H A D | VideoEditorVideoDecoder.cpp | 1531 int32_t index; local 1533 for ( index = 0; index < height; index++) 1541 for ( index = 0; index < height >> 1; index++) 1549 for ( index = 0; index < height >> 1; index [all...] |
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 102 ALOGI("Testing index computation for 0x%x:", mask); 137 // compute at what index each channel is: samples will be in the following order: 139 // when a channel is not present, its index is set to the same as the index of the preceding 168 int32_t DownmixLib_QueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) { argument 169 ALOGV("DownmixLib_QueryEffect() index=%d", index); 173 if (index >= (uint32_t)kNbEffects) { 176 memcpy(pDescriptor, gDescriptors[index], sizeof(effect_descriptor_t)); 818 // sample at index [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 35 static uint32_t gCurEffectIdx; // current effect index in enumeration process 195 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) argument 202 index >= gNumEffects) { 211 if (index < gCurEffectIdx) { 216 if (index == gCurEffectIdx) {
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 169 extern "C" int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor){ argument 171 ALOGV("\tEffectQueryEffect processing index %d", index); 177 if (index > 3){ 178 ALOGV("\tLVM_ERROR : EffectQueryEffect index out of range %d", index); 181 if(index == LVM_BASS_BOOST){ 184 }else if(index == LVM_VIRTUALIZER){ 187 } else if(index == LVM_EQUALIZER){ 190 } else if(index [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 197 extern "C" int EffectQueryEffect(uint32_t index, argument 200 ALOGV("\tEffectQueryEffect processing index %d", index); 205 if (index >= sizeof(gDescriptors) / sizeof(const effect_descriptor_t *)) { 206 ALOGV("\tLVM_ERROR : EffectQueryEffect index out of range %d", index); 209 *pDescriptor = *gDescriptors[index];
|
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 1833 int PreProcessingLib_QueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) argument 1838 if (index >= PREPROC_NUM_EFFECTS) { 1841 *pDescriptor = *sDescriptors[index];
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioCoefInterpolator.cpp | 44 size_t index = 0; local 51 index += mInDimOffsets[dim] * (mInDims[dim] - 1); 53 index += mInDimOffsets[dim] * intCoord[dim]; 56 getCoefRecurse(index, fracCoord, out, 0); 59 void AudioCoefInterpolator::getCoefRecurse(size_t index, argument 63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t)); 65 getCoefRecurse(index, fracCoord, out, dim + 1); 68 getCoefRecurse(index + mInDimOffsets[dim], fracCoord, tempCoef,
|
H A D | EffectEqualizer.cpp | 131 extern "C" int EffectQueryEffect(uint32_t index, argument 136 if (index > 0) {
|
H A D | EffectReverb.c | 102 int EffectQueryEffect(uint32_t index, effect_descriptor_t *pDescriptor) { argument 106 if (index >= sizeof(gDescriptors) / sizeof(const effect_descriptor_t *)) { 109 memcpy(pDescriptor, gDescriptors[index], 589 // Define a mask for circular addressing, so that array index 708 // set base index into circular buffer
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 185 int VisualizerLib_QueryEffect(uint32_t index, argument 190 if (index > 0) {
|
/frameworks/av/media/libmedia/ |
H A D | AudioEffect.cpp | 401 status_t AudioEffect::queryEffect(uint32_t index, effect_descriptor_t *descriptor) argument 405 return af->queryEffect(index, descriptor);
|
H A D | AudioParameter.cpp | 171 status_t AudioParameter::getAt(size_t index, String8& key, String8& value) argument 173 if (mParameters.size() > index) { 174 key = mParameters.keyAt(index); 175 value = mParameters.valueAt(index);
|
H A D | AudioSystem.cpp | 466 int index = gOutputs.indexOfKey(ioHandle); local 467 if (index < 0) { 477 OutputDescriptor *outputDesc = gOutputs.valueAt(index); 666 int index, 671 return aps->setStreamVolumeIndex(stream, index, device); 675 int *index, 680 return aps->getStreamVolumeIndex(stream, index, device); 665 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument 674 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
|
H A D | IAudioFlinger.cpp | 580 virtual status_t queryEffect(uint32_t index, effect_descriptor_t *pDescriptor) const argument 587 data.writeInt32(index);
|