NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef __NvReplay_LIB__
14 #define __NvReplay_LIB__
15 
16 #define MAX_LABEL_SIZE 128
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 typedef struct NvReplayCtx NvReplayCtx;
22 
23 // Init parameters structure as input, required for instantiating NvReplay_lib
24 typedef struct
25 {
26  // Width at which frame/object will be scaled
27  int processingWidth;
28  // height at which frame/object will be scaled
29  int processingHeight;
30  // Flag to indicate whether operating on crops of full frame
31  int fullFrame;
33 
34 // Detected/Labelled object structure, stores bounding box info along with label
35 typedef struct
36 {
37  float left;
38  float top;
39  float width;
40  float height;
41  char label[MAX_LABEL_SIZE];
43 
44 // Output data returned after processing
45 typedef struct
46 {
47  int numObjects;
48  NvReplayObject object[4];
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
NvReplayCtx
struct NvReplayCtx NvReplayCtx
Definition: sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:21
NvReplayInitParams
Definition: sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:24
NvReplayOutput
Definition: sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:45
MAX_LABEL_SIZE
#define MAX_LABEL_SIZE
Definition: 9.0/sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:16
NvReplayObject
Definition: sources/gst-plugins/gst-nvreplay/gstnvreplay_lib.h:35