Searched refs:EDGE_MODES (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CameraITS/tests/scene3/ |
D | test_reprocess_edge_enhancement.py | 31 EDGE_MODES = {'OFF': 0, 'FAST': 1, 'HQ': 2, 'ZSL': 3} variable 32 EDGE_MODES_VALUES = list(EDGE_MODES.values()) 42 if sharpness[EDGE_MODES['HQ']] < sharpness[EDGE_MODES['OFF']]: 48 sharpness[EDGE_MODES['ZSL']], sharpness[EDGE_MODES['OFF']], 50 assert np.isclose(sharpness[EDGE_MODES['ZSL']], sharpness[EDGE_MODES['OFF']], 55 sharpness[EDGE_MODES['FAST']], sharpness[EDGE_MODES['OFF']], 57 assert (sharpness[EDGE_MODES['FAST']] > 58 sharpness[EDGE_MODES['OFF']] * (1.0-SHARPNESS_RTOL)), e_msg 62 sharpness[EDGE_MODES['FAST']], sharpness[EDGE_MODES['HQ']], 64 assert (sharpness[EDGE_MODES['HQ']] > [all …]
|
D | test_edge_enhancement.py | 29 EDGE_MODES = {'OFF': 0, 'FAST': 1, 'HQ': 2, 'ZSL': 3} variable 127 for edge_mode in EDGE_MODES.values(): 144 e_msg = 'HQ: %.3f, OFF: %.3f' % (sharpness_regular[EDGE_MODES['HQ']], 145 sharpness_regular[EDGE_MODES['OFF']]) 146 assert (sharpness_regular[EDGE_MODES['HQ']] > 147 sharpness_regular[EDGE_MODES['OFF']]), e_msg 151 sharpness_regular[EDGE_MODES['FAST']], 152 sharpness_regular[EDGE_MODES['OFF']], SHARPNESS_RTOL) 153 assert (sharpness_regular[EDGE_MODES['FAST']] > 154 sharpness_regular[EDGE_MODES['OFF']]*(1.0-SHARPNESS_RTOL)), e_msg [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ReprocessCaptureTest.java | 1143 final Integer[] EDGE_MODES = {CaptureRequest.EDGE_MODE_FAST, in testReprocessRequestKeys() local 1151 int numFrames = EDGE_MODES.length; in testReprocessRequestKeys() 1171 builder.set(CaptureRequest.EDGE_MODE, EDGE_MODES[i]); in testReprocessRequestKeys() 1195 ") doesn't match requested edge mode (" + EDGE_MODES[i] + ")", in testReprocessRequestKeys() 1196 resultEdgeMode, EDGE_MODES[i]); in testReprocessRequestKeys()
|