Searched refs:outputImage (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 418 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 …]
|
D | android_media_Utils.h | 42 const Rect& rect, int fenceFd, LockedImage* outputImage); 45 int fenceFd, LockedImage* outputImage);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | ImageBuffersForRenderScript.java | 20 public Bitmap outputImage; field in ImageBuffersForRenderScript 37 outputImage = Bitmap.createBitmap(inputImage.getWidth(), in ImageBuffersForRenderScript() 39 outAllocation = Allocation.createFromBitmap(renderScript, outputImage); in ImageBuffersForRenderScript()
|
D | MainActivity.java | 199 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()
|
D | RenderScriptTask.java | 104 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/ |
D | IfElseFilterTest.java | 76 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()
|
D | FaceSquareFilterTest.java | 78 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/ |
D | BrightnessFilter.java | 82 FrameImage2D outputImage = outPort.fetchAvailableFrame(dim).asFrameImage2D(); in onProcess() local 84 mShader.process(inputImage, outputImage); in onProcess() 85 outPort.pushFrame(outputImage); in onProcess()
|
D | RotateFilter.java | 73 FrameImage2D outputImage = outPort.fetchAvailableFrame(inDims).asFrameImage2D(); in onProcess() local 77 mShader.process(inputImage, outputImage); in onProcess() 78 outPort.pushFrame(outputImage); in onProcess()
|
D | CropFilter.java | 96 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/ |
D | RefocusFilterF32.java | 69 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/ |
D | RefocusFilterd1new.java | 71 buffers.outAllocation.copyTo(buffers.outputImage); in extractResultImage() 75 return buffers.outputImage; in extractResultImage()
|