Home
last modified time | relevance | path

Searched refs:FrameImage2D (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DTransformUtils.java20 import androidx.media.filterfw.FrameImage2D;
41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { in makeMipMappedFrame()
55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { in makeTempFrame()
66 public static void generateMipMaps(FrameImage2D frame) { in generateMipMaps()
72 public static void setTextureParameter(FrameImage2D frame, int param, int value) { in setTextureParameter()
DFrameImage2D.java26 public class FrameImage2D extends FrameBuffer2D { class
95 public void copyToFrame(FrameImage2D target, RectF sourceRect, RectF targetRect) { in copyToFrame()
103 static FrameImage2D create(BackingStore backingStore) { in create()
105 return new FrameImage2D(backingStore); in create()
108 FrameImage2D(BackingStore backingStore) { in FrameImage2D() method in FrameImage2D
145 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in gpuImageCopy()
158 FrameImage2D srcImage, FrameImage2D dstImage, RectF srcRect, RectF dstRect) { in cpuImageCopy()
DSobelFilter.java21 import androidx.media.filterfw.FrameImage2D;
121 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
124 FrameImage2D magImage = (magnitudePort != null) ? in onProcess()
126 FrameImage2D dirImage = (directionPort != null) ? in onProcess()
129 FrameImage2D gxFrame = Frame.create(mImageType, inputDims).asFrameImage2D(); in onProcess()
130 FrameImage2D gyFrame = Frame.create(mImageType, inputDims).asFrameImage2D(); in onProcess()
135 FrameImage2D[] gradientFrames = new FrameImage2D[] { gxFrame, gyFrame }; in onProcess()
DCropFilter.java25 import androidx.media.filterfw.FrameImage2D;
41 private FrameImage2D mPow2Frame = null;
90 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
96 FrameImage2D outputImage = outPort.fetchAvailableFrame(outDims).asFrameImage2D(); in onProcess()
99 FrameImage2D sourceFrame; in onProcess()
DBrightnessFilter.java20 import androidx.media.filterfw.FrameImage2D;
80 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
82 FrameImage2D outputImage = outPort.fetchAvailableFrame(dim).asFrameImage2D(); in onProcess()
DRotateFilter.java20 import androidx.media.filterfw.FrameImage2D;
70 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
73 FrameImage2D outputImage = outPort.fetchAvailableFrame(inDims).asFrameImage2D(); in onProcess()
DSurfaceHolderTarget.java30 import androidx.media.filterfw.FrameImage2D;
126 FrameImage2D image = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
143 private void renderGL(FrameImage2D image) { in renderGL()
163 private void renderCanvas(FrameImage2D image) { in renderCanvas()
DToGrayValuesFilter.java22 import androidx.media.filterfw.FrameImage2D;
84 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
97 FrameImage2D targetFrame = Frame.create(mImageInType, targetDims).asFrameImage2D(); in onProcess()
DFrame.java122 public final FrameImage2D asFrameImage2D() { in asFrameImage2D()
123 return FrameImage2D.create(mBackingStore); in asFrameImage2D()
DImageShader.java250 public void process(FrameImage2D input, FrameImage2D output) { in process()
261 public void processMulti(FrameImage2D[] inputs, FrameImage2D output) { in processMulti()
271 for (FrameImage2D input : inputs) { in processMulti()
291 public void processNoInput(FrameImage2D output) { in processNoInput()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DIfElseFilterTest.java26 import androidx.media.filterfw.FrameImage2D;
51 FrameImage2D image = in testIfElseFilterTrue()
54 FrameImage2D video = in testIfElseFilterTrue()
76 FrameImage2D outputImage = getOutputFrame("output").asFrameImage2D(); in testIfElseFilterTrue()
82 FrameImage2D image = in testIfElseFilterFalse()
85 FrameImage2D video = in testIfElseFilterFalse()
108 FrameImage2D outputImage = getOutputFrame("output").asFrameImage2D(); in testIfElseFilterFalse()
DAvgBrightnessFilterTest.java26 import androidx.media.filterfw.FrameImage2D;
43 FrameImage2D image = in testBrightnessFilter()
DContrastRatioFilterTest.java20 import androidx.media.filterfw.FrameImage2D;
51 FrameImage2D image = in testContrastFilter()
DExposureFilterTest.java25 import androidx.media.filterfw.FrameImage2D;
48 FrameImage2D image = in testExposureFilter()
DFaceSquareFilterTest.java27 import androidx.media.filterfw.FrameImage2D;
55 FrameImage2D image = in testFaceSquareFilter()
78 FrameImage2D outputImage = getOutputFrame("image").asFrameImage2D(); in testFaceSquareFilter()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DVideoTrackDecoder.java22 import androidx.media.filterfw.FrameImage2D;
43 public void grabFrame(FrameImage2D outputVideoFrame, int rotation) { in grabFrame()
106 protected abstract void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation); in copyFrameDataTo()
DMediaDecoder.java27 import androidx.media.filterfw.FrameImage2D;
350 public void grabVideoFrame(FrameImage2D outputVideoFrame) { in grabVideoFrame()
362 public void grabVideoFrame(FrameImage2D outputVideoFrame, int videoRotation) { in grabVideoFrame()
DGpuVideoTrackDecoder.java27 import androidx.media.filterfw.FrameImage2D;
146 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { in copyFrameDataTo()
DCpuVideoTrackDecoder.java29 import androidx.media.filterfw.FrameImage2D;
102 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { in copyFrameDataTo()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DIfElseFilter.java22 import androidx.media.filterfw.FrameImage2D;
55 FrameImage2D trueFrame = getConnectedInputPort("trueResult").pullFrame().asFrameImage2D(); in onProcess()
56 FrameImage2D falseFrame = getConnectedInputPort("falseResult").pullFrame().asFrameImage2D(); in onProcess()
DContrastRatioFilter.java22 import androidx.media.filterfw.FrameImage2D;
52 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
DAvgBrightnessFilter.java22 import androidx.media.filterfw.FrameImage2D;
52 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
DExposureFilter.java22 import androidx.media.filterfw.FrameImage2D;
57 FrameImage2D inputImage = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
DFaceSquareFilter.java26 import androidx.media.filterfw.FrameImage2D;
65 FrameImage2D imageFrame = getConnectedInputPort("image").pullFrame().asFrameImage2D(); in onProcess()
DCamera2Source.java44 import androidx.media.filterfw.FrameImage2D;
232 FrameImage2D outputFrame = Frame.create(mOutputType, dims).asFrameImage2D(); in onProcess()

12