|
libcamera v0.7.2+rpt20260817
Supporting cameras in Linux since 2019
|
Base class for LscAlgorithm. More...

Public Member Functions | |
| int | init (const ValueNode &tuningData, ControlInfoMap::Map &controls, const LscDescriptor &descriptor) |
| void | queueRequest (lsc::ActiveState &state, lsc::FrameContext &context, const ControlList &controls) |
| Queue a request to the lsc algorithm. | |
| void | process (lsc::FrameContext &context, ControlList &metadata) |
| Populate the list of lsc metadata. | |
Protected Attributes | |
| std::unique_ptr< LscImplementation > | impl_ |
| The LSC algorithm implementation. | |
| bool | polynomial_ |
| Boolean flag for polynomial LSC. | |
Base class for LscAlgorithm.
Base class for LscAlgorithm for non-templated functions implementation
| int libcamera::ipa::LscAlgorithmBase::init | ( | const ValueNode & | tuningData, |
| ControlInfoMap::Map & | controls, | ||
| const LscDescriptor & | descriptor | ||
| ) |
| [in] | tuningData | The tuning data |
| [in] | controls | The IPA list of supported controls |
| [in] | descriptor | The LSC engine descriptor |
Parse tuningData according to the settings specified in descriptor to populate the LSC data and registers LSC controls in controls.
| void libcamera::ipa::LscAlgorithmBase::process | ( | lsc::FrameContext & | context, |
| ControlList & | metadata | ||
| ) |
Populate the list of lsc metadata.
| [in] | context | The lsc frame context |
| [in] | metadata | The list of metadata |
Populates the list of metadata with controls handled by the LscAlgorithm class. The only supported metadata is controls::LensShadingCorrectionEnable.
| void libcamera::ipa::LscAlgorithmBase::queueRequest | ( | lsc::ActiveState & | state, |
| lsc::FrameContext & | context, | ||
| const ControlList & | controls | ||
| ) |
Queue a request to the lsc algorithm.
| [in] | state | The lsc active state |
| [in] | context | The lsc frame context |
| [in] | controls | The list of controls associated with a Request |
Queue a new list of controls to the lsc algorithm. The only supported control is controls::LensShadingCorrectionEnable.
|
protected |
The LSC algorithm implementation.
There are two classes derived from LscImplementation, the LscTable and LscPolynomial ones. Which one to instantiate is decided by parsing the tuning file.
|
protected |
Boolean flag for polynomial LSC.
Set to true if polynomial LSC is in use.