/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | post_filter.cpp | 189 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 D | IBassBoost.c | 89 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 D | IVirtualizer.c | 91 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 D | BassBoost.java | 55 * 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 D | Virtualizer.java | 57 * 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 D | MediaBassBoostTest.java | 119 //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 D | MediaVirtualizerTest.java | 120 //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/base/telephony/java/android/telephony/ |
H A D | CellInfo.java | 56 * @param strength is observed signal strength 60 boolean registered, SignalStrength strength, 73 mStrength = new SignalStrength(strength); 142 * @return observed signal strength 59 CellInfo(int timeStampType, long timeStamp, long timingAdv, boolean registered, SignalStrength strength, CellIdentity cellIdentity) argument
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 385 bool egl_display_t::HibernationMachine::incWakeCount(WakeRefStrength strength) { argument 391 if (strength == STRONG) 412 void egl_display_t::HibernationMachine::decWakeCount(WakeRefStrength strength) { argument 417 if (strength == STRONG)
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 198 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 D | slesTestVirtualizerPath.cpp | 199 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 D | android_Effect.cpp | 263 // 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 D | EffectBundle.cpp | 285 /* 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 732 // strength strength to be applied 1051 // get the effect strength currently being used, what is actually returned is the strengh that was 1052 // previously used in the set, this is because the app uses a strength in the range 0-1000 while 1075 /* Check that the strength returned matches the strength that was set earlier */ 1078 ALOGV("\tLVM_ERROR : BassGetStrength module strength doe 1100 BassSetStrength(EffectContext *pContext, uint32_t strength) argument 1170 VirtualizerSetStrength(EffectContext *pContext, uint32_t strength) argument 1855 int16_t strength; local 1973 int16_t strength; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 317 float strength = 1f / (1f + (float) Math.pow(Math.E, -1 * ((8f * stretch) - 5f))); 318 if (DEBUG_GLOW) Slog.d(TAG, "stretch: " + stretch + " strength: " + strength); 319 return (GLOW_BASE + strength * (1f - GLOW_BASE));
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 2410 SLpermille strength 2499 SLpermille strength
|