Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_Utils.cpp418 const Rect& rect, int fenceFd, LockedImage* outputImage) { in lockImageFromBuffer() argument
421 if (buffer == nullptr || outputImage == nullptr) { in lockImageFromBuffer()
455 outputImage->data = reinterpret_cast<uint8_t*>(pData); in lockImageFromBuffer()
456 outputImage->width = buffer->getWidth(); in lockImageFromBuffer()
457 outputImage->height = buffer->getHeight(); in lockImageFromBuffer()
458 outputImage->format = format; in lockImageFromBuffer()
459 outputImage->flexFormat = flexFormat; in lockImageFromBuffer()
460 outputImage->stride = in lockImageFromBuffer()
463 outputImage->dataCb = reinterpret_cast<uint8_t*>(ycbcr.cb); in lockImageFromBuffer()
464 outputImage->dataCr = reinterpret_cast<uint8_t*>(ycbcr.cr); in lockImageFromBuffer()
[all …]
Dandroid_media_Utils.h42 const Rect& rect, int fenceFd, LockedImage* outputImage);
45 int fenceFd, LockedImage* outputImage);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
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.java199 Bitmap outputImage; field in MainActivity.RsAsyncTaskRunner
207 outputImageOld = outputImage = renderScriptTask.applyRefocusFilter(params[0].mOptions); in doInBackground()
212 outputImageNew = outputImage = renderScriptTaskNew.applyRefocusFilter(params[0].mOptions); in doInBackground()
216 double psnr = ImageCompare.psnr(outputImageOld, outputImage); in doInBackground()
246 progress[0].setImageBitmap(outputImage); in onProgressUpdate()
DRenderScriptTask.java104 Bitmap outputImage = filter.compute(rgbdImage, blurStack); in applyRefocusFilter() local
110 return outputImage; in applyRefocusFilter()
/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/tests/java_api/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java69 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
73 return buffers.outputImage; in extractResultImage()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java71 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage()
75 return buffers.outputImage; in extractResultImage()