Home
last modified time | relevance | path

Searched refs:effectParam (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libeffects/preprocessing/tests/
DEffectTestHelper.cpp63 auto effectParam = (effect_param_t*)malloc(sizeof(effect_param_t) + sizeof(paramData)); in setParam() local
64 memcpy(&effectParam->data[0], &paramData[0], sizeof(paramData)); in setParam()
65 effectParam->psize = sizeof(paramData[0]); in setParam()
66 effectParam->vsize = sizeof(paramData[1]); in setParam()
69 sizeof(effect_param_t) + sizeof(paramData), effectParam, in setParam()
71 free(effectParam); in setParam()
DPreProcessingTest.cpp186 effect_param_t* effectParam = (effect_param_t*)malloc(sizeof(*effectParam) + sizeof(paramData)); in preProcSetConfigParam() local
187 memcpy(&effectParam->data[0], &paramData[0], sizeof(paramData)); in preProcSetConfigParam()
188 effectParam->psize = sizeof(paramData[0]); in preProcSetConfigParam()
190 ->command(effectHandle, EFFECT_CMD_SET_PARAM, sizeof(effect_param_t), effectParam, in preProcSetConfigParam()
192 free(effectParam); in preProcSetConfigParam()
/frameworks/av/media/libeffects/lvm/benchmarks/
Dreverb_benchmark.cpp60 auto effectParam = (effect_param_t*)malloc(sizeof(effect_param_t) + sizeof(paramData)); in reverbSetConfigParam() local
61 memcpy(&effectParam->data[0], &paramData[0], sizeof(paramData)); in reverbSetConfigParam()
62 effectParam->psize = sizeof(paramData[0]); in reverbSetConfigParam()
63 effectParam->vsize = sizeof(paramData[1]); in reverbSetConfigParam()
66 sizeof(effect_param_t) + sizeof(paramData), effectParam, in reverbSetConfigParam()
68 free(effectParam); in reverbSetConfigParam()
/frameworks/av/media/libeffects/preprocessing/benchmarks/
Dpreprocessing_benchmark.cpp211 effect_param_t* effectParam = (effect_param_t*)malloc(sizeof(*effectParam) + sizeof(paramData)); in preProcSetConfigParam() local
212 memcpy(&effectParam->data[0], &paramData[0], sizeof(paramData)); in preProcSetConfigParam()
213 effectParam->psize = sizeof(paramData[0]); in preProcSetConfigParam()
215 ->command(effectHandle, EFFECT_CMD_SET_PARAM, sizeof(effect_param_t), effectParam, in preProcSetConfigParam()
217 free(effectParam); in preProcSetConfigParam()
/frameworks/av/media/libeffects/tests/common/
DEffectTestHelper.h95 auto effectParam = (effect_param_t*)paramData; in setParam() local
97 memcpy(&effectParam->data[0], &type, sizeof(type)); in setParam()
98 memcpy(&effectParam->data[sizeof(type)], &value, sizeof(value)); in setParam()
99 effectParam->psize = sizeof(type); in setParam()
100 effectParam->vsize = sizeof(value); in setParam()
104 effectParam, &replySize, &reply); in setParam()
/frameworks/av/media/libeffects/lvm/tests/
Dreverb_test.cpp137 effect_param_t* effectParam = (effect_param_t*)malloc(sizeof(*effectParam) + sizeof(paramData)); in reverbSetConfigParam() local
138 memcpy(&effectParam->data[0], &paramData[0], sizeof(paramData)); in reverbSetConfigParam()
139 effectParam->psize = sizeof(paramData[0]); in reverbSetConfigParam()
140 effectParam->vsize = sizeof(paramData[1]); in reverbSetConfigParam()
143 sizeof(effect_param_t) + sizeof(paramData), effectParam, in reverbSetConfigParam()
145 free(effectParam); in reverbSetConfigParam()