Searched refs:effect (Results 26 - 50 of 101) sorted by relevance

12345

/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DTintEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
H A DVignetteEffect.java18 package android.media.effect.effects;
20 import android.media.effect.EffectContext;
21 import android.media.effect.SingleFilterEffect;
H A DIdentityEffect.java18 package android.media.effect.effects;
21 import android.media.effect.EffectContext;
22 import android.media.effect.FilterEffect;
H A 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;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java149 //Test case 1.0: test constructor from effect type and get effect ID
166 AudioEffect effect = new AudioEffect(desc[0].type,
170 assertNotNull(msg + ": could not create AudioEffect", effect);
172 assertTrue(msg +": invalid effect ID", (effect.getId() != 0));
177 effect.release();
192 //Test case 1.1: test constructor from effect uuid
208 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_NULL,
212 assertNotNull(msg + ": could not create AudioEffect", effect);
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffect.java18 package android.media.effect;
28 * {@link android.media.effect.EffectContext#getFactory() getFactory()}. The EffectFactory allows
32 * applying an effect. An effect is bound to a single EffectContext, which in turn is bound to a
40 * Get the effect name.
42 * Returns the unique name of the effect, which matches the name used for instantiating this
43 * effect by the EffectFactory.
45 * @return The name of the effect.
50 * Apply an effect to GL textures.
60 * bound by the effect a
[all...]
H A DSizeChangeEffect.java17 package android.media.effect;
20 import android.media.effect.EffectContext;
H A DEffectFactory.java18 package android.media.effect;
25 * creating a certain effect, the application should confirm that the effect is supported on this
33 "android.media.effect.effects.", // Default effect package
58 "android.media.effect.effects.BrightnessEffect";
73 "android.media.effect.effects.ContrastEffect";
87 "android.media.effect.effects.FisheyeEffect";
92 * background visible before the effect becomes active. The effect wil
[all...]
H A DFilterGraphEffect.java17 package android.media.effect;
23 import android.media.effect.FilterEffect;
24 import android.media.effect.EffectContext;
48 * @param name The name of this effect (used to create it in the EffectFactory).
73 throw new RuntimeException("Could not setup effect", e);
77 throw new RuntimeException("Could not setup effect");
91 throw new RuntimeException("Internal error applying effect");
97 throw new RuntimeException("Internal error applying effect");
102 throw new RuntimeException("Internal error applying effect: ", e);
/frameworks/av/include/media/
H A DAudioEffect.h65 * NO_INIT effect library failed to initialize
74 * Returns an effect descriptor during effect
78 * index: index of the queried effect.
79 * descriptor: address where the effect descriptor should be returned.
84 * NO_INIT effect library failed to initialize
86 * INVALID_OPERATION effect list has changed since last execution of queryNumberEffects()
89 * *descriptor: updated with effect descriptor
95 * Returns the descriptor for the specified effect uuid.
98 * uuid: pointer to effect uui
437 EffectClient(AudioEffect *effect) argument
441 sp<AudioEffect> effect = mEffect.promote(); local
447 sp<AudioEffect> effect = mEffect.promote(); local
457 sp<AudioEffect> effect = mEffect.promote(); local
466 sp<AudioEffect> effect = mEffect.promote(); local
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DAudioEffect.h65 * NO_INIT effect library failed to initialize
74 * Returns an effect descriptor during effect
78 * index: index of the queried effect.
79 * descriptor: address where the effect descriptor should be returned.
84 * NO_INIT effect library failed to initialize
86 * INVALID_OPERATION effect list has changed since last execution of queryNumberEffects()
89 * *descriptor: updated with effect descriptor
95 * Returns the descriptor for the specified effect uuid.
98 * uuid: pointer to effect uui
437 EffectClient(AudioEffect *effect) argument
441 sp<AudioEffect> effect = mEffect.promote(); local
447 sp<AudioEffect> effect = mEffect.promote(); local
457 sp<AudioEffect> effect = mEffect.promote(); local
466 sp<AudioEffect> effect = mEffect.promote(); local
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp15 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); local
16 SkSafeUnref(effect);
23 SkPathEffect* effect = SkPathEffect::MakeCompose(sk_ref_sp(outer), local
25 return reinterpret_cast<jlong>(effect);
32 SkPathEffect* effect = SkPathEffect::MakeSum(sk_ref_sp(first), local
34 return reinterpret_cast<jlong>(effect);
46 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); local
47 return reinterpret_cast<jlong>(effect);
54 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, local
56 return reinterpret_cast<jlong>(effect);
60 SkPathEffect* effect = SkCornerPathEffect::Make(radius).release(); local
66 SkPathEffect* effect = SkDiscretePathEffect::Make(length, deviation).release(); local
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp89 preproc_session_t *session; // session the effect is on
90 const preproc_ops_t *ops; // effect ops table
92 uint32_t type; // subtype of effect
109 uint32_t samplingRate; // sampling rate at effect process interface
176 // UUIDs for effect types have been generated from http://www.itu.int/ITU-T/asn1/uuid.html
269 int AgcInit (preproc_effect_t *effect) argument
272 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine);
280 int AgcCreate(preproc_effect_t *effect) argument
282 webrtc::GainControl *agc = effect->session->apm->gain_control();
288 effect
293 AgcGetParameter(preproc_effect_t *effect, void *pParam, uint32_t *pValueSize, void *pValue) argument
357 AgcSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument
399 AgcEnable(preproc_effect_t *effect) argument
406 AgcDisable(preproc_effect_t *effect) argument
434 AecInit(preproc_effect_t *effect) argument
443 AecCreate(preproc_effect_t *effect) argument
456 AecGetParameter(preproc_effect_t *effect, void *pParam, uint32_t *pValueSize, void *pValue) argument
481 AecSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument
501 AecEnable(preproc_effect_t *effect) argument
508 AecDisable(preproc_effect_t *effect) argument
515 AecSetDevice(preproc_effect_t *effect, uint32_t device) argument
559 NsInit(preproc_effect_t *effect) argument
582 NsCreate(preproc_effect_t *effect) argument
604 NsSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument
636 NsEnable(preproc_effect_t *effect) argument
649 NsDisable(preproc_effect_t *effect) argument
691 Effect_SetState(preproc_effect_t *effect, uint32_t state) argument
768 Effect_Init(preproc_effect_t *effect, uint32_t procId) argument
781 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument
790 Effect_Release(preproc_effect_t *effect) argument
1211 preproc_effect_t * effect = (preproc_effect_t *)self; local
1402 preproc_effect_t * effect = (preproc_effect_t *) self; local
1760 preproc_effect_t * effect = (preproc_effect_t *) self; local
1775 preproc_effect_t * effect = (preproc_effect_t *)self; local
[all...]
/frameworks/av/media/libaudiohal/
H A DEffectsFactoryHalHidl.h20 #include <android/hardware/audio/effect/2.0/IEffectsFactory.h>
21 #include <android/hardware/audio/effect/2.0/types.h>
26 using ::android::hardware::audio::effect::V2_0::EffectDescriptor;
27 using ::android::hardware::audio::effect::V2_0::IEffectsFactory;
36 // Returns a descriptor of the next available effect.
43 // Creates an effect engine of the specified type.
44 // To release the effect engine, it is necessary to release references
45 // to the returned effect object.
48 sp<EffectHalInterface> *effect);
H A DEffectHalHidl.h20 #include <android/hardware/audio/effect/2.0/IEffect.h>
26 using ::android::hardware::audio::effect::V2_0::EffectBufferConfig;
27 using ::android::hardware::audio::effect::V2_0::EffectConfig;
28 using ::android::hardware::audio::effect::V2_0::EffectDescriptor;
29 using ::android::hardware::audio::effect::V2_0::IEffect;
48 // a reference stream to the effect engine.
51 // Send a command and receive a response to/from effect engine.
55 // Returns the effect descriptor.
72 hardware::audio::effect::V2_0::Result, hardware::kSynchronizedReadWrite> StatusMQ;
82 static status_t analyzeResult(const hardware::audio::effect
[all...]
H A DEffectsFactoryHalLocal.cpp50 sp<EffectHalInterface> *effect) {
54 *effect = new EffectHalLocal(handle);
48 createEffect( const effect_uuid_t *pEffectUuid, int32_t sessionId, int32_t ioId, sp<EffectHalInterface> *effect) argument
H A DEffectsFactoryHalLocal.h30 // Returns a descriptor of the next available effect.
37 // Creates an effect engine of the specified type.
38 // To release the effect engine, it is necessary to release references
39 // to the returned effect object.
42 sp<EffectHalInterface> *effect);
H A DEffectBufferHalHidl.h20 #include <android/hardware/audio/effect/2.0/types.h>
26 using android::hardware::audio::effect::V2_0::AudioBuffer;
/frameworks/base/core/java/android/os/
H A DIVibratorService.aidl26 void vibrate(int uid, String opPkg, in VibrationEffect effect, int usageHint, IBinder token);
H A DNullVibrator.java48 VibrationEffect effect, AudioAttributes attributes) {
47 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
H A DVibrationEffect.java24 * A VibrationEffect describes a haptic effect to be performed by a {@link Vibrator}.
39 * A click effect.
47 * A double click effect.
67 * @return The desired effect.
70 VibrationEffect effect = new OneShot(milliseconds, amplitude);
71 effect.validate();
72 return effect;
98 * @return The desired effect.
128 * @return The desired effect.
131 VibrationEffect effect
[all...]
H A DSystemVibrator.java71 VibrationEffect effect, AudioAttributes attributes) {
77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken);
70 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
H A DVibratorServicePermissionTest.java52 final VibrationEffect effect =
54 mVibratorService.vibrate(Process.myUid(), null, effect, AudioManager.STREAM_ALARM,
/frameworks/av/services/audioflinger/
H A DEffects.cpp37 // 0; but one side effect of this is to turn all LOGV's as well. Some messages
78 // create effect engine from effect factory
139 // if inserted in first place, move effect control from previous owner to this handle
178 // if removed from first place, move effect control from this handle to next in line
186 // Prevent calls to process() and other functions on effect interface from now on.
187 // The effect engine will be released by the destructor when the last strong reference on
211 // unsafe method called when the effect parent thread has been destroyed
239 // clear auxiliary effect input buffer for next accumulation
284 // do 32 bit to 16 bit conversion for auxiliary effect inpu
1155 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument
1196 sp<EffectModule> effect = mEffect.promote(); local
1250 sp<EffectModule> effect = mEffect.promote(); local
1300 sp<EffectModule> effect = mEffect.promote(); local
1310 sp<EffectModule> effect = mEffect.promote(); local
1356 sp<EffectModule> effect = mEffect.promote(); local
1656 createEffect_l(sp<EffectModule>& effect, ThreadBase *thread, effect_descriptor_t *desc, int id, audio_session_t sessionId, bool pinned) argument
1676 addEffect_l(const sp<EffectModule>& effect) argument
1682 addEffect_ll(const sp<EffectModule>& effect) argument
1799 removeEffect_l(const sp<EffectModule>& effect, bool release) argument
1987 sp<EffectModule> effect = mEffects[i]; local
2017 sp<EffectModule> effect = getEffectIfEnabled(type); local
2036 sp<EffectModule> effect = desc->mEffect.promote(); local
2135 sp<EffectModule> effect = getEffectFromType_l(type); local
2139 checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, bool enabled) argument
[all...]
/frameworks/av/media/libeffects/downmix/
H A DAndroid.mk3 # Multichannel downmix effect library

Completed in 1754 milliseconds

12345