summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/af.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rkisp1/algorithms/af.h')
-rw-r--r--src/ipa/rkisp1/algorithms/af.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/algorithms/af.h b/src/ipa/rkisp1/algorithms/af.h
index e9afbb98..eeb806c0 100644
--- a/src/ipa/rkisp1/algorithms/af.h
+++ b/src/ipa/rkisp1/algorithms/af.h
@@ -27,6 +27,15 @@ public:
void setMetering(controls::AfMeteringEnum metering) override;
void setWindows(Span<const Rectangle> windows) override;
+
+private:
+ void updateCurrentWindow(const Rectangle &window);
+
+ controls::AfMeteringEnum meteringMode_ = controls::AfMeteringAuto;
+ Rectangle currentWindow_;
+ Rectangle defaultWindow_;
+ Rectangle userWindow_;
+ bool updateAfwindow_ = false;
};
} /* namespace libcamera::ipa::rkisp1::algorithms */