CAMERA: update offlinecamera aidl intrface V2,add new offlineOpMode

Change-Id: I84c38dfd9052da65c3c6b9f4c45f768c1322ebd9

CRs-Fixed: 3476687
This commit is contained in:
chudai
2023-04-14 14:17:30 +08:00
parent e96a4cb6d0
commit 541ce84577
4 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/*
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package vendor.qti.hardware.camera.offlinecamera;
@Backing(type="int") @VintfStability
enum OfflineOpMode {
OfflineOpModeStart = 0x8000,
OpModeOfflineBayer2Yuv = 0x8001,
OpModeOfflineYuv2Jpeg = 0x8002,
OpModeOfflineYuv2Yuv = 0x8003,
OpModeOfflineQLL = 0x8004,
OpModeOfflineHWMF = 0x8005,
OpModeOfflineRaw2Raw = 0x8006,
OpModeOfflineRaw2Jpeg = 0x8007,
}

View File

@@ -27,4 +27,5 @@ parcelable OfflineSessionConfigureInfo {
android.hardware.camera.device.Stream[] streams;
vendor.qti.hardware.camera.offlinecamera.OpMode mode;
android.hardware.camera.device.CameraMetadata configureSetting;
int opModes;
}

View File

@@ -0,0 +1,28 @@
/*
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
*/
package vendor.qti.hardware.camera.offlinecamera;
@VintfStability
@Backing(type="int")
enum OfflineOpMode {
OfflineOpModeStart = 0x8000,
OpModeOfflineBayer2Yuv = 0x8001,
OpModeOfflineYuv2Jpeg = 0x8002,
OpModeOfflineYuv2Yuv = 0x8003,
OpModeOfflineQLL = 0x8004,
OpModeOfflineHWMF = 0x8005,
OpModeOfflineRaw2Raw = 0x8006,
OpModeOfflineRaw2Jpeg = 0x8007,
}

View File

@@ -17,7 +17,10 @@ parcelable OfflineSessionConfigureInfo {
Stream[] streams;
/*not used in V2*/
OpMode mode;
CameraMetadata configureSetting;
int opModes;
}