summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/af_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/controller/af_status.h')
-rw-r--r--src/ipa/raspberrypi/controller/af_status.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/ipa/raspberrypi/controller/af_status.h b/src/ipa/raspberrypi/controller/af_status.h
deleted file mode 100644
index 92c08812..00000000
--- a/src/ipa/raspberrypi/controller/af_status.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* SPDX-License-Identifier: BSD-2-Clause */
-/*
- * Copyright (C) 2022, Raspberry Pi Ltd
- *
- * af_status.h - AF control algorithm status
- */
-#pragma once
-
-#include <optional>
-
-/*
- * The AF algorithm should post the following structure into the image's
- * "af.status" metadata. lensSetting should control the lens.
- */
-
-enum class AfState {
- Idle = 0,
- Scanning,
- Focused,
- Failed
-};
-
-enum class AfPauseState {
- Running = 0,
- Pausing,
- Paused
-};
-
-struct AfStatus {
- /* state for reporting */
- AfState state;
- AfPauseState pauseState;
- /* lensSetting should be sent to the lens driver, when valid */
- std::optional<int> lensSetting;
-};