Home
last modified time | relevance | path

Searched refs:MemTab (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libeffects/lvm/tests/
Dlvmtest.cpp199 LVM_MemTab_t MemTab; in LvmEffect_free() local
202 LvmStatus = LVM_GetMemoryTable(pContext->pBundledContext->hInstance, &MemTab, in LvmEffect_free()
208 if (MemTab.Region[i].Size != 0) { in LvmEffect_free()
209 if (MemTab.Region[i].pBaseAddress != NULL) { in LvmEffect_free()
212 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in LvmEffect_free()
214 free(MemTab.Region[i].pBaseAddress); in LvmEffect_free()
218 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in LvmEffect_free()
223 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in LvmEffect_free()
279 LVM_MemTab_t MemTab; /* Memory allocation table */ in LvmBundle_init() local
289 LvmStatus = LVM_GetMemoryTable(LVM_NULL, &MemTab, &InstParams); in LvmBundle_init()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp483 LVREV_MemoryTable_st MemTab; in Reverb_free() local
487 &MemTab, in Reverb_free()
493 if (MemTab.Region[i].Size != 0){ in Reverb_free()
494 if (MemTab.Region[i].pBaseAddress != NULL){ in Reverb_free()
495 free(MemTab.Region[i].pBaseAddress); in Reverb_free()
499 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in Reverb_free()
673 LVREV_MemoryTable_st MemTab; /* Memory allocation table */ in Reverb_init() local
683 &MemTab, in Reverb_init()
693 if (MemTab.Region[i].Size != 0){ in Reverb_init()
694 MemTab.Region[i].pBaseAddress = malloc(MemTab.Region[i].Size); in Reverb_init()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp545 LVM_MemTab_t MemTab; /* Memory allocation table */ in LvmBundle_init() local
556 &MemTab, in LvmBundle_init()
566 if (MemTab.Region[i].Size != 0){ in LvmBundle_init()
567 MemTab.Region[i].pBaseAddress = malloc(MemTab.Region[i].Size); in LvmBundle_init()
569 if (MemTab.Region[i].pBaseAddress == LVM_NULL){ in LvmBundle_init()
571 " bytes for region %u\n", MemTab.Region[i].Size, i ); in LvmBundle_init()
576 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in LvmBundle_init()
586 if (MemTab.Region[i].pBaseAddress == LVM_NULL){ in LvmBundle_init()
588 " bytes for region %u Not freeing\n", MemTab.Region[i].Size, i ); in LvmBundle_init()
592 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in LvmBundle_init()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Init.cpp1032 LVM_MemTab_t MemTab; /* Memory table */ in LVM_ClearAudioBuffers() local
1049 LVM_GetMemoryTable(hInstance, &MemTab, LVM_NULL); in LVM_ClearAudioBuffers()
1056 &MemTab, in LVM_ClearAudioBuffers()