summaryrefslogtreecommitdiff
path: root/src/android/camera_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_ops.h')
-rw-r--r--src/android/camera_ops.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/android/camera_ops.h b/src/android/camera_ops.h
new file mode 100644
index 00000000..304e7b85
--- /dev/null
+++ b/src/android/camera_ops.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2019, Google Inc.
+ *
+ * camera_ops.h - Android Camera HAL Operations
+ */
+#ifndef __ANDROID_CAMERA_OPS_H__
+#define __ANDROID_CAMERA_OPS_H__
+
+#include <hardware/camera3.h>
+
+int hal_dev_close(hw_device_t *hw_device);
+extern camera3_device_ops hal_dev_ops;
+
+#endif /* __ANDROID_CAMERA_OPS_H__ */