Home
last modified time | relevance | path

Searched refs:effect_param_t (Results 1 – 3 of 3) sorted by relevance

/system/media/tests/
DEffectParamWrapper_tests.cpp34 effect_param_t param = {.psize = 2, .vsize = 0x10}; in TEST()
36 effect_param_t target = wrapper.getEffectParam(); in TEST()
38 EXPECT_TRUE(0 == std::memcmp(&param, &target, sizeof(effect_param_t))); in TEST()
43 effect_param_t param = {.psize = 1, .vsize = 4}; in TEST()
45 size_t minCmdSize = sizeof(effect_param_t) + in TEST()
54 effect_param_t param = {.psize = std::numeric_limits<uint32_t>::max(), in TEST()
57 uint64_t minCmdSize = (uint64_t)sizeof(effect_param_t) + in TEST()
66 effect_param_t param = {.psize = 1, .vsize = 4}; in TEST()
85 effect_param_t psize1 = {.psize = 1}; in TEST()
90 effect_param_t psize4 = {.psize = 4}; in TEST()
[all …]
/system/media/audio/include/system/audio_effects/
Daudio_effects_utils.h42 explicit EffectParamWrapper(const effect_param_t& param) : mParam(param) {} in EffectParamWrapper()
46 return (uint64_t)getPaddedParameterSize() + mParam.vsize + sizeof(effect_param_t) <= in validateCmdSize()
89 return (uint64_t)sizeof(effect_param_t) + getPaddedParameterSize() + getValueSize(); in getTotalSize()
95 const effect_param_t& getEffectParam() const { return mParam; } in getEffectParam()
98 return (&other == this) || 0 == std::memcmp(&mParam, &other.mParam, sizeof(effect_param_t));
111 const effect_param_t& mParam;
119 explicit EffectParamReader(const effect_param_t& param) in EffectParamReader()
175 explicit EffectParamWriter(effect_param_t& param) in EffectParamWriter()
223 status_t overwrite(const effect_param_t& param) { in overwrite()
253 effect_param_t& mParam;
/system/media/audio/include/system/
Daudio_effect.h542 } effect_param_t; typedef