|
| DebayerCpu (std::unique_ptr< SwStatsCpu > stats) |
| Constructs a DebayerCpu object.
|
|
int | configure (const StreamConfiguration &inputCfg, const std::vector< std::reference_wrapper< StreamConfiguration > > &outputCfgs) |
| Configure the debayer object according to the passed in parameters.
|
|
Size | patternSize (PixelFormat inputFormat) |
| Get the width and height at which the bayer pattern repeats.
|
|
std::vector< PixelFormat > | formats (PixelFormat input) |
| Get the supported output formats.
|
|
std::tuple< unsigned int, unsigned int > | strideAndFrameSize (const PixelFormat &outputFormat, const Size &size) |
| Get the stride and the frame size.
|
|
void | process (uint32_t frame, FrameBuffer *input, FrameBuffer *output, DebayerParams params) |
| Process the bayer data into the requested format.
|
|
SizeRange | sizes (PixelFormat inputFormat, const Size &inputSize) |
| Get the supported output sizes for the given input format and size.
|
|
const SharedFD & | getStatsFD () |
| Get the file descriptor for the statistics.
|
|
unsigned int | frameSize () |
| Get the output frame size.
|
|
| Object (Object *parent=nullptr) |
| Construct an Object instance.
|
|
virtual | ~Object () |
| Destroy an Object instance.
|
|
void | deleteLater () |
| Schedule deletion of the instance in the thread it belongs to.
|
|
void | postMessage (std::unique_ptr< Message > msg) |
| Post a message to the object's thread.
|
|
template<typename T, typename R, typename... FuncArgs, typename... Args, std::enable_if_t< std::is_base_of< Object, T >::value > * = nullptr> |
R | invokeMethod (R(T::*func)(FuncArgs...), ConnectionType type, Args &&... args) |
| Invoke a method asynchronously on an Object instance.
|
|
Thread * | thread () const |
| Retrieve the thread the object is bound to.
|
|
void | moveToThread (Thread *thread) |
| Move the object and all its children to a different thread.
|
|
Object * | parent () const |
| Retrieve the object's parent.
|
|
Class for debayering on the CPU.
Implementation for CPU based debayering