Home
last modified time | relevance | path

Searched refs:outputImage (Results 1 – 10 of 10) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DImageWriterTest.java244 Image outputImage = writer.dequeueInputImage() in testWriterWithImageFormatOverride()
254 assertEquals(BUFFER_WIDTH, outputImage.getWidth()); in testWriterWithImageFormatOverride()
255 assertEquals(BUFFER_HEIGHT, outputImage.getHeight()); in testWriterWithImageFormatOverride()
256 assertEquals(imageWriterFormat, outputImage.getFormat()); in testWriterWithImageFormatOverride()
257 assertEquals(dataSpace, outputImage.getDataSpace()); in testWriterWithImageFormatOverride()
273 Image outputImage = writer.dequeueInputImage() in testWriterBuilderDefault()
280 assertEquals(BUFFER_WIDTH, outputImage.getWidth()); in testWriterBuilderDefault()
281 assertEquals(BUFFER_HEIGHT, outputImage.getHeight()); in testWriterBuilderDefault()
282 assertEquals(HardwareBuffer.RGBA_8888, outputImage.getFormat()); in testWriterBuilderDefault()
381 Image outputImage = writer.dequeueInputImage() in testGetFence()
[all …]
DImageReaderTest.java780 Image outputImage = writer.dequeueInputImage() in testImageReaderBuilderSetHardwareBufferFormatAndDataSpace() argument
786 assertEquals(20, outputImage.getWidth()); in testImageReaderBuilderSetHardwareBufferFormatAndDataSpace()
787 assertEquals(45, outputImage.getHeight()); in testImageReaderBuilderSetHardwareBufferFormatAndDataSpace()
788 assertEquals(HardwareBuffer.RGBA_8888, outputImage.getFormat()); in testImageReaderBuilderSetHardwareBufferFormatAndDataSpace()
877 Image outputImage = writer.dequeueInputImage() in testImageReaderBuilderImageFormatOverride() argument
884 assertEquals(20, outputImage.getWidth()); in testImageReaderBuilderImageFormatOverride()
885 assertEquals(45, outputImage.getHeight()); in testImageReaderBuilderImageFormatOverride()
886 assertEquals(HardwareBuffer.RGB_888, outputImage.getFormat()); in testImageReaderBuilderImageFormatOverride()
899 Image outputImage = writer.dequeueInputImage() in testImageReaderBuilderSetImageFormat() argument
911 assertEquals(20, outputImage.getWidth()); in testImageReaderBuilderSetImageFormat()
[all …]
DMultiResolutionReprocessCaptureTest.java720 Image outputImage = outputImageAndInfo.image; in doMultiResReprocessCapture() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRenderScriptTask.java101 Bitmap outputImage = null; in applyRefocusFilter() local
106 outputImage = in applyRefocusFilter()
112 outputImage = in applyRefocusFilter()
123 return outputImage; in applyRefocusFilter()
DImageBuffersForRenderScript.java34 public Bitmap outputImage; field in ImageBuffersForRenderScript
51 outputImage = Bitmap.createBitmap(inputImage.getWidth(), in ImageBuffersForRenderScript()
53 outAllocation = Allocation.createFromBitmap(renderScript, outputImage); in ImageBuffersForRenderScript()
DRefocusTest.java70 Bitmap outputImage = renderScriptTask.applyRefocusFilter(rsTaskParam.mOptions); in refocus() local
75 double psnr = ImageCompare.psnr(outputImage, expectedImage); in refocus()
78 MediaStoreSaver.savePNG(outputImage, "refocus", "refocus_output" , ctx); in refocus()
/cts/tests/tests/hardware/src/android/hardware/cts/
DDataSpaceTest.java245 Image outputImage = null; in getDataSpaceFromImageReaderNextImage() local
248 outputImage = mWriter.dequeueInputImage(); in getDataSpaceFromImageReaderNextImage()
249 outputImage.setDataSpace(dataSpace); in getDataSpaceFromImageReaderNextImage()
250 assertEquals(dataSpace, outputImage.getDataSpace()); in getDataSpaceFromImageReaderNextImage()
252 mWriter.queueInputImage(outputImage); in getDataSpaceFromImageReaderNextImage()
257 if (outputImage != null) { in getDataSpaceFromImageReaderNextImage()
258 outputImage.close(); in getDataSpaceFromImageReaderNextImage()
259 outputImage = null; in getDataSpaceFromImageReaderNextImage()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DRefocusFilterF32.java89 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
90 return buffers.outputImage; in extractResultImage()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DRefocusFilterd1new.java89 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
90 return buffers.outputImage; in extractResultImage()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeDecodeTest.java723 … Image outputImage = (checkIndex % 2 == 0) ? null : decoder.getOutputImage(decoderStatus); in doEncodeDecodeVideoFromBuffer() local
735 … if (!checkFrame(checkIndex++, decoderOutputFormat, outputFrame, outputImage)) { in doEncodeDecodeVideoFromBuffer()
739 if (outputImage != null) { in doEncodeDecodeVideoFromBuffer()
740 outputImage.close(); in doEncodeDecodeVideoFromBuffer()