summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/awb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rkisp1/algorithms/awb.h')
-rw-r--r--src/ipa/rkisp1/algorithms/awb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ipa/rkisp1/algorithms/awb.h b/src/ipa/rkisp1/algorithms/awb.h
index 06c92896..acc1940e 100644
--- a/src/ipa/rkisp1/algorithms/awb.h
+++ b/src/ipa/rkisp1/algorithms/awb.h
@@ -25,7 +25,7 @@ public:
const ControlList &controls) override;
void prepare(IPAContext &context, const uint32_t frame,
IPAFrameContext &frameContext,
- rkisp1_params_cfg *params) override;
+ rkisp1_ext_params_block_header *hdr) override;
void process(IPAContext &context, const uint32_t frame,
IPAFrameContext &frameContext,
const rkisp1_stat_buffer *stats,
@@ -33,6 +33,10 @@ public:
private:
uint32_t estimateCCT(double red, double green, double blue);
+ void prepareAwbGains(IPAFrameContext &frameContext,
+ rkisp1_ext_params_awb_gain_config *awbg);
+ void prepareAwbMeas(IPAContext &context,
+ rkisp1_ext_params_awb_meas_config *awbm);
bool rgbMode_;
};