NVIDIA DeepStream SDK API Reference

9.2 Release
service-maker/sources/python/src/bindings/docstrings/utilsdoc.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 #pragma once
19 
20 namespace pydeepstreamdoc
21 {
22  namespace utils
23  {
24  namespace PerfMonitorDoc
25  {
26  constexpr const char* descr = R"pydeepstream(Class for monitoring the framerate.)pydeepstream";
27  constexpr const char* init = R"pydeepstream(
28  Initialize the performance monitor.
29 
30  :arg batch_size: *int*, Batch size of the pipeline
31  :arg interval: *int*, Interval to monitor performance.
32  :arg source_type: *str*, Type name of the source.
33  :arg show_name: *bool*, Whether to show the stream name in perf log.)pydeepstream";
34  constexpr const char* apply = R"pydeepstream(
35  Apply the performance monitor on a specific node(pad) within a pipeline.
36 
37  :arg node: *:class:`Node`*, Node to apply the monitor.
38  :arg tips: *str*, Name of the pad.)pydeepstream";
39  constexpr const char* pause = R"pydeepstream(Pause the performance monitor.)pydeepstream";
40  constexpr const char* resume = R"pydeepstream(Resume the performance monitor.)pydeepstream";
41  constexpr const char* add_stream = R"pydeepstream(
42  Add a new stream to the monitor.
43 
44  :arg source_id: *int*, Source ID of the stream.
45  :arg uri: *str*, URI of the stream.
46  :arg sensor_id: *str*, Sensor ID.
47  :arg sensor_name: *str*, Sensor name.)pydeepstream";
48  constexpr const char* remove_stream = R"pydeepstream(Remove a stream from the monitor given the source ID.)pydeepstream";
49  }
50 
51  namespace EngineFileMonitorDoc
52  {
53  constexpr const char* descr = R"pydeepstream(Class for monitoring the model engine file.)pydeepstream";
54  constexpr const char* init = R"pydeepstream(Initialize the engine file monitor from the inference :class:`Node` and model engine file path.)pydeepstream";
55  constexpr const char* start = R"pydeepstream(Start the engine file monitor.)pydeepstream";
56  constexpr const char* stop = R"pydeepstream(Stop the engine file monitor.)pydeepstream";
57  constexpr const char* started = R"pydeepstream(Whether the engine file monitor is started.)pydeepstream";
58  }
59 
60  namespace AudioStreamInfoDoc
61  {
62  constexpr const char* descr = R"pydeepstream(
63  Class for acquiring audio stream information.
64 
65  :ivar codec: *str*, Audio codec information.
66  :ivar channels: *int*, Number of channels.
67  :ivar sampling_rate: *int*, Sampling rate of the audio stream.)pydeepstream";
68  }
69 
70  namespace VideoStreamInfoDoc
71  {
72  constexpr const char* descr = R"pydeepstream(
73  Class for acquiring video stream information.
74 
75  :ivar codec: *str*, Video codec information.
76  :ivar width: *int*, Width of the video stream.
77  :ivar height: *int*, Height of the video stream.
78  :ivar framerate: *tuple*, Framerate of the video stream in the form of (numerator, denominator).)pydeepstream";
79  }
80 
81  namespace MediaInfoDoc
82  {
83  constexpr const char* descr = R"pydeepstream(
84  Class for acquiring media information.
85 
86  :ivar live: *bool*, Indicator of live media.
87  :ivar duration: *int*, Duration of the media in nanoseconds.
88  :ivar streams: *list*, List of media streams.)pydeepstream";
89  constexpr const char* discover = R"pydeepstream(
90  Discover the media information from the given URI.
91 
92  :arg uri: *str*, URI of the media.
93  :return: *:class:`MediaInfo`*, Media information.)pydeepstream";
94  }
95  }
96 }
pydeepstreamdoc::utils::PerfMonitorDoc::add_stream
constexpr const char * add_stream
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:41
pydeepstreamdoc::utils::PerfMonitorDoc::apply
constexpr const char * apply
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:34
pydeepstreamdoc
Definition: service-maker/sources/python/src/bindings/docstrings/bufferdoc.h:20
pydeepstreamdoc::utils::MediaInfoDoc::discover
constexpr const char * discover
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:89
pydeepstreamdoc::utils::PerfMonitorDoc::resume
constexpr const char * resume
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:40
pydeepstreamdoc::utils::EngineFileMonitorDoc::start
constexpr const char * start
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:55
pydeepstreamdoc::utils::PerfMonitorDoc::pause
constexpr const char * pause
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:39
pydeepstreamdoc::utils::AudioStreamInfoDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:62
pydeepstreamdoc::utils::PerfMonitorDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:26
pydeepstreamdoc::utils::EngineFileMonitorDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:53
pydeepstreamdoc::utils::MediaInfoDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:83
pydeepstreamdoc::utils::VideoStreamInfoDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:72
pydeepstreamdoc::utils::EngineFileMonitorDoc::init
constexpr const char * init
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:54
pydeepstreamdoc::utils::EngineFileMonitorDoc::started
constexpr const char * started
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:57
pydeepstreamdoc::utils::PerfMonitorDoc::remove_stream
constexpr const char * remove_stream
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:48
pydeepstreamdoc::utils::PerfMonitorDoc::init
constexpr const char * init
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:27
pydeepstreamdoc::utils::EngineFileMonitorDoc::stop
constexpr const char * stop
Definition: service-maker/sources/python/src/bindings/docstrings/utilsdoc.h:56