Home
last modified time | relevance | path

Searched refs:regions (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CameraITS/utils/
Dlow_light_utils.py161 def _correct_image_rotation(img, regions): argument
177 _KEY_TOP_LEFT: regions[2][1],
178 _KEY_BOTTOM_LEFT: regions[5][1],
179 _KEY_TOP_RIGHT: regions[14][1],
180 _KEY_BOTTOM_RIGHT: regions[17][1],
367 def _sort_by_columns(regions): argument
383 col_sorted = sorted(regions, key=lambda r: r[0][0])
430 regions = _compute_luminance_regions(img, boxes)
433 sorted_regions = _sort_by_columns(regions)
441 regions = _compute_luminance_regions(img, boxes)
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java2051 private void checkMeteringRect(MeteringRectangle[] regions) { in checkMeteringRect() argument
2052 if (regions == null) { in checkMeteringRect()
2055 mCollector.expectNotEquals("Number of metering region should not be 0", 0, regions.length); in checkMeteringRect()
2056 for (int i = 0; i < regions.length; i++) { in checkMeteringRect()
2058 0, regions[i].getMeteringWeight()); in checkMeteringRect()
DExtendedCameraCharacteristicsTest.java2923 Rect[] regions = CameraTestUtils.getValueNotNull(c, in testOpticalBlackRegions() local
2925 CameraTestUtils.assertArrayNotEmpty(regions, "Optical back region arrays must not" in testOpticalBlackRegions()
2934 for (Rect region : regions) { in testOpticalBlackRegions()
2960 for (Rect region2 : regions) { in testOpticalBlackRegions()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java2149 JSONObject regions = params.getJSONObject(REGION_KEY);
2150 if (regions.has(REGION_AE_KEY)) {
2152 regions.getJSONArray(REGION_AE_KEY), true, aaWidth, aaHeight);
2154 if (regions.has(REGION_AF_KEY)) {
2156 regions.getJSONArray(REGION_AF_KEY), true, aaWidth, aaHeight);
2158 if (regions.has(REGION_AWB_KEY)) {
2160 regions.getJSONArray(REGION_AWB_KEY), true, aaWidth, aaHeight);
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2490 CaptureRequest.Builder requestBuilder, int algoIdx, MeteringRectangle[] regions, in update3aRegion() argument
2496 if (regions == null || regions.length == 0 || staticInfo == null) { in update3aRegion()
2517 if (maxRegions >= regions.length) { in update3aRegion()
2518 requestBuilder.set(key, regions); in update3aRegion()