class dlstreamer::BaseSink#

Overview#

#include <sink.h>

class BaseSink: public dlstreamer::BaseElement {
public:
    // construction

    BaseSink(const ContextPtr& app_context);

    // methods

    virtual void set_input_info(const FrameInfo& info);
    virtual FrameInfo get_input_info();
};

Inherited Members#

public:
    // methods

    bool init();
    ContextPtr get_context(MemoryType);

Detailed Documentation#

Methods#

virtual void set_input_info(const FrameInfo& info)

The function notifies element about input information.

Parameters:

info

Output frames information

virtual FrameInfo get_input_info()

Returns input information.