|
libcamera v0.7.2+rpt20260817
Supporting cameras in Linux since 2019
|
Helper class that represents an ISP statistics buffer. More...


Public Member Functions | |
| V4L2Stats (Span< uint8_t > data, unsigned int version) | |
| Construct an instance of V4L2Stats. | |
| template<typename Traits::id_type Id> | |
| const Traits::template id_to_details< Id >::type * | block () const |
| Retrieve a pointer to an ISP statistics block. | |
Public Member Functions inherited from libcamera::ipa::V4L2StatsBase | |
| V4L2StatsBase (Span< uint8_t > data, unsigned int version) | |
| Construct an instance of V4L2StatsBase. | |
| Span< const uint8_t > | block (unsigned int blockType, size_t blockSize) const |
| Retrieve an ISP statistics block and return a reference to it. | |
| constexpr | operator bool () |
| Retrieve if a V4L2StatsBase has been successfully constructed. | |
Helper class that represents an ISP statistics buffer.
This class represents an ISP statistics buffer. It is constructed with a reference to the memory mapped buffer that has been dequeued from 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 'stats_traits' type that helps the class associate a block type with the actual memory area that represents the ISP statistics block.
Users of this class can then easily access an ISP statistics block using the block() function.
|
inline |
Construct an instance of V4L2Stats.
| [in] | data | Reference to the v4l2-buffer memory mapped area |
| [in] | version | The expected V4L2 ISP serialization format version |
|
inline |
Retrieve a pointer to an ISP statistics block.