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.cpp268 int AgcInit (preproc_effect_t *effect) in AgcInit() argument
271 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcInit()
279 int AgcCreate(preproc_effect_t *effect) in AgcCreate() argument
281 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate()
287 effect->engine = static_cast<preproc_fx_handle_t>(agc); in AgcCreate()
288 AgcInit(effect); in AgcCreate()
292 int AgcGetParameter(preproc_effect_t *effect, in AgcGetParameter() argument
300 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcGetParameter()
356 int AgcSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AgcSetParameter() argument
361 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcSetParameter()
[all …]
/frameworks/base/core/jni/android/graphics/
DPathEffect.cpp17 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); in destructor() local
18 SkSafeUnref(effect); in destructor()
25 SkPathEffect* effect = SkComposePathEffect::Create(outer, inner); in Compose_constructor() local
26 return reinterpret_cast<jlong>(effect); in Compose_constructor()
33 SkPathEffect* effect = SkSumPathEffect::Create(first, second); in Sum_constructor() local
34 return reinterpret_cast<jlong>(effect); in Sum_constructor()
46 SkPathEffect* effect = SkDashPathEffect::Create(intervals, count, phase); in Dash_constructor() local
47 return reinterpret_cast<jlong>(effect); in Dash_constructor()
54 SkPathEffect* effect = SkPath1DPathEffect::Create(*shape, advance, phase, in OneD_constructor() local
56 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.cpp790 handle->effect().clear(); in purgeHandles()
1037 AudioFlinger::EffectHandle::EffectHandle(const sp<EffectModule>& effect, in EffectHandle() argument
1042 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle()
1475 status_t AudioFlinger::EffectChain::addEffect_l(const sp<EffectModule>& effect) in addEffect_l() argument
1477 effect_descriptor_t desc = effect->desc(); in addEffect_l()
1481 effect->setChain(this); in addEffect_l()
1486 effect->setThread(thread); in addEffect_l()
1491 mEffects.insertAt(effect, 0); in addEffect_l()
1500 effect->setInBuffer((int16_t *)buffer); in addEffect_l()
1503 effect->setOutBuffer(mInBuffer); in addEffect_l()
[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;
DGrayscaleEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DTintEffect.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;
DAutoFixEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DBitmapOverlayEffect.java19 package android.media.effect.effects;
21 import android.media.effect.EffectContext;
22 import android.media.effect.SingleFilterEffect;
DBrightnessEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DColorTemperatureEffect.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;
DCropEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SizeChangeEffect;
DCrossProcessEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DDocumentaryEffect.java17 package android.media.effect.effects;
19 import android.media.effect.EffectContext;
20 import android.media.effect.SingleFilterEffect;
DDuotoneEffect.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;
DNegativeEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
DPosterizeEffect.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;
DRotateEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SizeChangeEffect;
DSaturateEffect.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;

1234567