NVIDIA DeepStream SDK API Reference
9.1 Release
9.1/sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
* SPDX-License-Identifier: Apache-2.0
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
18
#ifndef __NvReplay_LIB__
19
#define __NvReplay_LIB__
20
21
#define MAX_LABEL_SIZE 128
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
typedef
struct
NvReplayCtx
NvReplayCtx
;
27
28
// Init parameters structure as input, required for instantiating NvReplay_lib
29
typedef
struct
30
{
31
// Width at which frame/object will be scaled
32
int
processingWidth;
33
// height at which frame/object will be scaled
34
int
processingHeight;
35
// Flag to indicate whether operating on crops of full frame
36
int
fullFrame;
37
}
NvReplayInitParams
;
38
39
// Detected/Labelled object structure, stores bounding box info along with label
40
typedef
struct
41
{
42
float
left;
43
float
top;
44
float
width;
45
float
height;
46
char
label[
MAX_LABEL_SIZE
];
47
}
NvReplayObject
;
48
49
// Output data returned after processing
50
typedef
struct
51
{
52
int
numObjects;
53
NvReplayObject
object
[4];
54
}
NvReplayOutput
;
55
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
NvReplayCtx
struct NvReplayCtx NvReplayCtx
Definition:
sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:26
NvReplayInitParams
Definition:
sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:29
NvReplayOutput
Definition:
sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:50
NvReplayObject
Definition:
sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:40
MAX_LABEL_SIZE
#define MAX_LABEL_SIZE
Definition:
9.1/sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:21
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Thu Jul 9 2026 11:48:19 | PR-09318-R32