Home
last modified time | relevance | path

Searched refs:effect (Results 1 – 25 of 164) sorted by relevance

1234567

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java166 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/
DPreProcessing.cpp269 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/
DPathEffect.cpp15 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/
DAudioEffect.h437 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/
DEffects.cpp795 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/
DAudioPolicyEffects.cpp111 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/
DBackDropperEffect.java17 package android.media.effect.effects;
21 import android.media.effect.EffectContext;
22 import android.media.effect.FilterGraphEffect;
23 import android.media.effect.EffectUpdateListener;
DGrainEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DBlackWhiteEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DFillLightEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DCrossProcessEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DLomoishEffect.java17 package android.media.effect.effects;
19 import android.media.effect.EffectContext;
20 import android.media.effect.SingleFilterEffect;
DFlipEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DStraightenEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DRedEyeEffect.java19 package android.media.effect.effects;
21 import android.media.effect.EffectContext;
22 import android.media.effect.SingleFilterEffect;
DColorTemperatureEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DAutoFixEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DGrayscaleEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DVignetteEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DSepiaEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DSaturateEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DNegativeEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DContrastEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DSharpenEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DFisheyeEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;

1234567