Searched refs:scaler (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.cpp68 static float clipAndClampFloatToPcm16(float sample, float scaler) { argument
73 float fval = sample * scaler;
81 const float scaler = amplitude; local
84 *destination++ = clipAndClampFloatToPcm16(sample, scaler);
94 float scaler = amplitude1; local
100 *destination++ = clipAndClampFloatToPcm16(sample, scaler);
102 scaler += delta;
112 const float scaler = amplitude / SHORT_SCALE; local
114 destination[i] = source[i] * scaler;
125 float scaler local
143 float scaler = amplitude1; local
165 float scaler = amplitude1; local
183 const float scaler = amplitude; local
200 const float scaler = amplitude1 + (frameIndex * delta); local
212 const float scaler = amplitude / SHORT_SCALE; local
229 float scaler = scaler1 + (frameIndex * delta); local
249 const float scaler = amplitude1 + (frameIndex * delta); local
265 const float scaler = amplitude1 + (frameIndex * delta); local
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp134 float scaler = 255 * 60 / 360.0f; local
136 h = (g > b) ? static_cast<int>(scaler * (g - b) / delta) :
137 static_cast<int>(scaler * ((g - b) / delta + 6));
139 h = static_cast<int>(scaler * ((b - r) / delta + 2));
141 h = static_cast<int>(scaler * ((r - g) / delta + 4));
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java361 private static Bitmap transform(Matrix scaler, argument
412 scaler.setScale(scale, scale);
414 scaler = null;
419 scaler.setScale(scale, scale);
421 scaler = null;
426 if (scaler != null) {
429 source.getWidth(), source.getHeight(), scaler, true);
/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp80 constexpr float scaler = 1.0f / 32768.0f; local
82 destination[i] = source[i] * scaler;
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java702 final BitmapFactory.Options scaler;
709 scaler = new BitmapFactory.Options();
710 scaler.inSampleSize = scale;
715 scaler = null;
717 Bitmap cropped = decoder.decodeRegion(cropHint, scaler);

Completed in 172 milliseconds