Searched refs:scaler (Results 1 – 4 of 4) sorted by relevance
134 float scaler = 255 * 60 / 360.0f; in JNI_COLORSPACE_METHOD() local136 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()
454 private static Bitmap transform(Matrix scaler, in transform() argument505 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()
118 constexpr float scaler = 1.0f / 32768.0f; in convertPcm16ToFloat() local120 destination[i] = source[i] * scaler; in convertPcm16ToFloat()
668 final BitmapFactory.Options scaler; in generateCrop() local675 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()