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.java592 int[] availableFormats = getBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS); in getAvailableFormats() local
593 if (availableFormats != null) { in getAvailableFormats()
594 for (int i = 0; i < availableFormats.length; i++) { in getAvailableFormats()
596 if (availableFormats[i] == NATIVE_JPEG_FORMAT) { in getAvailableFormats()
597 availableFormats[i] = ImageFormat.JPEG; in getAvailableFormats()
602 return availableFormats; in getAvailableFormats()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1029 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in buildFastInfo() local
1030 if (!availableFormats.size()) return NO_INIT; in buildFastInfo()
1121 for (size_t i = 0; i < availableFormats.size(); i++) { in buildFastInfo()
1122 if (availableFormats[i] == HAL_PIXEL_FORMAT_YCbCr_420_888) { in buildFastInfo()
1325 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in set() local
1334 for (i = 0; i < availableFormats.size(); i++) { in set()
1335 if (availableFormats[i] == validatedParams.previewFormat) break; in set()
1337 if (i == availableFormats.size()) { in set()
2868 camera_metadata_ro_entry_t availableFormats = staticInfo(ANDROID_SCALER_AVAILABLE_FORMATS); in getAvailableOutputFormats() local
2869 for (size_t i = 0; i < availableFormats.count; i++) { in getAvailableOutputFormats()
[all …]
/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()