@@ -170,6 +170,9 @@ int Af::configure(IPAContext &context, const IPAConfigInfo &configInfo)
grid.block_height_log2 = kAfMinGridBlockHeight;
grid.height_per_slice = kAfDefaultHeightPerSlice;
+ /* Initial AE and AWB lock */
+ context.configuration.af.requireAeAwbLock = false;
+
/* x_start and y start are default to BDS center */
grid.x_start = (configInfo.bdsOutputSize.width / 2) -
(((grid.width << grid.block_width_log2) / 2));
@@ -27,6 +27,7 @@ struct IPASessionConfiguration {
struct {
ipu3_uapi_grid_config afGrid;
+ bool requireAeAwbLock;
} af;
struct {
The floating AWB and AE results significantly impact the AF performance since the focus value is determined by the image contrast. This lock is used to suspend the AWB and AE during AF scanning. Signed-off-by: Kate Hsuan <hpa@redhat.com> --- src/ipa/ipu3/algorithms/af.cpp | 3 +++ src/ipa/ipu3/ipa_context.h | 1 + 2 files changed, 4 insertions(+)