The V4L2 M2M converter implements the converter interface based on V4L2 M2M device.
More...
|
| V4L2M2MConverter (MediaDevice *media) |
| Construct a V4L2M2MConverter instance. More...
|
|
int | loadConfiguration (const std::string &filename) |
|
bool | isValid () const |
|
std::vector< PixelFormat > | formats (PixelFormat input) |
|
SizeRange | sizes (const Size &input) |
| Retrieve the range of minimum and maximum output sizes for an input size. More...
|
|
std::tuple< unsigned int, unsigned int > | strideAndFrameSize (const PixelFormat &pixelFormat, const Size &size) |
| Retrieve the output stride and frame size for an input configutation. More...
|
|
int | configure (const StreamConfiguration &inputCfg, const std::vector< std::reference_wrapper< StreamConfiguration > > &outputCfg) |
| Configure a set of output stream conversion from an input stream. More...
|
|
int | exportBuffers (unsigned int ouput, unsigned int count, std::vector< std::unique_ptr< FrameBuffer > > *buffers) |
| Export buffers from the converter device. More...
|
|
int | start () |
| Start the converter streaming operation. More...
|
|
void | stop () |
| Stop the converter streaming operation. More...
|
|
int | queueBuffers (FrameBuffer *input, const std::map< unsigned int, FrameBuffer * > &outputs) |
| Queue buffers to converter device. More...
|
|
| Converter (MediaDevice *media) |
| Construct a Converter instance. More...
|
|
virtual int | loadConfiguration (const std::string &filename)=0 |
| Load converter configuration from file. More...
|
|
virtual bool | isValid () const =0 |
| Check if the converter configuration is valid. More...
|
|
virtual std::vector< PixelFormat > | formats (PixelFormat input)=0 |
| Retrieve the list of supported pixel formats for an input pixel format. More...
|
|
virtual SizeRange | sizes (const Size &input)=0 |
| Retrieve the range of minimum and maximum output sizes for an input size. More...
|
|
virtual std::tuple< unsigned int, unsigned int > | strideAndFrameSize (const PixelFormat &pixelFormat, const Size &size)=0 |
| Retrieve the output stride and frame size for an input configutation. More...
|
|
virtual int | configure (const StreamConfiguration &inputCfg, const std::vector< std::reference_wrapper< StreamConfiguration > > &outputCfgs)=0 |
| Configure a set of output stream conversion from an input stream. More...
|
|
virtual int | exportBuffers (unsigned int output, unsigned int count, std::vector< std::unique_ptr< FrameBuffer > > *buffers)=0 |
| Export buffers from the converter device. More...
|
|
virtual int | start ()=0 |
| Start the converter streaming operation. More...
|
|
virtual void | stop ()=0 |
| Stop the converter streaming operation. More...
|
|
virtual int | queueBuffers (FrameBuffer *input, const std::map< unsigned int, FrameBuffer * > &outputs)=0 |
| Queue buffers to converter device. More...
|
|
const std::string & | deviceNode () const |
| The converter device node attribute accessor. More...
|
|
The V4L2 M2M converter implements the converter interface based on V4L2 M2M device.