/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | ImageGoodnessFilterTest.java | 42 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 …]
|
D | AverageFilterTest.java | 33 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()
|
D | FloatArrayToSizeFilterTest.java | 40 asFrameValue(); in testToSize() 47 assertEquals(3, ((Integer) getOutputFrame("size").asFrameValue().getValue()).intValue()); in testToSize()
|
D | FloatArrayToStrFilterTest.java | 39 asFrameValue(); in testToStr() 47 assertEquals("[10.0, 15.0, 25.0]", (String) getOutputFrame("string").asFrameValue(). in testToStr()
|
D | ExposureFilterTest.java | 59 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter() 62 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter()
|
D | IfElseFilterTest.java | 69 asFrameValue(); in testIfElseFilterTrue() 101 asFrameValue(); in testIfElseFilterFalse()
|
D | AvgBrightnessFilterTest.java | 55 asFrameValue().getValue()).floatValue(), 0.01f); in testBrightnessFilter()
|
D | ContrastRatioFilterTest.java | 63 asFrameValue().getValue()).floatValue(), 0.001f); in testContrastFilter()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CSVWriterFilter.java | 74 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()
|
D | ImageGoodnessFilter.java | 98 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()
|
D | ExposureFilter.java | 75 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()
|
D | AverageFilter.java | 56 FrameValue inFrameValue = getConnectedInputPort("sharpness").pullFrame().asFrameValue(); in onProcess() 68 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | WaveTriggerFilter.java | 79 FrameValue frame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | FloatArrayToSizeFilter.java | 63 FrameValue sizeFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | FloatArrayToStrFilter.java | 64 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | ContrastRatioFilter.java | 66 contrastToGoodnessPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | AvgBrightnessFilter.java | 64 FrameValue brightnessOutFrame = brightnessPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | NormFilter.java | 51 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()
|
D | ToStringFilter.java | 42 FrameValue objectFrame = getConnectedInputPort("object").pullFrame().asFrameValue(); in onProcess() 45 FrameValue stringFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | StatsFilter.java | 104 FrameValue outFrame = outPort.fetchAvailableFrame(null).asFrameValue(); in onProcess() 109 FrameValue outFrameStdev = outPortStdev.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | VariableSource.java | 54 FrameValue frame = mOutputPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | ValueTarget.java | 61 FrameValue valueFrame = getConnectedInputPort("value").pullFrame().asFrameValue(); in onProcess()
|
D | TextViewTarget.java | 54 FrameValue textFrame = getConnectedInputPort("text").pullFrame().asFrameValue(); in onProcess()
|
D | ThroughputFilter.java | 86 FrameValue throughputFrame = tpPort.fetchAvailableFrame(null).asFrameValue(); in onProcess()
|
D | FrameValues.java | 93 FrameValue result = Frame.create(getType().asSingle(), new int[0]).asFrameValue(); in getFrameValueAtIndex()
|