nx_metadata_sdk 1.0 Metadata SDK

i_uncompressed_media_frame.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #include <nx/sdk/analytics/i_data_packet.h>
6 #include <nx/sdk/interface.h>
7
8 namespace nx::sdk::analytics {
9
13 class IUncompressedMediaFrame: public Interface<IUncompressedMediaFrame, IDataPacket0>
14 {
15 public:
16 static auto interfaceId() { return makeId("nx::sdk::analytics::IUncompressedMediaFrame"); }
17
21 virtual int planeCount() const = 0;
22
27 virtual int dataSize(int plane) const = 0;
28
33 virtual const char* data(int plane) const = 0;
34 };
35 using IUncompressedMediaFrame0 = IUncompressedMediaFrame;
36
37 } // namespace nx::sdk::analytics
nx::sdk::Interface
Definition: interface.h:48
nx::sdk::analytics
Definition: consuming_device_agent.cpp:24
nx::sdk::analytics::IUncompressedMediaFrame::dataSize
virtual int dataSize(int plane) const =0
nx::sdk::analytics::IUncompressedMediaFrame::data
virtual const char * data(int plane) const =0
nx::sdk::analytics::IUncompressedMediaFrame
Definition: i_uncompressed_media_frame.h:13
nx::sdk::analytics::IUncompressedMediaFrame::planeCount
virtual int planeCount() const =0