/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 166 AudioEffect effect = new AudioEffect(desc[0].type, in test1_0ConstructorFromType() local 170 assertNotNull(msg + ": could not create AudioEffect", effect); in test1_0ConstructorFromType() 172 assertTrue(msg +": invalid effect ID", (effect.getId() != 0)); in test1_0ConstructorFromType() 177 effect.release(); in test1_0ConstructorFromType() 208 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_NULL, in test1_1ConstructorFromUuid() local 212 assertNotNull(msg + ": could not create AudioEffect", effect); in test1_1ConstructorFromUuid() 213 effect.release(); in test1_1ConstructorFromUuid() 234 AudioEffect effect = new AudioEffect(UUID.randomUUID(), in test1_2ConstructorUnknownType() local 239 if (effect != null) { in test1_2ConstructorUnknownType() 240 effect.release(); in test1_2ConstructorUnknownType() [all …]
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 269 int AgcInit (preproc_effect_t *effect) in AgcInit() argument 272 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcInit() 280 int AgcCreate(preproc_effect_t *effect) in AgcCreate() argument 282 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate() 288 effect->engine = static_cast<preproc_fx_handle_t>(agc); in AgcCreate() 289 AgcInit(effect); in AgcCreate() 293 int AgcGetParameter(preproc_effect_t *effect, in AgcGetParameter() argument 301 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcGetParameter() 357 int AgcSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AgcSetParameter() argument 362 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcSetParameter() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | PathEffect.cpp | 15 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); in destructor() local 16 SkSafeUnref(effect); in destructor() 23 SkPathEffect* effect = SkComposePathEffect::Create(outer, inner); in Compose_constructor() local 24 return reinterpret_cast<jlong>(effect); in Compose_constructor() 31 SkPathEffect* effect = SkSumPathEffect::Create(first, second); in Sum_constructor() local 32 return reinterpret_cast<jlong>(effect); in Sum_constructor() 44 SkPathEffect* effect = SkDashPathEffect::Create(intervals, count, phase); in Dash_constructor() local 45 return reinterpret_cast<jlong>(effect); in Dash_constructor() 52 SkPathEffect* effect = SkPath1DPathEffect::Create(*shape, advance, phase, in OneD_constructor() local 54 return reinterpret_cast<jlong>(effect); in OneD_constructor() [all …]
|
/frameworks/av/include/media/ |
D | AudioEffect.h | 437 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient() argument 441 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() local 442 if (effect != 0) { in controlStatusChanged() 443 effect->controlStatusChanged(controlGranted); in controlStatusChanged() 447 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() local 448 if (effect != 0) { in enableStatusChanged() 449 effect->enableStatusChanged(enabled); in enableStatusChanged() 457 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() local 458 if (effect != 0) { in commandExecuted() 459 effect->commandExecuted( in commandExecuted() [all …]
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 795 handle->effect().clear(); in purgeHandles() 1042 AudioFlinger::EffectHandle::EffectHandle(const sp<EffectModule>& effect, in EffectHandle() argument 1047 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle() 1480 status_t AudioFlinger::EffectChain::addEffect_l(const sp<EffectModule>& effect) in addEffect_l() argument 1482 effect_descriptor_t desc = effect->desc(); in addEffect_l() 1486 effect->setChain(this); in addEffect_l() 1491 effect->setThread(thread); in addEffect_l() 1496 mEffects.insertAt(effect, 0); in addEffect_l() 1505 effect->setInBuffer((int16_t *)buffer); in addEffect_l() 1508 effect->setOutBuffer(mInBuffer); in addEffect_l() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 111 EffectDesc *effect = effects[i]; in addInputEffects() local 112 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, -1, 0, in addInputEffects() 117 effect->mName, (int32_t)aliasSource); in addInputEffects() 121 for (size_t j = 0; j < effect->mParams.size(); j++) { in addInputEffects() 122 fx->setParameter(effect->mParams[j]); in addInputEffects() 125 effect->mName, (int32_t)aliasSource); in addInputEffects() 256 EffectDesc *effect = effects[i]; in addOutputSessionEffects() local 257 sp<AudioEffect> fx = new AudioEffect(NULL, String16("android"), &effect->mUuid, 0, 0, 0, in addOutputSessionEffects() 262 effect->mName, audioSession); in addOutputSessionEffects() 267 effect->mName, audioSession, (int32_t)stream); in addOutputSessionEffects() [all …]
|
/frameworks/base/media/mca/effect/java/android/media/effect/effects/ |
D | BackDropperEffect.java | 17 package android.media.effect.effects; 21 import android.media.effect.EffectContext; 22 import android.media.effect.FilterGraphEffect; 23 import android.media.effect.EffectUpdateListener;
|
D | GrainEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | BlackWhiteEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | FillLightEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | CrossProcessEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | LomoishEffect.java | 17 package android.media.effect.effects; 19 import android.media.effect.EffectContext; 20 import android.media.effect.SingleFilterEffect;
|
D | FlipEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | StraightenEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | RedEyeEffect.java | 19 package android.media.effect.effects; 21 import android.media.effect.EffectContext; 22 import android.media.effect.SingleFilterEffect;
|
D | ColorTemperatureEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | AutoFixEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | GrayscaleEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | VignetteEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | SepiaEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | SaturateEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | NegativeEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | ContrastEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | SharpenEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|
D | FisheyeEffect.java | 18 package android.media.effect.effects; 20 import android.media.effect.EffectContext; 21 import android.media.effect.SingleFilterEffect;
|