Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DRenderScriptTask.java88 Bitmap outputImage = null; in applyRefocusFilter() local
93 outputImage = in applyRefocusFilter()
98 outputImage = in applyRefocusFilter()
108 return outputImage; in applyRefocusFilter()
DImageBuffersForRenderScript.java20 public Bitmap outputImage; field in ImageBuffersForRenderScript
37 outputImage = Bitmap.createBitmap(inputImage.getWidth(), in ImageBuffersForRenderScript()
39 outAllocation = Allocation.createFromBitmap(renderScript, outputImage); in ImageBuffersForRenderScript()
DMainActivity.java112 Bitmap outputImage; field in MainActivity.RsAsyncTaskRunner
122 outputImage = renderScriptTask.applyRefocusFilter(params[0].mOptions); in doInBackground()
130 ImageCompare.compareBitmap(outputImage, outputImageNew, result); in doInBackground()
133 return outputImage; in doInBackground()
147 mImgView.setImageBitmap(outputImage); in onProgressUpdate()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp856 const Rect& rect, int fenceFd, LockedImage* outputImage) { in lockImageFromBuffer() argument
859 if (buffer == nullptr || outputImage == nullptr) { in lockImageFromBuffer()
888 outputImage->data = reinterpret_cast<uint8_t*>(pData); in lockImageFromBuffer()
889 outputImage->width = buffer->getWidth(); in lockImageFromBuffer()
890 outputImage->height = buffer->getHeight(); in lockImageFromBuffer()
891 outputImage->format = format; in lockImageFromBuffer()
892 outputImage->flexFormat = flexFormat; in lockImageFromBuffer()
893 outputImage->stride = in lockImageFromBuffer()
896 outputImage->dataCb = reinterpret_cast<uint8_t*>(ycbcr.cb); in lockImageFromBuffer()
897 outputImage->dataCr = reinterpret_cast<uint8_t*>(ycbcr.cr); in lockImageFromBuffer()
[all …]
Dandroid_media_Utils.h133 const Rect& rect, int fenceFd, LockedImage* outputImage);
136 int fenceFd, LockedImage* outputImage);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DIfElseFilterTest.java76 FrameImage2D outputImage = getOutputFrame("output").asFrameImage2D(); in testIfElseFilterTrue() local
77 assertEquals(outputImage, video); in testIfElseFilterTrue()
108 FrameImage2D outputImage = getOutputFrame("output").asFrameImage2D(); in testIfElseFilterFalse() local
109 assertEquals(outputImage, image); in testIfElseFilterFalse()
DFaceSquareFilterTest.java78 FrameImage2D outputImage = getOutputFrame("image").asFrameImage2D(); in testFaceSquareFilter() local
157 Bitmap outputBitmap = outputImage.toBitmap(); in testFaceSquareFilter()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBrightnessFilter.java82 FrameImage2D outputImage = outPort.fetchAvailableFrame(dim).asFrameImage2D(); in onProcess() local
84 mShader.process(inputImage, outputImage); in onProcess()
85 outPort.pushFrame(outputImage); in onProcess()
DRotateFilter.java73 FrameImage2D outputImage = outPort.fetchAvailableFrame(inDims).asFrameImage2D(); in onProcess() local
77 mShader.process(inputImage, outputImage); in onProcess()
78 outPort.pushFrame(outputImage); in onProcess()
DCropFilter.java96 FrameImage2D outputImage = outPort.fetchAvailableFrame(outDims).asFrameImage2D(); in onProcess() local
121 mShader.process(sourceFrame, outputImage); in onProcess()
143 outputImage.setBitmap(cropped); in onProcess()
146 outPort.pushFrame(outputImage); in onProcess()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java70 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
71 return buffers.outputImage; in extractResultImage()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java68 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
69 return buffers.outputImage; in extractResultImage()