NVIDIA DeepStream SDK API Reference
6.4 Release
deepstream_test5_app.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining a
5
* copy of this software and associated documentation files (the "Software"),
6
* to deal in the Software without restriction, including without limitation
7
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
* and/or sell copies of the Software, and to permit persons to whom the
9
* Software is furnished to do so, subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included in
12
* all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
* DEALINGS IN THE SOFTWARE.
21
*/
22
23
#ifndef __DEEPSTREAM_TEST5_APP_H__
24
#define __DEEPSTREAM_TEST5_APP_H__
25
26
#include <gst/gst.h>
27
#include "
deepstream_config.h
"
28
29
typedef
struct
30
{
31
gint anomaly_count;
32
gint meta_number;
33
struct
timespec timespec_first_frame;
34
GstClockTime gst_ts_first_frame;
35
GMutex lock_stream_rtcp_sr;
36
guint32 id;
37
gint frameCount;
38
GstClockTime last_ntp_time;
39
}
StreamSourceInfo
;
40
41
typedef
struct
42
{
43
StreamSourceInfo
streams[
MAX_SOURCE_BINS
];
44
}
TestAppCtx
;
45
46
struct
timespec
extract_utc_from_uri
(gchar * uri);
47
48
#endif
deepstream_config.h
extract_utc_from_uri
struct timespec extract_utc_from_uri(gchar *uri)
DEEPSTREAM_TEST5_APP_H
StreamSourceInfo
Definition:
deepstream_audio.h:108
TestAppCtx
Definition:
deepstream_audio.h:120
MAX_SOURCE_BINS
#define MAX_SOURCE_BINS
Definition:
deepstream_config.h:94
Advance Information | Subject to Change | Generated by NVIDIA | Mon Dec 11 2023 17:51:24 | PR-09318-R32