Home
last modified time | relevance | path

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

/frameworks/rs/toolkit/java/
DToolkit.kt236 val outputBitmap = createCompatibleBitmap(inputBitmap) in blur() constant
237 nativeBlurBitmap(nativeHandle, inputBitmap, outputBitmap, radius, restriction) in blur()
238 return outputBitmap in blur()
414 val outputBitmap = createCompatibleBitmap(inputBitmap) in colorMatrix() constant
418 outputBitmap, in colorMatrix()
423 return outputBitmap in colorMatrix()
532 val outputBitmap = createCompatibleBitmap(inputBitmap) in convolve() constant
533 nativeConvolveBitmap(nativeHandle, inputBitmap, outputBitmap, coefficients, restriction) in convolve()
534 return outputBitmap in convolve()
830 val outputBitmap = createCompatibleBitmap(inputBitmap) in lut() constant
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java157 Bitmap outputBitmap = outputImage.toBitmap(); in testFaceSquareFilter() local
158 int[] outputPixels = new int[outputBitmap.getByteCount()]; in testFaceSquareFilter()
159 outputBitmap.getPixels(outputPixels, 0, outputBitmap.getWidth(), 0, 0, in testFaceSquareFilter()
160 outputBitmap.getWidth(), outputBitmap.getHeight()); in testFaceSquareFilter()
162 for ( int i = 0; i < outputBitmap.getByteCount(); i++) { in testFaceSquareFilter()
167 if (equalCount + (0.05f*outputBitmap.getByteCount()) < outputBitmap.getByteCount()) { in testFaceSquareFilter()
169 assertEquals(equalCount, outputBitmap.getByteCount()); in testFaceSquareFilter()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java712 private static void setDensityFromOptions(Bitmap outputBitmap, Options opts) { in setDensityFromOptions() argument
713 if (outputBitmap == null || opts == null) return; in setDensityFromOptions()
717 outputBitmap.setDensity(density); in setDensityFromOptions()
723 byte[] np = outputBitmap.getNinePatchChunk(); in setDensityFromOptions()
726 outputBitmap.setDensity(targetDensity); in setDensityFromOptions()
730 outputBitmap.setDensity(Bitmap.getDefaultDensity()); in setDensityFromOptions()
/frameworks/base/libs/hwui/jni/
DBitmapFactory.cpp567 SkBitmap outputBitmap; in doDecode() local
581 outputBitmap.setInfo( in doDecode()
583 if (!outputBitmap.tryAllocPixels(outputAllocator)) { in doDecode()
596 SkCanvas canvas(outputBitmap, SkCanvas::ColorBehavior::kLegacy); in doDecode()
602 outputBitmap.swap(decodingBitmap); in doDecode()
610 if (outputBitmap.pixelRef() == NULL) { in doDecode()
629 outputBitmap.setImmutable(); in doDecode()
637 bitmap::reinitBitmap(env, javaBitmap, outputBitmap.info(), isPremultiplied); in doDecode()
638 outputBitmap.notifyPixelsChanged(); in doDecode()
648 sk_sp<Bitmap> hardwareBitmap = Bitmap::allocateHardwareBitmap(outputBitmap); in doDecode()