class dlstreamer::BaseTransformInplace#
Overview#
#include <transform.h> class BaseTransformInplace: public dlstreamer::BaseElement { public: // construction BaseTransformInplace(const ContextPtr& app_context); // methods virtual void set_info(const FrameInfo& info); virtual bool process(FramePtr src); virtual bool process(TensorPtr src); };
Inherited Members#
public: // methods bool init(); ContextPtr get_context(MemoryType);
Detailed Documentation#
Methods#
virtual void set_info(const FrameInfo& info)
The function notifies element about frame information.
Parameters:
info |
Frame information |
virtual bool process(FramePtr src)
Process frame.
Parameters:
src |
virtual bool process(TensorPtr src)
Process tensor.
Parameters:
src |