nx_metadata_sdk 1.0 Metadata SDK

i_compressed_video_packet.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 "i_compressed_media_packet.h"
8
9 namespace nx {
10 namespace sdk {
11 namespace analytics {
12
16 class ICompressedVideoPacket: public Interface<ICompressedVideoPacket, ICompressedMediaPacket>
17 {
18 public:
19 static auto interfaceId() { return makeId("nx::sdk::analytics::ICompressedVideoPacket"); }
20
24 virtual int width() const = 0;
25
29 virtual int height() const = 0;
30 };
31
32 } // namespace analytics
33 } // namespace sdk
34 } // namespace nx
nx::sdk::Interface
Definition: interface.h:28
nx::sdk::analytics::ICompressedVideoPacket
Definition: i_compressed_video_packet.h:16
nx
Definition: apple_utils.h:6
nx::sdk::analytics::ICompressedVideoPacket::height
virtual int height() const =0
nx::sdk::analytics::ICompressedVideoPacket::width
virtual int width() const =0