Merge "Camera: Add a new tag for multi-resolution stream support" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-23 04:14:37 +00:00
committed by Android (Google) Code Review
2 changed files with 521 additions and 127 deletions

View File

@@ -131,6 +131,12 @@ enum CameraMetadataTag : @3.5::CameraMetadataTag {
*/
ANDROID_SCALER_AVAILABLE_INPUT_OUTPUT_FORMATS_MAP_MAXIMUM_RESOLUTION,
/** android.scaler.multiResolutionStreamSupported [static, enum, ndk_public]
*
* <p>Whether the camera device supports multi-resolution input or output streams</p>
*/
ANDROID_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED,
ANDROID_SCALER_END_3_6,
/** android.sensor.opaqueRawSizeMaximumResolution [static, int32[], system]
@@ -334,6 +340,14 @@ enum CameraMetadataEnumAndroidScalerAvailableStreamConfigurationsMaximumResoluti
ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT,
};
/** android.scaler.multiResolutionStreamSupported enumeration values
* @see ANDROID_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED
*/
enum CameraMetadataEnumAndroidScalerMultiResolutionStreamSupported : uint32_t {
ANDROID_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_FALSE,
ANDROID_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_TRUE,
};
/** android.sensor.pixelMode enumeration values
* @see ANDROID_SENSOR_PIXEL_MODE
*/