|
libcamera v0.7.1+1-5701eb5f-nvm
Supporting cameras in Linux since 2019
|
Helper class that represent an ISP configuration buffer. More...


Public Member Functions | |
| V4L2Params (Span< uint8_t > data, unsigned int version) | |
| Construct an instance of V4L2Params. | |
| template<typename Traits::id_type Id> | |
| auto | block () |
| Retrieve the location of an ISP configuration block a return it. | |
Public Member Functions inherited from libcamera::ipa::V4L2ParamsBase | |
| size_t | bytesused () const |
| Retrieve the used size of the parameters buffer (in bytes) | |
Additional Inherited Members | |
Protected Member Functions inherited from libcamera::ipa::V4L2ParamsBase | |
| V4L2ParamsBase (Span< uint8_t > data, unsigned int version) | |
| Construct an instance of V4L2ParamsBase. | |
| Span< uint8_t > | block (uint16_t type, unsigned int blockType, size_t blockSize) |
| Populate an ISP configuration block a returns a reference to its memory. | |
Protected Attributes inherited from libcamera::ipa::V4L2ParamsBase | |
| Span< uint8_t > | data_ |
| The ISP parameters buffer memory. | |
| size_t | used_ |
| The number of bytes used in the parameters buffer. | |
| std::map< uint16_t, Span< uint8_t > > | blocks_ |
| Cache of ISP configuration blocks. | |
Helper class that represent an ISP configuration buffer.
This class represents an ISP configuration buffer. It is constructed with a reference to the memory mapped buffer that will be queued to the ISP driver.
This class is templated with the type of the enumeration of ISP blocks that each IPA module is expected to support. IPA modules are expected to derive this class by providing a 'param_traits' type that helps the class associate a block type with the actual memory area that represents the ISP configuration block.
Users of this class can then easily access an ISP configuration block as a V4L2ParamsBlock instance.
|
inline |
Construct an instance of V4L2Params.
| [in] | data | Reference to the v4l2-buffer memory mapped area |
| [in] | version | The ISP parameters version the implementation supports |
|
inline |
Retrieve the location of an ISP configuration block a return it.