|
libcamera v0.7.0+1-4ceceb68
Supporting cameras in Linux since 2019
|
Helper class that represents an ISP configuration block. More...
Public Member Functions | |
| V4L2ParamsBlock (const Span< uint8_t > data) | |
| Construct a V4L2ParamsBlock with memory represented by data. | |
| virtual void | setEnabled (bool enabled) |
| Enable/disable an ISP configuration block. | |
| virtual const T * | operator-> () const |
| Access the ISP configuration block casting it to the kernel-defined ISP configuration type. | |
| virtual T * | operator-> () |
| Access the ISP configuration block casting it to the kernel-defined ISP configuration type. | |
| virtual const T & | operator* () const |
| Access the ISP configuration block casting it to the kernel-defined ISP configuration type. | |
| virtual T & | operator* () |
| Access the ISP configuration block casting it to the kernel-defined ISP configuration type. | |
Protected Attributes | |
| Span< uint8_t > | data_ |
| Memory area reserved for the ISP configuration block. | |
Helper class that represents an ISP configuration block.
Each ISP function is associated with a set of configuration parameters defined by the kernel interface.
This class represents an ISP block configuration entry. It is constructed with a reference to the memory area where the block configuration will be stored in the parameters buffer. The template parameter represents the underlying kernel-defined ISP block configuration type and allows its user to easily cast it to said type to populate and read the configuration parameters.
|
inline |
Construct a V4L2ParamsBlock with memory represented by data.
| [in] | data | The memory area where the ISP block is located |
|
inlinevirtual |
Access the ISP configuration block casting it to the kernel-defined ISP configuration type.
The V4L2ParamsBlock is templated with the kernel defined ISP configuration block type. This function allows users to easily cast a V4L2ParamsBlock to the underlying kernel-defined type in order to easily populate or read the ISP configuration data.
Users of this class shall not create a V4L2ParamsBlock manually but should use V4L2Params::block().
|
inlinevirtual |
Access the ISP configuration block casting it to the kernel-defined ISP configuration type.
The V4L2ParamsBlock is templated with the kernel defined ISP configuration block type. This function allows users to easily cast a V4L2ParamsBlock to the underlying kernel-defined type in order to easily populate or read the ISP configuration data.
Users of this class shall not create a V4L2ParamsBlock manually but should use V4L2Params::block().
|
inlinevirtual |
Access the ISP configuration block casting it to the kernel-defined ISP configuration type.
The V4L2ParamsBlock is templated with the kernel defined ISP configuration block type. This function allows users to easily cast a V4L2ParamsBlock to the underlying kernel-defined type in order to easily populate or read the ISP configuration data.
Users of this class shall not create a V4L2ParamsBlock manually but should use V4L2Params::block().
|
inlinevirtual |
Access the ISP configuration block casting it to the kernel-defined ISP configuration type.
The V4L2ParamsBlock is templated with the kernel defined ISP configuration block type. This function allows users to easily cast a V4L2ParamsBlock to the underlying kernel-defined type in order to easily populate or read the ISP configuration data.
Users of this class shall not create a V4L2ParamsBlock manually but should use V4L2Params::block().
|
inlinevirtual |
Enable/disable an ISP configuration block.
| [in] | enabled | The enable flag |