Home
last modified time | relevance | path

Searched refs:outPort (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DToStringFilter.java44 OutputPort outPort = getConnectedOutputPort("string"); in onProcess() local
45 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
47 outPort.pushFrame(stringFrame); in onProcess()
DToGrayValuesFilter.java83 OutputPort outPort = getConnectedOutputPort("image"); in onProcess() local
93 outputFrame = outPort.fetchAvailableFrame(outDim).asFrameBuffer2D(); in onProcess()
106 outputFrame = outPort.fetchAvailableFrame(dim).asFrameBuffer2D(); in onProcess()
116 outPort.pushFrame(outputFrame); in onProcess()
DNormFilter.java58 OutputPort outPort = getConnectedOutputPort("norm"); in onProcess() local
59 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
61 outPort.pushFrame(outFrame); in onProcess()
DFilter.java679 final void openOutputPort(OutputPort outPort) { in openOutputPort() argument
680 if (outPort.getQueue() == null) { in openOutputPort()
683 InputPort inPort = outPort.getTarget(); in openOutputPort()
684 outPort.onOpen(builder); in openOutputPort()
687 String queueName = mName + "[" + outPort.getName() + "] -> " + targetFilter.mName in openOutputPort()
690 outPort.setQueue(queue); in openOutputPort()
693 throw new RuntimeException("Could not open output port " + outPort + "!", e); in openOutputPort()
DBrightnessFilter.java79 OutputPort outPort = getConnectedOutputPort("image"); in onProcess() local
82 FrameImage2D outputImage = outPort.fetchAvailableFrame(dim).asFrameImage2D(); in onProcess()
85 outPort.pushFrame(outputImage); in onProcess()
DMotionSensor.java83 OutputPort outPort = getConnectedOutputPort("values"); in onProcess() local
84 FrameValues outFrame = outPort.fetchAvailableFrame(null).asFrameValues(); in onProcess()
89 outPort.pushFrame(outFrame); in onProcess()
DColorfulnessFilter.java87 OutputPort outPort = getConnectedOutputPort("score"); in onProcess() local
88 FrameValue frameValue = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
90 outPort.pushFrame(frameValue); in onProcess()
DRotateFilter.java69 OutputPort outPort = getConnectedOutputPort("image"); in onProcess() local
73 FrameImage2D outputImage = outPort.fetchAvailableFrame(inDims).asFrameImage2D(); in onProcess()
78 outPort.pushFrame(outputImage); in onProcess()
DNewChromaHistogramFilter.java89 OutputPort outPort = getConnectedOutputPort("histogram"); in onProcess() local
93 FrameBuffer2D histogramFrame = outPort.fetchAvailableFrame(outDims).asFrameBuffer2D(); in onProcess()
107 outPort.pushFrame(histogramFrame); in onProcess()
DStatsFilter.java103 OutputPort outPort = getConnectedOutputPort("mean"); in onProcess() local
104 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
106 outPort.pushFrame(outFrame); in onProcess()
DCropFilter.java87 OutputPort outPort = getConnectedOutputPort("image"); in onProcess() local
96 FrameImage2D outputImage = outPort.fetchAvailableFrame(outDims).asFrameImage2D(); in onProcess()
146 outPort.pushFrame(outputImage); in onProcess()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DWaveTriggerFilter.java78 OutputPort outPort = getConnectedOutputPort("value"); in onProcess() local
79 FrameValue frame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
81 outPort.pushFrame(frame); in onProcess()
DFloatArrayToSizeFilter.java62 OutputPort outPort = getConnectedOutputPort("size"); in onProcess() local
63 FrameValue sizeFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
65 outPort.pushFrame(sizeFrame); in onProcess()
DFloatArrayToStrFilter.java63 OutputPort outPort = getConnectedOutputPort("string"); in onProcess() local
64 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
66 outPort.pushFrame(stringFrame); in onProcess()
DAverageFilter.java67 OutputPort outPort = getConnectedOutputPort("avg"); in onProcess() local
68 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
70 outPort.pushFrame(outFrame); in onProcess()
DMotionSensorWTime.java89 OutputPort outPort = getConnectedOutputPort("values"); in onProcess() local
90 FrameValues outFrame = outPort.fetchAvailableFrame(null).asFrameValues(); in onProcess()
106 outPort.pushFrame(outFrame); in onProcess()
DIfElseFilter.java54 OutputPort outPort = getConnectedOutputPort("output"); in onProcess() local
66 outPort.pushFrame(outputFrame); in onProcess()
DFaceSquareFilter.java78 OutputPort outPort = getConnectedOutputPort("image"); in onProcess() local
79 outPort.pushFrame(imageFrame); in onProcess()
DImageGoodnessFilter.java184 OutputPort outPort = getConnectedOutputPort("goodOrBadPic"); in onProcess() local
185 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
187 outPort.pushFrame(stringFrame); in onProcess()
DCamera2Source.java226 OutputPort outPort = getConnectedOutputPort("video"); in onProcess() local
236 outPort.pushFrame(outputFrame); in onProcess()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java92 OutputPort outPort = source.getOutputPort(outputName); in connect() local
94 if (outPort == null) { in connect()
102 preconnect(outPort, inPort); in connect()
302 private void preconnect(OutputPort outPort, InputPort inPort) { in preconnect() argument
304 targets = mPreconnections.get(outPort); in preconnect()
307 mPreconnections.put(outPort, targets); in preconnect()