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.cpp603 LVREV_MemoryTable_st MemTab; in Reverb_free() local
607 &MemTab, in Reverb_free()
613 if (MemTab.Region[i].Size != 0){ in Reverb_free()
614 if (MemTab.Region[i].pBaseAddress != NULL){ in Reverb_free()
615 free(MemTab.Region[i].pBaseAddress); in Reverb_free()
619 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in Reverb_free()
796 LVREV_MemoryTable_st MemTab; /* Memory allocation table */ in Reverb_init() local
806 &MemTab, in Reverb_init()
816 if (MemTab.Region[i].Size != 0){ in Reverb_init()
817 MemTab.Region[i].pBaseAddress = malloc(MemTab.Region[i].Size); in Reverb_init()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp577 LVM_MemTab_t MemTab; /* Memory allocation table */ in LvmBundle_init() local
588 &MemTab, in LvmBundle_init()
598 if (MemTab.Region[i].Size != 0){ in LvmBundle_init()
599 MemTab.Region[i].pBaseAddress = malloc(MemTab.Region[i].Size); in LvmBundle_init()
601 if (MemTab.Region[i].pBaseAddress == LVM_NULL){ in LvmBundle_init()
603 " bytes for region %u\n", MemTab.Region[i].Size, i ); in LvmBundle_init()
608 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in LvmBundle_init()
618 if (MemTab.Region[i].pBaseAddress == LVM_NULL){ in LvmBundle_init()
620 " bytes for region %u Not freeing\n", MemTab.Region[i].Size, i ); in LvmBundle_init()
624 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); in LvmBundle_init()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Init.c1118 LVM_MemTab_t MemTab; /* Memory table */ in LVM_ClearAudioBuffers() local
1136 LVM_GetMemoryTable(hInstance, &MemTab, LVM_NULL); in LVM_ClearAudioBuffers()
1143 &MemTab, in LVM_ClearAudioBuffers()