Home
last modified time | relevance | path

Searched refs:availableFormats (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java675 int[] availableFormats = getBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS); in getAvailableFormats() local
676 if (availableFormats != null) { in getAvailableFormats()
677 for (int i = 0; i < availableFormats.length; i++) { in getAvailableFormats()
679 if (availableFormats[i] == NATIVE_JPEG_FORMAT) { in getAvailableFormats()
680 availableFormats[i] = ImageFormat.JPEG; in getAvailableFormats()
685 return availableFormats; in getAvailableFormats()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1131 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in buildFastInfo() local
1132 if (!availableFormats.size()) return NO_INIT; in buildFastInfo()
1213 for (size_t i = 0; i < availableFormats.size(); i++) { in buildFastInfo()
1214 if (availableFormats[i] == HAL_PIXEL_FORMAT_YCbCr_420_888) { in buildFastInfo()
1454 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in set() local
1463 for (i = 0; i < availableFormats.size(); i++) { in set()
1464 if (availableFormats[i] == validatedParams.previewFormat) break; in set()
1466 if (i == availableFormats.size()) { in set()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java982 int[] availableFormats = new int[] { in testReadWriteOverride() local
1002 validateArrayMetadataReadWriteOverride(formatKey, availableFormats, in testReadWriteOverride()