|
libcamera v0.0.0+3240-f2a18172-dirty (2022-05-14T03:06:40+00:00)
Supporting cameras in Linux since 2019
|
A class to handle tone mapping based on gamma. More...


Public Member Functions | |
| int | configure (IPAContext &context, const IPAConfigInfo &configInfo) override |
| Configure the tone mapping given a configInfo. More... | |
| void | prepare (IPAContext &context, ipu3_uapi_params *params) override |
| Fill in the parameter structure, and enable gamma control. More... | |
| void | process (IPAContext &context, const ipu3_uapi_stats_3a *stats) override |
| Calculate the tone mapping look up table. More... | |
| virtual int | configure (IPAContext &context, const IPAConfigInfo &configInfo) |
| Configure the Algorithm given an IPAConfigInfo. More... | |
| virtual void | prepare (IPAContext &context, ipu3_uapi_params *params) |
| Fill the params buffer with ISP processing parameters for a frame. More... | |
| virtual void | process (IPAContext &context, const ipu3_uapi_stats_3a *stats) |
| Process ISP statistics, and run algorithm operations. More... | |
A class to handle tone mapping based on gamma.
This algorithm improves the image dynamic using a look-up table which is generated based on a gamma parameter.
|
overridevirtual |
Configure the tone mapping given a configInfo.
| [in] | context | The shared IPA context |
| [in] | configInfo | The IPA configuration data |
Reimplemented from libcamera::ipa::ipu3::Algorithm.
|
overridevirtual |
Fill in the parameter structure, and enable gamma control.
| context | The shared IPA context |
| params | The IPU3 parameters |
Populate the IPU3 parameter structure with our tone mapping look up table and enable the gamma control module in the processing blocks.
Reimplemented from libcamera::ipa::ipu3::Algorithm.
|
overridevirtual |
Calculate the tone mapping look up table.
| context | The shared IPA context |
| stats | The IPU3 statistics and ISP results |
The tone mapping look up table is generated as an inverse power curve from our gamma setting.
Reimplemented from libcamera::ipa::ipu3::Algorithm.