struct dlstreamer::FrameInfo#

#include <frame_info.h>

struct FrameInfo {
    // fields

    TensorInfoVector tensors;
    MediaType media_type;
    MemoryType memory_type;
    Format format;

    // construction

    FrameInfo();

    FrameInfo(
        MediaType media_type,
        MemoryType memory_type = MemoryType::Any,
        TensorInfoVector tensors = {}
    );

    FrameInfo(
        ImageFormat image_format,
        MemoryType memory_type = MemoryType::CPU,
        TensorInfoVector tensors = {}
    );

    // methods

    bool operator < (const FrameInfo& r) const;
    bool operator == (const FrameInfo& r) const;
    bool operator != (const FrameInfo& r) const;
};