Home
last modified time | relevance | path

Searched refs:asFrameValue (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DImageGoodnessFilterTest.java42 asFrameValue(); in testAwfulPicture()
44 FrameValue oEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testAwfulPicture()
46 FrameValue uEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testAwfulPicture()
48 FrameValue colorFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testAwfulPicture()
50 FrameValue contrastFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testAwfulPicture()
52 FrameValue motionFrame = createFrame(FrameType.array(), new int[] { 1 }).asFrameValue(); in testAwfulPicture()
64 assertEquals("Awful Picture", (String) getOutputFrame("goodOrBadPic").asFrameValue(). in testAwfulPicture()
70 asFrameValue(); in testBadPicture()
72 FrameValue oEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testBadPicture()
74 FrameValue uEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testBadPicture()
[all …]
DAverageFilterTest.java33 FrameValue frame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testAverageFilter()
39 assertEquals(1f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter()
44 FrameValue frame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); in testAverageFilter2()
50 assertEquals(0.8f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter2()
DFloatArrayToSizeFilterTest.java40 asFrameValue(); in testToSize()
47 assertEquals(3, ((Integer) getOutputFrame("size").asFrameValue().getValue()).intValue()); in testToSize()
DFloatArrayToStrFilterTest.java39 asFrameValue(); in testToStr()
47 assertEquals("[10.0, 15.0, 25.0]", (String) getOutputFrame("string").asFrameValue(). in testToStr()
DExposureFilterTest.java59 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter()
62 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter()
DIfElseFilterTest.java69 asFrameValue(); in testIfElseFilterTrue()
101 asFrameValue(); in testIfElseFilterFalse()
DAvgBrightnessFilterTest.java55 asFrameValue().getValue()).floatValue(), 0.01f); in testBrightnessFilter()
DContrastRatioFilterTest.java63 asFrameValue().getValue()).floatValue(), 0.001f); in testContrastFilter()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCSVWriterFilter.java74 getConnectedInputPort("sharpness").pullFrame().asFrameValue(); in onProcess()
78 getConnectedInputPort("overExposure").pullFrame().asFrameValue(); in onProcess()
82 getConnectedInputPort("underExposure").pullFrame().asFrameValue(); in onProcess()
86 getConnectedInputPort("colorfulness").pullFrame().asFrameValue(); in onProcess()
90 getConnectedInputPort("contrastRating").pullFrame().asFrameValue(); in onProcess()
94 getConnectedInputPort("brightness").pullFrame().asFrameValue(); in onProcess()
98 getConnectedInputPort("motionValues").pullFrame().asFrameValue(); in onProcess()
104 getConnectedInputPort("imageFileName").pullFrame().asFrameValue(); in onProcess()
108 getConnectedInputPort("csvFilePath").pullFrame().asFrameValue(); in onProcess()
DImageGoodnessFilter.java98 getConnectedInputPort("sharpness").pullFrame().asFrameValue(); in onProcess()
102 getConnectedInputPort("overExposure").pullFrame().asFrameValue(); in onProcess()
106 getConnectedInputPort("underExposure").pullFrame().asFrameValue(); in onProcess()
110 getConnectedInputPort("colorfulness").pullFrame().asFrameValue(); in onProcess()
114 getConnectedInputPort("contrastRating").pullFrame().asFrameValue(); in onProcess()
118 getConnectedInputPort("brightness").pullFrame().asFrameValue(); in onProcess()
122 getConnectedInputPort("motionValues").pullFrame().asFrameValue(); in onProcess()
131 getConnectedInputPort("capturing").pullFrame().asFrameValue(); in onProcess()
185 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
190 FrameValue scoreFrame = scoreOutPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DExposureFilter.java75 FrameValue underOutFrame = underPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
82 FrameValue underOutFrame2 = underPort2.fetchAvailableFrame(null).asFrameValue(); in onProcess()
90 FrameValue overOutFrame = overPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
97 FrameValue overOutFrame2 = overPort2.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DAverageFilter.java56 FrameValue inFrameValue = getConnectedInputPort("sharpness").pullFrame().asFrameValue(); in onProcess()
68 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DWaveTriggerFilter.java79 FrameValue frame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DFloatArrayToSizeFilter.java63 FrameValue sizeFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DFloatArrayToStrFilter.java64 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DContrastRatioFilter.java66 contrastToGoodnessPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DAvgBrightnessFilter.java64 FrameValue brightnessOutFrame = brightnessPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DNormFilter.java51 FrameValue xFrameValue = getConnectedInputPort("x").pullFrame().asFrameValue(); in onProcess()
53 FrameValue yFrameValue = getConnectedInputPort("y").pullFrame().asFrameValue(); in onProcess()
59 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DToStringFilter.java42 FrameValue objectFrame = getConnectedInputPort("object").pullFrame().asFrameValue(); in onProcess()
45 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DStatsFilter.java104 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
109 FrameValue outFrameStdev = outPortStdev.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DVariableSource.java54 FrameValue frame = mOutputPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DValueTarget.java61 FrameValue valueFrame = getConnectedInputPort("value").pullFrame().asFrameValue(); in onProcess()
DTextViewTarget.java54 FrameValue textFrame = getConnectedInputPort("text").pullFrame().asFrameValue(); in onProcess()
DThroughputFilter.java86 FrameValue throughputFrame = tpPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
DFrameValues.java93 FrameValue result = Frame.create(getType().asSingle(), new int[0]).asFrameValue(); in getFrameValueAtIndex()

12