Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
GOPData.h
Go to the documentation of this file.
1
2// Copyright (c) 2016 Digital Barriers
4
21
22#pragma once
23
24#include "StreamData.h"
25#include "EdgeVisSDK.h"
26#include "GOPDataBlock.h"
27
28namespace EdgeVisDecoderSDK
29{
30 class GOPDataImpl;
31
32 class GOPData : public StreamData
33 {
34 public:
35 DB_EDGEVIS_SDK GOPData();
36 DB_EDGEVIS_SDK GOPData(const int64_t& start_ts, const int64_t& end_ts, const byte_array data);
37 GOPData(std::weak_ptr<GOPDataImpl> pimpl);
38
39 DB_EDGEVIS_SDK virtual ~GOPData();
40
41 public:
42
46 DB_EDGEVIS_SDK bool HasNextDataBlock();
47
57
62 DB_EDGEVIS_SDK void ResetRead();
63
69 DB_EDGEVIS_SDK int32_t GetLength();
70
76 DB_EDGEVIS_SDK int32_t GetTransferID();
77
83 DB_EDGEVIS_SDK int32_t GetInput();
84
90 DB_EDGEVIS_SDK int64_t GetStartTime();
91
97 DB_EDGEVIS_SDK int64_t GetEndTime();
98
99 DB_EDGEVIS_SDK std::wstring GetWatermark();
100
101 };
102}
The GOP Data Block class represents an individual element of a GOPData buffer.
Definition GOPDataBlock.h:36
DB_EDGEVIS_SDK int64_t GetEndTime()
Get the end UTC timestamp for the GOP data.
DB_EDGEVIS_SDK bool HasNextDataBlock()
Determine if there is another block available when reading forward from the current position.
DB_EDGEVIS_SDK void ResetRead()
Reset the position for the next block to be read from to the start of the first available block.
DB_EDGEVIS_SDK int32_t GetTransferID()
Get the GOP transfer ID.
DB_EDGEVIS_SDK int64_t GetStartTime()
Get the start UTC timestamp for the GOP data.
DB_EDGEVIS_SDK int32_t GetLength()
Get the length of the GOP data.
DB_EDGEVIS_SDK int32_t GetInput()
Get the video input index that this GOP belongs to.
DB_EDGEVIS_SDK GOPDataBlock GetNextDataBlock()
Retrieve the next block available when reading forward from the current position.
The EdgeVis Decoder SDK namespace.