Searched refs:halDescriptor (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/audio/effect/all-versions/default/util/ |
D | EffectUtils.cpp | 178 status_t EffectUtils::effectDescriptorFromHal(const effect_descriptor_t& halDescriptor, in effectDescriptorFromHal() argument 180 UuidUtils::uuidFromHal(halDescriptor.type, &descriptor->type); in effectDescriptorFromHal() 181 UuidUtils::uuidFromHal(halDescriptor.uuid, &descriptor->uuid); in effectDescriptorFromHal() 182 descriptor->flags = EnumBitfield<EffectFlags>(halDescriptor.flags); in effectDescriptorFromHal() 183 descriptor->cpuLoad = halDescriptor.cpuLoad; in effectDescriptorFromHal() 184 descriptor->memoryUsage = halDescriptor.memoryUsage; in effectDescriptorFromHal() 186 memcpy(descriptor->name.data(), halDescriptor.name, descriptor->name.size()); in effectDescriptorFromHal() 187 memcpy(descriptor->implementor.data(), halDescriptor.implementor, in effectDescriptorFromHal() 190 descriptor->name = charBufferFromHal(halDescriptor.name); in effectDescriptorFromHal() 191 descriptor->implementor = charBufferFromHal(halDescriptor.implementor); in effectDescriptorFromHal() [all …]
|
/hardware/interfaces/audio/effect/all-versions/default/ |
D | EffectsFactory.cpp | 61 sp<IEffect> EffectsFactory::dispatchEffectInstanceCreation(const effect_descriptor_t& halDescriptor, in dispatchEffectInstanceCreation() argument 63 const effect_uuid_t* halUuid = &halDescriptor.type; in dispatchEffectInstanceCreation() 88 (halDescriptor.flags & EFFECT_FLAG_TYPE_PRE_PROC) == EFFECT_FLAG_TYPE_PRE_PROC; in dispatchEffectInstanceCreation() 109 effect_descriptor_t halDescriptor; in getAllDescriptors() local 110 status = EffectQueryEffect(i, &halDescriptor); in getAllDescriptors() 112 EffectUtils::effectDescriptorFromHal(halDescriptor, &result[i]); in getAllDescriptors() 143 effect_descriptor_t halDescriptor; in getDescriptor() local 144 status_t status = EffectGetDescriptor(&halUuid, &halDescriptor); in getDescriptor() 146 EffectUtils::effectDescriptorFromHal(halDescriptor, &descriptor); in getDescriptor() 189 effect_descriptor_t halDescriptor; in createEffectImpl() local [all …]
|
D | EffectsFactory.h | 64 static sp<IEffect> dispatchEffectInstanceCreation(const effect_descriptor_t& halDescriptor,
|
D | Effect.cpp | 578 if (effect_descriptor_t halDescriptor{}; in prepareForProcessing() local 579 (*mHandle)->get_descriptor(mHandle, &halDescriptor) == NO_ERROR && in prepareForProcessing() 580 memcmp(&halDescriptor.type, FX_IID_SPATIALIZER, sizeof(effect_uuid_t)) == 0) { in prepareForProcessing() 864 effect_descriptor_t halDescriptor; in getDescriptor() local 865 memset(&halDescriptor, 0, sizeof(effect_descriptor_t)); in getDescriptor() 866 status_t status = (*mHandle)->get_descriptor(mHandle, &halDescriptor); in getDescriptor() 869 status = EffectUtils::effectDescriptorFromHal(halDescriptor, &descriptor); in getDescriptor()
|
/hardware/interfaces/audio/effect/all-versions/default/util/include/util/ |
D | EffectUtils.h | 42 static status_t effectDescriptorFromHal(const effect_descriptor_t& halDescriptor, 45 effect_descriptor_t* halDescriptor);
|