UsecaseMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum UsecaseMode
type UsecaseMode =
- Inheritance
-
UsecaseMode
Fields
| Name | Value | Description |
|---|---|---|
| Preview | 0 | The recommended stream configuration map for use case preview must contain a subset of efficient, non-stalling configurations that must include both ImageFormat.PRIVATE and ImageFormat.YUV_420_888 output formats. Even if available for the camera device, high speed or input configurations will be absent. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Record | 1 | The recommended stream configuration map for recording must contain a subset of efficient video configurations that include ImageFormat.PRIVATE output format for at least all supported profiles. High speed configurations if supported will be available as well. Even if available for the camera device, input configurations will be absent. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| VideoSnapshot | 2 | The recommended stream configuration map for use case video snapshot must only contain a subset of efficient liveshot configurations that include ImageFormat.JPEG output format. The sizes will match at least the maximum resolution of usecase record and will not cause any preview glitches. Even if available for the camera device, high speed or input configurations will be absent. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Snapshot | 3 | The recommended stream configuration map for use case snapshot must contain a subset of efficient still capture configurations that must include ImageFormat.JPEG output format and at least one configuration with size approximately equal to the sensor pixel array size CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE. Even if available for the camera device, high speed or input configurations will be absent. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Zsl | 4 | In case the device supports CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING and/or CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING, the recommended stream configuration map for use case ZSL must contain a subset of efficient configurations that include the suggested input and output format mappings. Even if available for the camera device, high speed configurations will be absent. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Raw | 5 | In case the device supports CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_RAW, the recommended stream configuration map for use case RAW must contain a subset of efficient configurations that include the ImageFormat.RAW_SENSOR and other RAW output formats. Even if available for the camera device, high speed and input configurations will be absent. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| LowLatencySnapshot | 6 | The recommended stream configuration map for use case low latency snapshot must contain subset of configurations with end-to-end latency that does not exceed 200 ms. under standard operating conditions (reasonable light levels, not loaded system). The expected output format will be primarily ImageFormat.JPEG however other image formats can be present as well. Even if available for the camera device, high speed and input configurations will be absent. This suggested configuration map may be absent on some devices that can not support any low latency requests. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| TenBitOutput | 8 | If supported, the recommended 10-bit output stream configurations must include a subset of the advertised ImageFormat.YCBCR_P010 and ImageFormat.PRIVATE outputs that are optimized for power and performance when registered along with a supported 10-bit dynamic range profile. See OutputConfiguration.setDynamicRangeProfile(long) for details. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |