Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
VideoData.h
Go to the documentation of this file.
1
2
// Copyright (c) 2018 Digital Barriers
4
20
21
#pragma once
22
23
#include "
StreamData.h
"
24
#include "EdgeVisSDK.h"
25
#include "Pimpl.h"
26
#include "
StreamTimestampContext.h
"
27
#include "
AspectRatios.h
"
28
#include "
ArchivePlaybackSpeed.h
"
29
#include "
VideoFrameLayout.h
"
30
31
namespace
EdgeVisDecoderSDK
32
{
33
class
VideoDataImpl;
34
35
class
VideoData :
public
StreamData
36
{
37
public
:
38
VideoData();
39
VideoData(std::weak_ptr<VideoDataImpl> pimpl);
40
DB_EDGEVIS_SDK VideoData(StreamData data);
41
DB_EDGEVIS_SDK
virtual
~VideoData();
42
43
public
:
44
50
DB_EDGEVIS_SDK int32_t
GetWidth
()
const
;
51
57
DB_EDGEVIS_SDK int32_t
GetHeight
()
const
;
58
67
DB_EDGEVIS_SDK int64_t
GetEncodeTimeStamp
()
const
;
68
void
SetEncodeTimeStamp(int64_t ts);
69
80
DB_EDGEVIS_SDK int64_t
GetDisplayTimeStamp
()
const
;
81
void
SetDisplayTimeStamp(int64_t ts);
82
89
DB_EDGEVIS_SDK
StreamTimestampContext
GetTimeStampContext
()
const
;
90
void
SetTimeStampContext(
StreamTimestampContext
stc);
91
99
DB_EDGEVIS_SDK int64_t
GetViewerTimeoutTimeStamp
()
const
;
100
void
SetViewerTimeoutTimeStamp(int64_t ts);
101
108
DB_EDGEVIS_SDK int32_t
GetInput
()
const
;
109
void
SetInput(int32_t input);
110
116
DB_EDGEVIS_SDK EdgeVisSDKCore::AspectRatio
GetAspectRatio
()
const
;
117
void
SetAspectRatio(EdgeVisSDKCore::AspectRatio a);
118
125
DB_EDGEVIS_SDK
bool
IsCached
()
const
;
126
void
SetCached(
bool
cached);
127
134
DB_EDGEVIS_SDK
ArchivePlaybackSpeed
GetArchivePlaybackSpeed
()
const
;
135
142
DB_EDGEVIS_SDK int32_t
GetArchivePlaybackSpeedMultiplier
()
const
;
143
153
DB_EDGEVIS_SDK
VideoFrameLayout
GetVideoFrameLayout
()
const
;
154
};
155
}
ArchivePlaybackSpeed.h
ArchivePlaybackSpeed
ArchivePlaybackSpeed
Definition
ArchivePlaybackSpeed.h:27
AspectRatios.h
StreamData.h
StreamTimestampContext.h
VideoFrameLayout.h
EdgeVisDecoderSDK::VideoData::GetEncodeTimeStamp
DB_EDGEVIS_SDK int64_t GetEncodeTimeStamp() const
Return the timestamp of the image.
EdgeVisDecoderSDK::VideoData::GetInput
DB_EDGEVIS_SDK int32_t GetInput() const
Returns what video input this image is coming from.
EdgeVisDecoderSDK::VideoData::GetArchivePlaybackSpeed
DB_EDGEVIS_SDK ArchivePlaybackSpeed GetArchivePlaybackSpeed() const
Get the playback speed of the stream.
EdgeVisDecoderSDK::VideoData::GetTimeStampContext
DB_EDGEVIS_SDK StreamTimestampContext GetTimeStampContext() const
Return context of the image timestamp.
EdgeVisDecoderSDK::VideoData::GetDisplayTimeStamp
DB_EDGEVIS_SDK int64_t GetDisplayTimeStamp() const
Return the timestamp of the image.
EdgeVisDecoderSDK::VideoData::GetWidth
DB_EDGEVIS_SDK int32_t GetWidth() const
Return the width of the image.
EdgeVisDecoderSDK::VideoData::GetVideoFrameLayout
DB_EDGEVIS_SDK VideoFrameLayout GetVideoFrameLayout() const
Returns the VideoFrameLayout describing the sources used to construct the received YCbCrFrame for the...
EdgeVisDecoderSDK::VideoData::IsCached
DB_EDGEVIS_SDK bool IsCached() const
This flag determines if the image has been cached at the remote encoder end for the Full Resolution.
EdgeVisDecoderSDK::VideoData::GetAspectRatio
DB_EDGEVIS_SDK EdgeVisSDKCore::AspectRatio GetAspectRatio() const
Returns the aspect ratio of this image.
EdgeVisDecoderSDK::VideoData::GetArchivePlaybackSpeedMultiplier
DB_EDGEVIS_SDK int32_t GetArchivePlaybackSpeedMultiplier() const
Get the playback speed multiplier of the stream.
EdgeVisDecoderSDK::VideoData::GetViewerTimeoutTimeStamp
DB_EDGEVIS_SDK int64_t GetViewerTimeoutTimeStamp() const
Return the timestamp at which the stream will timeout.
EdgeVisDecoderSDK::VideoData::GetHeight
DB_EDGEVIS_SDK int32_t GetHeight() const
Return the height of the image.
EdgeVisDecoderSDK::VideoFrameLayout
VideoFrameLayout decribes the content of the frame from a given Encoder input.
Definition
VideoFrameLayout.h:38
StreamTimestampContext
StreamTimestampContext
Stream timestamp context.
Definition
StreamTimestampContext.h:21
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0