Camera: Add a new tag for multi-resolution stream support
- The new tag is used to remove the ambiguity when a physical camera is backing more than one logical cameras. - Add missing VTS tests for multi-resolution stream. Test: Camera CTS, VTS Bug: 156254356 Bug: 184663916 Change-Id: I8adc152bbf57e8ec5e058834c1c6f461aca1bcbd
This commit is contained in:
parent
245914ad78
commit
9f89b05379
2 changed files with 521 additions and 127 deletions
|
@ -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
|
||||
*/
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue