camera: Add OIS data keys

Test: CTS
Bug: 64847201
Change-Id: I47f5d69f031ee0af8451fe87b746ca726400c55e
This commit is contained in:
Chien-Yu Chen 2018-01-19 11:19:46 -08:00
parent d05e4b31f4
commit 5e8a1be6e6

View file

@ -62,6 +62,44 @@ enum CameraMetadataTag : @3.2::CameraMetadataTag {
ANDROID_REQUEST_END_3_3,
/** android.statistics.oisDataMode [dynamic, enum, public]
*
* <p>Whether the camera device outputs the OIS data in output
* result metadata.</p>
*/
ANDROID_STATISTICS_OIS_DATA_MODE = android.hardware.camera.metadata@3.2::CameraMetadataTag:ANDROID_STATISTICS_END,
/** android.statistics.oisTimestamps [dynamic, int64[], public]
*
* <p>An array of timestamps of OIS samples, in nanoseconds.</p>
*/
ANDROID_STATISTICS_OIS_TIMESTAMPS,
/** android.statistics.oisXShifts [dynamic, float[], public]
*
* <p>An array of shifts of OIS samples, in x direction.</p>
*/
ANDROID_STATISTICS_OIS_X_SHIFTS,
/** android.statistics.oisYShifts [dynamic, float[], public]
*
* <p>An array of shifts of OIS samples, in y direction.</p>
*/
ANDROID_STATISTICS_OIS_Y_SHIFTS,
ANDROID_STATISTICS_END_3_3,
/** android.statistics.info.availableOisDataModes [static, byte[], public]
*
* <p>List of OIS data output modes for ANDROID_STATISTICS_OIS_DATA_MODE that
* are supported by this camera device.</p>
*
* @see ANDROID_STATISTICS_OIS_DATA_MODE
*/
ANDROID_STATISTICS_INFO_AVAILABLE_OIS_DATA_MODES = android.hardware.camera.metadata@3.2::CameraMetadataTag:ANDROID_STATISTICS_INFO_END,
ANDROID_STATISTICS_INFO_END_3_3,
/** android.info.version [static, byte, public]
*
* <p>A short string for manufacturer version information about the camera device, such as
@ -116,3 +154,11 @@ enum CameraMetadataEnumAndroidRequestAvailableCapabilities :
@3.2::CameraMetadataEnumAndroidRequestAvailableCapabilities {
ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MOTION_TRACKING,
};
/** android.statistics.oisDataMode enumeration values
* @see ANDROID_STATISTICS_OIS_DATA_MODE
*/
enum CameraMetadataEnumAndroidStatisticsOisDataMode : uint32_t {
ANDROID_STATISTICS_OIS_DATA_MODE_OFF,
ANDROID_STATISTICS_OIS_DATA_MODE_ON,
};