ipa: ipu3: tonemapping: Implement configure call
Let the algorithm perform its initial configuration. Implement configure() to set a default gamma value and let process do the updates needed. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
acbad32b2e
commit
ec5ceceaf7
2 changed files with 17 additions and 0 deletions
|
@ -18,6 +18,7 @@ class ToneMapping : public Algorithm
|
|||
public:
|
||||
ToneMapping();
|
||||
|
||||
int configure(IPAContext &context, const IPAConfigInfo &configInfo) override;
|
||||
void prepare(IPAContext &context, ipu3_uapi_params *params) override;
|
||||
void process(IPAContext &context, const ipu3_uapi_stats_3a *stats) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue