Add CONTROL_VIDEO_STABILIZATION_MODE_PREVIEW_STABILIZATION to allow for better preview stabilization.

Add CONTROL_VIDEO_STABILIZATION_MODE_PREVIEW_STABILIZATION. This CaptureRequest key may be
advertised by devices which can support applying the same quality of
stabilization to preview and other non-RAW streams. This helps clients
achieve a what you see is what you get effect.

Bug: 170230992

Test: builds

Change-Id: I6e115f5b98cdb07ba20055c2a1fba9cdad7e595c
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
This commit is contained in:
Jayant Chowdhary
2021-10-12 16:24:19 -07:00
parent d6aacae29d
commit 763d122fd2
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// This file is autogenerated by hidl-gen -Landroidbp.
hidl_interface {
name: "android.hardware.camera.metadata@3.7",
root: "android.hardware",
srcs: [
"types.hal",
],
interfaces: [
"android.hardware.camera.metadata@3.2",
"android.hardware.camera.metadata@3.3",
"android.hardware.camera.metadata@3.4",
"android.hardware.camera.metadata@3.5",
"android.hardware.camera.metadata@3.6",
],
gen_java: true,
}

View File

@@ -0,0 +1,18 @@
// This file is autogenerated by hidl-gen -Landroidbp.
hidl_interface {
name: "android.hardware.camera.metadata@3.8",
root: "android.hardware",
srcs: [
"types.hal",
],
interfaces: [
"android.hardware.camera.metadata@3.2",
"android.hardware.camera.metadata@3.3",
"android.hardware.camera.metadata@3.4",
"android.hardware.camera.metadata@3.5",
"android.hardware.camera.metadata@3.6",
"android.hardware.camera.metadata@3.7",
],
gen_java: true,
}

View File

@@ -58,3 +58,11 @@ enum CameraMetadataTag : @3.7::CameraMetadataTag {
/*
* Enumeration definitions for the various entries that need them
*/
/** android.control.videoStabilizationMode enumeration values added since v3.2
* @see ANDROID_CONTROL_VIDEO_STABILIZATION_MODE
*/
enum CameraMetadataEnumAndroidControlVideoStabilizationMode :
@3.2::CameraMetadataEnumAndroidControlVideoStabilizationMode {
ANDROID_CONTROL_VIDEO_STABILIZATION_MODE_PREVIEW_STABILIZATION,
};