Searched refs:strength (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpost_filter.cpp189 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; local
220 strength = STRENGTH_tab[QP_store[mbnum]];
233 if (d1 < -(strength << 1))
237 else if (d1 < -strength)
239 d1 = -d1 - (strength << 1);
246 if (d1 > (strength << 1))
250 else if (d1 > strength)
252 d1 = (strength << 1) - d1;
311 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum]] : QP_store[mbnum])];
315 strength
[all...]
/frameworks/wilhelm/src/itf/
H A DIBassBoost.c89 static SLresult IBassBoost_SetStrength(SLBassBoostItf self, SLpermille strength) argument
93 if ((BASSBOOST_STRENGTH_MIN > strength) || (BASSBOOST_STRENGTH_MAX < strength)) {
99 thiz->mStrength = strength;
106 android_bb_setParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength);
126 SLpermille strength = thiz->mStrength;; local
134 android_bb_getParam(thiz->mBassBoostEffect, BASSBOOST_PARAM_STRENGTH, &strength);
139 *pStrength = strength;
H A DIVirtualizer.c91 static SLresult IVirtualizer_SetStrength(SLVirtualizerItf self, SLpermille strength) argument
95 if ((VIRTUALIZER_STRENGTH_MIN > strength) || (VIRTUALIZER_STRENGTH_MAX < strength)) {
101 thiz->mStrength = strength;
108 VIRTUALIZER_PARAM_STRENGTH, &strength);
128 SLpermille strength = thiz->mStrength;; local
136 VIRTUALIZER_PARAM_STRENGTH, &strength);
141 *pStrength = strength;
/frameworks/base/media/java/android/media/audiofx/
H A DBassBoost.java55 * Is strength parameter supported by bass boost engine. Parameter ID for getParameter().
59 * Bass boost effect strength. Parameter ID for
65 * Indicates if strength parameter is supported by the bass boost engine
113 * Indicates whether setting strength is supported. If this method returns false, only one
114 * strength is supported and the setStrength() method always rounds to that value.
115 * @return true is strength parameter is supported, false otherwise
122 * Sets the strength of the bass boost effect. If the implementation does not support per mille
123 * accuracy for setting the strength, it is allowed to round the given strength to the nearest
126 * @param strength strengt
132 setStrength(short strength) argument
222 public short strength; field in class:BassBoost.Settings
[all...]
H A DVirtualizer.java57 * Is strength parameter supported by virtualizer engine. Parameter ID for getParameter().
61 * Virtualizer effect strength. Parameter ID for
67 * Indicates if strength parameter is supported by the virtualizer engine
115 * Indicates whether setting strength is supported. If this method returns false, only one
116 * strength is supported and the setStrength() method always rounds to that value.
117 * @return true is strength parameter is supported, false otherwise
124 * Sets the strength of the virtualizer effect. If the implementation does not support per mille
125 * accuracy for setting the strength, it is allowed to round the given strength to the nearest
128 * @param strength strengt
134 setStrength(short strength) argument
224 public short strength; field in class:Virtualizer.Settings
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaBassBoostTest.java119 //Test case 1.0: test strength
128 short strength = mBassBoost.getRoundedStrength();
129 // allow 10% difference between set strength and rounded strength
130 assertTrue(msg +": got incorrect strength",
131 ((float)strength > (float)TEST_STRENGTH * 0.9f) &&
132 ((float)strength < (float)TEST_STRENGTH * 1.1f));
134 short strength = mBassBoost.getRoundedStrength();
135 assertTrue(msg +": got incorrect strength", strength >
[all...]
H A DMediaVirtualizerTest.java120 //Test case 1.0: test strength
129 short strength = mVirtualizer.getRoundedStrength();
130 // allow 10% difference between set strength and rounded strength
131 assertTrue(msg +": got incorrect strength",
132 ((float)strength > (float)TEST_STRENGTH * 0.9f) &&
133 ((float)strength < (float)TEST_STRENGTH * 1.1f));
135 short strength = mVirtualizer.getRoundedStrength();
136 assertTrue(msg +": got incorrect strength", strength >
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp398 bool egl_display_t::HibernationMachine::incWakeCount(WakeRefStrength strength) { argument
404 if (strength == STRONG)
425 void egl_display_t::HibernationMachine::decWakeCount(WakeRefStrength strength) { argument
430 if (strength == STRONG)
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp198 fprintf(stdout, "BassBoost strength is not supported on this platform. Too bad!\n");
200 fprintf(stdout, "BassBoost strength is supported, setting strength to %d\n", boostStrength);
205 SLpermille strength = 0; local
206 result = (*bbItf)->GetRoundedStrength(bbItf, &strength);
208 fprintf(stdout, "Rounded strength of boost = %d\n", strength);
257 fprintf(stdout, "and applies a bass boost effect of the specified strength,\n");
258 fprintf(stdout, "where strength is a integer value between 0 and 1000.\n");
287 // intentionally not checking that argv[2], the bassboost strength, i
[all...]
H A DslesTestVirtualizerPath.cpp199 fprintf(stdout, "Virtualizer strength is not supported on this platform. Too bad!\n");
201 fprintf(stdout, "Virtualizer strength is supported, setting strength to %d\n",
207 SLpermille strength = 0; local
208 result = (*virtItf)->GetRoundedStrength(virtItf, &strength);
210 fprintf(stdout, "Rounded strength of virt = %d\n", strength);
259 fprintf(stdout, "and applies a virtualization effect of the specified strength,\n");
260 fprintf(stdout, "where strength is an integer value between 0 and 1000.\n");
289 // intentionally not checking that argv[2], the virtualizer strength, i
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.cpp263 // initialize strength
264 int16_t strength; local
266 BASSBOOST_PARAM_STRENGTH, &strength)) {
267 ibb->mStrength = (SLpermille) strength;
331 // initialize strength
332 int16_t strength; local
334 VIRTUALIZER_PARAM_STRENGTH, &strength)) {
335 ivi->mStrength = (SLpermille) strength;
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp285 /* Saved strength is used to return the exact strength that was used in the set to the get
286 * because we map the original strength range of 0:1000 to 1:15, and this will avoid
736 // strength strength to be applied
1057 // get the effect strength currently being used, what is actually returned is the strengh that was
1058 // previously used in the set, this is because the app uses a strength in the range 0-1000 while
1081 /* Check that the strength returned matches the strength that was set earlier */
1084 ALOGV("\tLVM_ERROR : BassGetStrength module strength doe
1106 BassSetStrength(EffectContext *pContext, uint32_t strength) argument
1176 VirtualizerSetStrength(EffectContext *pContext, uint32_t strength) argument
1869 int16_t strength; local
1987 int16_t strength; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java312 float strength = 1f / (1f + (float) Math.pow(Math.E, -1 * ((8f * stretch) - 5f)));
313 if (DEBUG_GLOW) Slog.d(TAG, "stretch: " + stretch + " strength: " + strength);
314 return (GLOW_BASE + strength * (1f - GLOW_BASE));
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h2410 SLpermille strength
2499 SLpermille strength

Completed in 234 milliseconds