blob: 61a399eb1a9ffac3125380a57b6e13da58c98d62 [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* Autogenerated from camera metadata definitions in
* /system/media/camera/docs/metadata_definitions.xml
* *** DO NOT EDIT BY HAND ***
*/
package android.hardware.camera.metadata@3.4;
/* Include definitions from all prior minor HAL metadata revisions */
import android.hardware.camera.metadata@3.2;
import android.hardware.camera.metadata@3.3;
// No new metadata sections added in this revision
/**
* Main enumeration for defining camera metadata tags added in this revision
*
* <p>Partial documentation is included for each tag; for complete documentation, reference
* '/system/media/camera/docs/docs.html' in the corresponding Android source tree.</p>
*/
enum CameraMetadataTag : @3.3::CameraMetadataTag {
/** android.request.characteristicKeysNeedingPermission [static, int32[], hidden]
*
* <p>A list of camera characteristics keys that are only available
* in case the camera client has camera permission.</p>
*/
ANDROID_REQUEST_CHARACTERISTIC_KEYS_NEEDING_PERMISSION = android.hardware.camera.metadata@3.3::CameraMetadataTag:ANDROID_REQUEST_END_3_3,
ANDROID_REQUEST_END_3_4,
/** android.scaler.availableRecommendedStreamConfigurations [static, enum[], ndk_public]
*
* <p>Recommended stream configurations for common client use cases.</p>
*/
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS = android.hardware.camera.metadata@3.2::CameraMetadataTag:ANDROID_SCALER_END,
/** android.scaler.availableRecommendedInputOutputFormatsMap [static, int32, ndk_public]
*
* <p>Recommended mappings of image formats that are supported by this
* camera device for input streams, to their corresponding output formats.</p>
*/
ANDROID_SCALER_AVAILABLE_RECOMMENDED_INPUT_OUTPUT_FORMATS_MAP,
ANDROID_SCALER_END_3_4,
/** android.info.supportedBufferManagementVersion [static, enum, system]
*
* <p>The version of buffer management API this camera device supports and opts into.</p>
*/
ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION = android.hardware.camera.metadata@3.3::CameraMetadataTag:ANDROID_INFO_END_3_3,
ANDROID_INFO_END_3_4,
/** android.depth.availableRecommendedDepthStreamConfigurations [static, int32[], ndk_public]
*
* <p>Recommended depth stream configurations for common client use cases.</p>
*/
ANDROID_DEPTH_AVAILABLE_RECOMMENDED_DEPTH_STREAM_CONFIGURATIONS = android.hardware.camera.metadata@3.2::CameraMetadataTag:ANDROID_DEPTH_END,
ANDROID_DEPTH_END_3_4,
};
/*
* Enumeration definitions for the various entries that need them
*/
/** android.scaler.availableFormats enumeration values added since v3.2
* @see ANDROID_SCALER_AVAILABLE_FORMATS
*/
enum CameraMetadataEnumAndroidScalerAvailableFormats :
@3.2::CameraMetadataEnumAndroidScalerAvailableFormats {
ANDROID_SCALER_AVAILABLE_FORMATS_RAW10 = 0x25,
ANDROID_SCALER_AVAILABLE_FORMATS_RAW12 = 0x26,
ANDROID_SCALER_AVAILABLE_FORMATS_Y8 = 0x20203859,
};
/** android.scaler.availableRecommendedStreamConfigurations enumeration values
* @see ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS
*/
enum CameraMetadataEnumAndroidScalerAvailableRecommendedStreamConfigurations : uint32_t {
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PREVIEW
= 0x0,
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_RECORD
= 0x1,
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_VIDEO_SNAPSHOT
= 0x2,
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_SNAPSHOT
= 0x3,
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_ZSL
= 0x4,
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_RAW
= 0x5,
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PUBLIC_END
= 0x6,
ANDROID_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_VENDOR_START
= 0x18,
};
/** android.sensor.info.colorFilterArrangement enumeration values added since v3.2
* @see ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT
*/
enum CameraMetadataEnumAndroidSensorInfoColorFilterArrangement :
@3.2::CameraMetadataEnumAndroidSensorInfoColorFilterArrangement {
ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_MONO,
ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_NIR,
};
/** android.info.supportedBufferManagementVersion enumeration values
* @see ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION
*/
enum CameraMetadataEnumAndroidInfoSupportedBufferManagementVersion : uint32_t {
ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION_HIDL_DEVICE_3_5,
};