Language

CaptureRequest.ExtensionStrength Property

Definition

Strength of the extension post-processing effect

[Android.Runtime.Register("EXTENSION_STRENGTH", ApiSince=34)]
public static Android.Hardware.Camera2.CaptureRequest.Key ExtensionStrength { get; }
[<Android.Runtime.Register("EXTENSION_STRENGTH", ApiSince=34)>]
static member ExtensionStrength : Android.Hardware.Camera2.CaptureRequest.Key

Property Value

Strength of the extension post-processing effect

Attributes

Remarks

Strength of the extension post-processing effect

This control allows Camera extension clients to configure the strength of the applied extension effect. Strength equal to 0 means that the extension must not apply any post-processing and return a regular captured frame. Strength equal to 100 is the maximum level of post-processing. Values between 0 and 100 will have different effect depending on the extension type as described below: BOKEH - the strength is expected to control the amount of blur; HDR and NIGHT - the strength can control the amount of images fused and the brightness of the final image; FACE_RETOUCH - the strength value will control the amount of cosmetic enhancement and skin smoothing

The control will be supported if the capture request key is part of the list generated by CameraExtensionCharacteristics.getAvailableCaptureRequestKeys(int). The control is only defined and available to clients sending capture requests via CameraExtensionSession. If the client doesn't specify the extension strength value, then a default value will be set by the extension. Clients can retrieve the default value by checking the corresponding capture result.

Range of valid values: 0 - 100

Optional - The value for this key may be null on some devices.

Android reference for android.hardware.camera2.CaptureRequest.EXTENSION_STRENGTH.

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.

Applies to