diff options
Diffstat (limited to 'src/ipa/ipu3/algorithms/tone_mapping.cpp')
-rw-r--r-- | src/ipa/ipu3/algorithms/tone_mapping.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ipa/ipu3/algorithms/tone_mapping.cpp b/src/ipa/ipu3/algorithms/tone_mapping.cpp index 40337f9d..fcd22d0b 100644 --- a/src/ipa/ipu3/algorithms/tone_mapping.cpp +++ b/src/ipa/ipu3/algorithms/tone_mapping.cpp @@ -19,6 +19,22 @@ ToneMapping::ToneMapping() { } +/** + * \brief Configure the tone mapping given a configInfo + * \param[in] context The shared IPA context + * \param[in] configInfo The IPA configuration data + * + * \return 0 + */ +int ToneMapping::configure(IPAContext &context, + [[maybe_unused]] const IPAConfigInfo &configInfo) +{ + /* Initialise tone mapping gamma value. */ + context.frameContext.toneMapping.gamma = 0.0; + + return 0; +} + void ToneMapping::prepare([[maybe_unused]] IPAContext &context, ipu3_uapi_params *params) { |