Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 25 of 42) sorted by relevance

12

/hardware/google/pixel/vibrator/cs40l26/tests/
Dutils.h24 float ratio = 100; /* Unit: % */ in toScale() local
26 ratio = amplitude / maximum * 100; in toScale()
28 if (maximum == 0 || ratio > 100) in toScale()
29 ratio = 100; in toScale()
31 return std::round(ratio); in toScale()
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/
DDynamicsProcessing.aidl186 float ratio;
246 float ratio;
/hardware/google/aemu/base/include/aemu/base/testing/
DTestClock.h26 using period = std::ratio<1, 1>; /* TestClock::duration(1) is 1 second */
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/
DDynamicsProcessing.aidl91 float ratio;
106 float ratio;
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/1/android/hardware/audio/effect/
DDynamicsProcessing.aidl91 float ratio;
106 float ratio;
/hardware/qcom/audio/post_proc/
Dreverb.c459 int16_t ratio; in reverb_set_parameter() local
499 ratio = *(int16_t *)value; in reverb_set_parameter()
500 reverb_set_decay_hf_ratio(reverb_ctxt, ratio); in reverb_set_parameter()
509 ratio = *(int16_t *)value; in reverb_set_parameter()
510 reverb_set_diffusion(reverb_ctxt, ratio); in reverb_set_parameter()
514 ratio = *(int16_t *)value; in reverb_set_parameter()
515 reverb_set_density(reverb_ctxt, ratio); in reverb_set_parameter()
/hardware/interfaces/media/omx/1.0/
DIOmxStore.hal41 * ratio: <num>:<num>
89 * key: 'block-aspect-ratio-range', value-type: range<ratio>
95 * key: 'pixel-aspect-ratio-range', value-type: range<ratio>
/hardware/interfaces/camera/metadata/3.5/
Dtypes.hal50 … * <p>The ranges of supported zoom ratio for non-DISABLED ANDROID_CONTROL_EXTENDED_SCENE_MODE.</p>
70 * <p>The desired zoom ratio</p>
/hardware/interfaces/media/omx/1.0/vts/functional/store/
DVtsHalMediaOmxV1_0TargetStoreTest.cpp215 const std::string ratio = "(" + num + ":" + num + ")"; in TEST_P() local
218 const std::string range_ratio = "((" + ratio + "-" + ratio + ")|" + ratio + ")"; in TEST_P()
/hardware/interfaces/audio/aidl/common/
DEffectRangeSpecific.cpp41 arg.releaseTimeMs, arg.ratio, arg.thresholdDb, arg.postGainDb); in isLimiterConfigInRange()
51 arg.attackTimeMs, arg.releaseTimeMs, arg.ratio, arg.thresholdDb, in isMbcBandConfigInRange()
/hardware/interfaces/audio/effect/5.0/
DIEnvironmentalReverbEffect.hal87 * Sets the ratio of high frequencies decay.
92 * Gets the ratio of high frequencies decay.
/hardware/interfaces/audio/effect/6.0/
DIEnvironmentalReverbEffect.hal87 * Sets the ratio of high frequencies decay.
92 * Gets the ratio of high frequencies decay.
/hardware/interfaces/audio/effect/4.0/
DIEnvironmentalReverbEffect.hal87 * Sets the ratio of high frequencies decay.
92 * Gets the ratio of high frequencies decay.
/hardware/interfaces/audio/effect/7.0/
DIEnvironmentalReverbEffect.hal87 * Sets the ratio of high frequencies decay.
92 * Gets the ratio of high frequencies decay.
/hardware/interfaces/audio/effect/2.0/
DIEnvironmentalReverbEffect.hal87 * Sets the ratio of high frequencies decay.
92 * Gets the ratio of high frequencies decay.
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.cpp903 float ratio = 100; /* Unit: % */ in amplitudeToScale() local
906 ratio = amplitude / maximum * 100; in amplitudeToScale()
908 if (maximum == 0 || ratio > 100) in amplitudeToScale()
909 ratio = 100; in amplitudeToScale()
919 float pre_scaled_ratio = ratio; in amplitudeToScale()
938 ratio *= context_scale; in amplitudeToScale()
940 std::round(ratio)); in amplitudeToScale()
950 ratio = mLastPlayedScale * pre_scaled_ratio; in amplitudeToScale()
952 mLastPlayedScale, ratio, (now - last_played)); in amplitudeToScale()
960 return std::round(ratio); in amplitudeToScale()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DBrightnessController.cpp613 float ratio = sdr / peak; in getSdrDimRatioForInstantHbm() local
614 if (ratio < kGhbmMinDimRatio) { in getSdrDimRatioForInstantHbm()
615 ALOGW("%s sdr dim ratio %f too small", __func__, ratio); in getSdrDimRatioForInstantHbm()
616 ratio = kGhbmMinDimRatio; in getSdrDimRatioForInstantHbm()
619 return ratio; in getSdrDimRatioForInstantHbm()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp1211 auto ratio = m->getMaxUpscale(dst_scale_img, dst_img); in getCandidateScalingM2mMPPOutImages() local
1212 if (ratio > 1) { in getCandidateScalingM2mMPPOutImages()
1214 otfMppRatio = ratio; in getCandidateScalingM2mMPPOutImages()
1223 float ratio = float(m->getMaxUpscale(src_img, dst_scale_img)); in getCandidateScalingM2mMPPOutImages() local
1224 if (ratio > reqRatio) { in getCandidateScalingM2mMPPOutImages()
1226 m2mMppRatio = ratio; in getCandidateScalingM2mMPPOutImages()
1234 auto ratio = m->getMaxDownscale(*display, src_img, dst_scale_img); in getCandidateScalingM2mMPPOutImages() local
1235 if (ratio > 1) { in getCandidateScalingM2mMPPOutImages()
1237 m2mMppRatio = ratio; in getCandidateScalingM2mMPPOutImages()
1253 auto ratio = m->getDownscaleRestriction(dst_scale_img, dst_img); in getCandidateScalingM2mMPPOutImages() local
[all …]
/hardware/interfaces/automotive/can/1.0/default/libc++fs/src/filesystem/
Dfilesystem_common.h45 using std::ratio;
249 typedef duration<long long, ratio<3600 * 24 * 365> > Years; in check_range()
/hardware/interfaces/audio/aidl/default/dynamicProcessing/
DDynamicsProcessingSw.cpp514 band.releaseTimeMs >= 0 && band.ratio >= 0 && band.thresholdDb <= 0 && in validateMbcBandConfig()
521 limiter.releaseTimeMs >= 0 && limiter.ratio >= 0 && limiter.thresholdDb <= 0; in validateLimiterConfig()
/hardware/interfaces/automotive/sv/1.0/
Dtypes.hal120 * to maintain the aspect ratio of the output frame. Must be in range (20,
249 * Height is computed keeping the aspect ratio of the mapping info,
/hardware/interfaces/soundtrigger/2.0/
DISoundTriggerHw.hal59 * silence/sound/speech ratio */
/hardware/interfaces/audio/aidl/vts/
DVtsHalDynamicsProcessingTest.cpp608 cfg.ratio = additional[LIMITER_RATIO]; in fillLimiterConfig()
930 .ratio = additional[MBC_ADD_RATIO], in fillMbcBandConfig()
/hardware/interfaces/gnss/1.0/
DIGnssMeasurementCallback.hal640 * Signal-to-noise ratio at correlator output in dB.
642 * This is the power ratio of the "correlation peak height above the
/hardware/interfaces/tv/tuner/1.1/
Dtypes.hal665 * Extended bit error ratio status.

12