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/interface.h>
6
7 #include <nx/sdk/analytics/i_data_packet.h>
8
9 namespace nx {
10 namespace sdk {
11 namespace analytics {
12
16 class IUncompressedMediaFrame: public Interface<IUncompressedMediaFrame, IDataPacket>
17 {
18 public:
19 static auto interfaceId() { return makeId("nx::sdk::analytics::IUncompressedMediaFrame"); }
20
24 virtual int planeCount() const = 0;
25
30 virtual int dataSize(int plane) const = 0;
31
36 virtual const char* data(int plane) const = 0;
37 };
38
39 } // namespace analytics
40 } // namespace sdk
41 } // namespace nx
nx::sdk::Interface
Definition: interface.h:28
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
Definition: apple_utils.h:6
nx::sdk::analytics::IUncompressedMediaFrame
Definition: i_uncompressed_media_frame.h:16
nx::sdk::analytics::IUncompressedMediaFrame::planeCount
virtual int planeCount() const =0