Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
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
28
namespace
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
56
DB_EDGEVIS_SDK
GOPDataBlock
GetNextDataBlock
();
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
}
GOPDataBlock.h
StreamData.h
EdgeVisDecoderSDK::GOPDataBlock
The GOP Data Block class represents an individual element of a GOPData buffer.
Definition
GOPDataBlock.h:36
EdgeVisDecoderSDK::GOPData::GetEndTime
DB_EDGEVIS_SDK int64_t GetEndTime()
Get the end UTC timestamp for the GOP data.
EdgeVisDecoderSDK::GOPData::HasNextDataBlock
DB_EDGEVIS_SDK bool HasNextDataBlock()
Determine if there is another block available when reading forward from the current position.
EdgeVisDecoderSDK::GOPData::ResetRead
DB_EDGEVIS_SDK void ResetRead()
Reset the position for the next block to be read from to the start of the first available block.
EdgeVisDecoderSDK::GOPData::GetTransferID
DB_EDGEVIS_SDK int32_t GetTransferID()
Get the GOP transfer ID.
EdgeVisDecoderSDK::GOPData::GetStartTime
DB_EDGEVIS_SDK int64_t GetStartTime()
Get the start UTC timestamp for the GOP data.
EdgeVisDecoderSDK::GOPData::GetLength
DB_EDGEVIS_SDK int32_t GetLength()
Get the length of the GOP data.
EdgeVisDecoderSDK::GOPData::GetInput
DB_EDGEVIS_SDK int32_t GetInput()
Get the video input index that this GOP belongs to.
EdgeVisDecoderSDK::GOPData::GetNextDataBlock
DB_EDGEVIS_SDK GOPDataBlock GetNextDataBlock()
Retrieve the next block available when reading forward from the current position.
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0