|
libcamera v0.3.2
Supporting cameras in Linux since 2019
|
Base debayering class. More...


Public Member Functions | |
| virtual int | configure (const StreamConfiguration &inputCfg, const std::vector< std::reference_wrapper< StreamConfiguration > > &outputCfgs)=0 |
| Configure the debayer object according to the passed in parameters. | |
| virtual std::vector< PixelFormat > | formats (PixelFormat inputFormat)=0 |
| Get the supported output formats. | |
| virtual std::tuple< unsigned int, unsigned int > | strideAndFrameSize (const PixelFormat &outputFormat, const Size &size)=0 |
| Get the stride and the frame size. | |
| virtual void | process (FrameBuffer *input, FrameBuffer *output, DebayerParams params)=0 |
| Process the bayer data into the requested format. | |
| virtual SizeRange | sizes (PixelFormat inputFormat, const Size &inputSize)=0 |
| Get the supported output sizes for the given input format and size. | |
Public Attributes | |
| Signal< FrameBuffer * > | inputBufferReady |
| Signals when the input buffer is ready. | |
| Signal< FrameBuffer * > | outputBufferReady |
| Signals when the output buffer is ready. | |
Base debayering class.
Base class that provides functions for setting up the debayering process.
|
pure virtual |
Configure the debayer object according to the passed in parameters.
| [in] | inputCfg | The input configuration. |
| [in] | outputCfgs | The output configurations. |
Implemented in libcamera::DebayerCpu.
|
pure virtual |
Get the supported output formats.
| [in] | inputFormat | The input format. |
Implemented in libcamera::DebayerCpu.
|
pure virtual |
Process the bayer data into the requested format.
| [in] | input | The input buffer. |
| [in] | output | The output buffer. |
| [in] | params | The parameters to be used in debayering. |
Implemented in libcamera::DebayerCpu.
|
pure virtual |
Get the supported output sizes for the given input format and size.
| [in] | inputFormat | The input format. |
| [in] | inputSize | The input size. |
Implemented in libcamera::DebayerCpu.
|
pure virtual |
Get the stride and the frame size.
| [in] | outputFormat | The output format. |
| [in] | size | The output size. |
Implemented in libcamera::DebayerCpu.