Home
last modified time | relevance | path

Searched refs:scaler (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp134 float scaler = 255 * 60 / 360.0f; in JNI_COLORSPACE_METHOD() local
136 h = (g > b) ? static_cast<int>(scaler * (g - b) / delta) : in JNI_COLORSPACE_METHOD()
137 static_cast<int>(scaler * ((g - b) / delta + 6)); in JNI_COLORSPACE_METHOD()
139 h = static_cast<int>(scaler * ((b - r) / delta + 2)); in JNI_COLORSPACE_METHOD()
141 h = static_cast<int>(scaler * ((r - g) / delta + 4)); in JNI_COLORSPACE_METHOD()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java454 private static Bitmap transform(Matrix scaler, in transform() argument
505 scaler.setScale(scale, scale); in transform()
507 scaler = null; in transform()
512 scaler.setScale(scale, scale); in transform()
514 scaler = null; in transform()
519 if (scaler != null) { in transform()
522 source.getWidth(), source.getHeight(), scaler, true); in transform()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp118 constexpr float scaler = 1.0f / 32768.0f; in convertPcm16ToFloat() local
120 destination[i] = source[i] * scaler; in convertPcm16ToFloat()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java668 final BitmapFactory.Options scaler; in generateCrop() local
675 scaler = new BitmapFactory.Options(); in generateCrop()
676 scaler.inSampleSize = scale; in generateCrop()
681 scaler = null; in generateCrop()
683 Bitmap cropped = decoder.decodeRegion(cropHint, scaler); in generateCrop()