/frameworks/av/include/media/ |
H A D | AudioEffect.h | 65 * 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 421 EffectClient(AudioEffect *effect) argument [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 1003 // First check if effect starttime matches the clip being previewed 1008 // This effect doesn't belong to this clip, check next one 1011 // Check if effect applies to this particular frame timestamp 1026 //Provide the overlay Update indication when there is an overlay effect 1030 // Find the effect in effectSettings array 1388 uint32_t effect = VIDEO_EFFECT_NONE; local 1393 effect = VIDEO_EFFECT_FADEFROMBLACK; 1397 effect = VIDEO_EFFECT_FADETOBLACK; 1401 effect = VIDEO_EFFECT_BLACKANDWHITE; 1405 effect [all...] |
H A D | VideoEditorPreviewController.cpp | 855 // Postprocessing (apply video effect) 859 // First check if effect starttime matches the clip being previewed 862 // This effect doesn't belong to this clip, check next one 875 //Provide the overlay Update indication when there is an overlay effect 880 // Find the effect in effectSettings array 1306 M4OSA_UInt32 effect = VIDEO_EFFECT_NONE; local 1311 effect = VIDEO_EFFECT_FADEFROMBLACK; 1315 effect = VIDEO_EFFECT_FADETOBLACK; 1319 effect = VIDEO_EFFECT_BLACKANDWHITE; 1323 effect [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 89 preproc_session_t *session; // session the effect is on 90 const preproc_ops_t *ops; // effect ops table 108 uint32_t samplingRate; // sampling rate at effect process interface 175 // UUIDs for effect types have been generated from http://www.itu.int/ITU-T/asn1/uuid.html 268 int AgcInit (preproc_effect_t *effect) argument 271 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); 279 int AgcCreate(preproc_effect_t *effect) argument 281 webrtc::GainControl *agc = effect->session->apm->gain_control(); 287 effect->engine = static_cast<preproc_fx_handle_t>(agc); 288 AgcInit(effect); 292 AgcGetParameter(preproc_effect_t *effect, void *pParam, size_t *pValueSize, void *pValue) argument 356 AgcSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument 398 AgcEnable(preproc_effect_t *effect) argument 405 AgcDisable(preproc_effect_t *effect) argument 433 AecInit(preproc_effect_t *effect) argument 442 AecCreate(preproc_effect_t *effect) argument 455 AecGetParameter(preproc_effect_t *effect, void *pParam, size_t *pValueSize, void *pValue) argument 480 AecSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument 500 AecEnable(preproc_effect_t *effect) argument 507 AecDisable(preproc_effect_t *effect) argument 514 AecSetDevice(preproc_effect_t *effect, uint32_t device) argument 557 NsInit(preproc_effect_t *effect) argument 565 NsCreate(preproc_effect_t *effect) argument 578 NsGetParameter(preproc_effect_t *effect, void *pParam, size_t *pValueSize, void *pValue) argument 587 NsSetParameter(preproc_effect_t *effect, void *pParam, void *pValue) argument 593 NsEnable(preproc_effect_t *effect) argument 600 NsDisable(preproc_effect_t *effect) argument 638 Effect_SetState(preproc_effect_t *effect, uint32_t state) argument 715 Effect_Init(preproc_effect_t *effect, uint32_t procId) argument 728 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument 737 Effect_Release(preproc_effect_t *effect) argument 1165 preproc_effect_t * effect = (preproc_effect_t *)self; local 1342 preproc_effect_t * effect = (preproc_effect_t *) self; local 1701 preproc_effect_t * effect = (preproc_effect_t *) self; local 1716 preproc_effect_t * effect = (preproc_effect_t *)self; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 632 sp<IEffect> effect; local 635 return effect; 662 effect = interface_cast<IEffect>(reply.readStrongBinder()); 669 return effect; 1046 sp<IEffect> effect = createEffect(pid, &desc, client, priority, output, sessionId, &status, &id, &enabled); local 1050 reply->writeStrongBinder(effect->asBinder());
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 92 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 483 // check if an effect chain with the same session ID is present on another 508 // move effect chain to this output thread if an effect on same session was waiting 1489 ALOGV("updateSuspendedSessions_l() suspend adding effect %08x", key); 1498 ALOGV("updateSuspendedSessions_l() restore removing effect %08x", key); 1512 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, argument 1517 checkSuspendOnEffectEnabled_l(effect, enabled, sessionId); 1520 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect, argument 1525 // suspend all effects in AUDIO_SESSION_OUTPUT_MIX when enabling any effect o 4744 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId); local 7351 sp<EffectModule> effect = ec->mEffects[0]; local 7705 sp<EffectModule> effect = chain->getEffectFromId_l(0); local 7751 sp<EffectModule> effect; local 7869 addEffect_l(const sp<EffectModule>& effect) argument 7907 removeEffect_l(const sp<EffectModule>& effect) argument 7969 disconnectEffect(const sp<EffectModule>& effect, EffectHandle *handle, bool unpinIfLast) argument 8096 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); local 8914 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument 9308 addEffect_l(const sp<EffectModule>& effect) argument 9422 removeEffect_l(const sp<EffectModule>& effect) argument 9564 sp<EffectModule> effect = mEffects[i]; local 9593 sp<EffectModule> effect = getEffectIfEnabled(type); local 9612 sp<EffectModule> effect = desc->mEffect.promote(); local 9709 sp<EffectModule> effect = getEffectFromType_l(type); local 9713 checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, bool enabled) argument [all...] |
H A D | AudioFlinger.h | 68 // There is support for > 2 channel tracks down-mixed to 2 channel output via a down-mix effect. 593 void disconnectEffect(const sp< EffectModule>& effect, 600 // effect 605 // get effect chain corresponding to session Id. 609 // add an effect chain to the chain list (mEffectChains) 611 // remove an effect chain from the chain list (mEffectChains) 613 // lock all effect chains Mutexes. Must be called before releasing the 618 // unlock effect chains after process 620 // set audio mode to all effect chains 622 // get effect modul 1769 sp<EffectModule> effect() const { return mEffect; } function in class:android::AudioFlinger::MixerThread [all...] |
H A D | AudioPolicyService.cpp | 304 EffectDesc *effect = effects[i]; local 305 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input); 308 ALOGW("Failed to create Fx %s on input %d", effect->mName, input); 312 for (size_t j = 0; j < effect->mParams.size(); j++) { 313 fx->setParameter(effect->mParams[j]); 1230 ALOGV("loadInputSource() found effect %s in list", node->name); 1235 ALOGV("loadInputSource() effect %s not in list", node->name); 1239 EffectDesc *effect = new EffectDesc(*effects[i]); // deep copy local 1240 loadEffectParameters(node, effect->mParams); 1241 ALOGV("loadInputSource() adding effect 1302 EffectDesc *effect = loadEffect(node); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 235 static SkPathEffect* setPathEffect(JNIEnv* env, jobject clazz, SkPaint* obj, SkPathEffect* effect) { argument 236 return obj->setPathEffect(effect);
|
H A D | PathEffect.cpp | 14 static void destructor(JNIEnv* env, jobject, SkPathEffect* effect) { argument 15 SkSafeUnref(effect);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 920 * @param effect May be null. The patheffect to be installed in the paint 921 * @return effect 923 public PathEffect setPathEffect(PathEffect effect) { argument 925 if (effect != null) { 926 effectNative = effect.native_instance; 929 mPathEffect = effect; 930 return effect; 1852 * other characters in the cluster. In effect, such clusters are 1900 * other characters in the cluster. In effect, such clusters are 2204 int effect); 2203 native_setPathEffect(int native_object, int effect) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 43 * <p>To apply the audio effect to a specific AudioTrack or MediaPlayer instance, 48 * <p>Creating an AudioEffect object will create the corresponding effect engine in the audio 49 * framework if no instance of the same effect type exists in the specified audio session. 52 * control of the effect engine or not depending on the priority parameter. If priority is higher 53 * than the priority used by the current effect engine owner, the control will be transfered to the 55 * application will be notified of changes in effect engine state or control ownership by the 67 // effect type UUIDs are taken from hardware/libhardware/include/hardware/audio_effect.h 70 * The following UUIDs define effect types corresponding to standard audio 77 * UUID for environmental reverb effect 83 * UUID for preset reverb effect 941 onEnableStatusChange(AudioEffect effect, boolean enabled) argument 956 onControlStatusChange(AudioEffect effect, boolean controlGranted) argument 972 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
H A D | BassBoost.java | 33 * Bass boost is an audio effect to boost or amplify low frequencies of the sound. It is comparable 59 * Bass boost effect strength. Parameter ID for 88 * how much the requesting application needs control of effect parameters. The normal priority 122 * Sets the strength of the bass boost effect. If the implementation does not support per mille 126 * @param strength strength of the effect. The valid range for strength strength is [0, 1000], 127 * where 0 per mille designates the mildest effect and 1000 per mille designates the strongest. 138 * Gets the current strength of the effect. 139 * @return the strength of the effect. The valid range for strength is [0, 1000], where 0 per 140 * mille designates the mildest effect and 1000 per mille the strongest 161 * @param effect th 166 onParameterChange(BassBoost effect, int status, int param, short value) argument 177 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
H A D | EnvironmentalReverb.java | 49 * <p>The EnvironmentalReverb is an output mix auxiliary effect and should be created on 50 * Audio session 0. In order for a MediaPlayer or AudioTrack to be fed into this effect, 51 * they must be explicitely attached to it and a send level must be specified. Use the effect ID 52 * returned by getId() method to designate this particular effect when attaching it to the 132 * parameter indicates how much the requesting application needs control of effect parameters. 137 * As the EnvironmentalReverb is an auxiliary effect it is recommended to instantiate it on 150 * Sets the master volume level of the environmental reverb effect. 163 * Gets the master volume level of the environmental reverb effect. 178 * overall reverb effect. 412 * produce a more colored effect 452 onParameterChange(EnvironmentalReverb effect, int status, int param, int value) argument 463 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
H A D | Equalizer.java | 133 * how much the requesting application needs control of effect parameters. The normal priority 298 * Gets the band that has the most effect on the given frequency. 300 * @return the frequency band that has most effect on the given frequency. 386 * @param effect the Equalizer on which the interface is registered. 392 void onParameterChange(Equalizer effect, int status, int param1, int param2, int value); argument 403 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument
|
H A D | PresetReverb.java | 50 * <p>The PresetReverb is an output mix auxiliary effect and should be created on 51 * Audio session 0. In order for a MediaPlayer or AudioTrack to be fed into this effect, 52 * they must be explicitely attached to it and a send level must be specified. Use the effect ID 53 * returned by getId() method to designate this particular effect when attaching it to the 122 * parameter indicates how much the requesting application needs control of effect parameters. 127 * As the PresetReverb is an auxiliary effect it is recommended to instantiate it on 178 * @param effect the PresetReverb on which the interface is registered. 183 void onParameterChange(PresetReverb effect, int status, int param, short value); argument 194 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument
|
H A D | Virtualizer.java | 33 * An audio virtualizer is a general name for an effect to spatialize audio channels. The exact 34 * behavior of this effect is dependent on the number of audio input channels and the types and 36 * stereo headphone output, a stereo widening effect is used when this effect is turned on. 61 * Virtualizer effect strength. Parameter ID for 90 * how much the requesting application needs control of effect parameters. The normal priority 124 * Sets the strength of the virtualizer effect. If the implementation does not support per mille 128 * @param strength strength of the effect. The valid range for strength strength is [0, 1000], 129 * where 0 per mille designates the mildest effect and 1000 per mille designates the strongest. 140 * Gets the current strength of the effect 168 onParameterChange(Virtualizer effect, int status, int param, short value) argument 179 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaArtistNativeHelper.java | 391 /** Invalid effect kind. */ 394 /** Invalid video effect. */ 397 /** Invalid audio effect. */ 409 /** External effect is called but this function is not set. */ 934 /** Invert the default rotation direction of the AlphaMagic effect. */ 1183 /** Defines settings for an effect. */ 1185 /** No audio effect. */ 1188 /** Fade-in effect. */ 1191 /** Fade-out effect. */ 1195 /** Defines the effect setting 3487 getEffectColorType(EffectColor effect) argument [all...] |
H A D | MediaItem.java | 276 * Add the specified effect to this media item. 283 * effect overlaps with the beginning and/or the end transition. 285 * @param effect The effect to apply 287 * @throws IllegalArgumentException if the effect start and/or duration are 288 * invalid or if the effect cannot be applied to this type of media 289 * item or if the effect id is not unique across all the Effects 292 public void addEffect(Effect effect) { argument 294 if (effect == null) { 295 throw new IllegalArgumentException("NULL effect canno [all...] |
H A D | MediaVideoItem.java | 272 public void addEffect(Effect effect) { argument 273 if (effect instanceof EffectKenBurns) { 276 super.addEffect(effect);
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | Effect.java | 18 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 D | EffectContext.java | 18 package android.media.effect; 33 * this EGL context, and making it current before applying any effect. If your EGL context is 112 throw new RuntimeException("Applying effect in wrong GL context!"); 114 throw new RuntimeException("Attempting to apply effect without valid GL context!");
|
H A D | EffectFactory.java | 18 package android.media.effect; 26 * creating a certain effect, the application should confirm that the effect is supported on this 34 "android.media.effect.effects.", // Default effect package 59 "android.media.effect.effects.BrightnessEffect"; 74 "android.media.effect.effects.ContrastEffect"; 88 "android.media.effect.effects.FisheyeEffect"; 93 * background visible before the effect becomes active. The effect wil [all...] |
H A D | EffectUpdateListener.java | 18 package android.media.effect; 21 * Some effects may issue callbacks to inform the host of changes to the effect state. This is the 27 * Called when the effect state is updated. 29 * @param effect The effect that has been updated. 30 * @param info A value that gives more information about the update. See the effect's 33 public void onEffectUpdated(Effect effect, Object info); argument
|
H A D | FilterEffect.java | 18 package android.media.effect; 49 * Get the effect name. 51 * Returns the unique name of the effect, which matches the name used for instantiating this 52 * effect by the EffectFactory. 54 * @return The name of the effect. 79 * Returns the active filter context for this effect.
|