NVIDIA DeepStream SDK API Reference

6.4 Release
rest_server_callbacks.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: MIT
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in
13  * all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21  * DEALINGS IN THE SOFTWARE.
22  */
23 
24 #include "nvds_rest_server.h"
25 #include "gst-nvmultiurisrcbincreator.h"
26 #include "gst-nvcustomevent.h"
27 
28 #include "nvds_appctx_server.h"
29 
30 /* Callback to handle application related REST API requests*/
32  void *ctx);
33 
34 /* Callback to handle osd related REST API requests*/
35 void s_osd_callback_impl (NvDsServerOsdInfo * osd_info, void *ctx);
36 
37 /* Callback to handle nvstreammux related REST API requests*/
38 void s_mux_callback_impl (NvDsServerMuxInfo * mux_info, void *ctx);
39 
40 /* Callback to handle encoder specific REST API requests*/
41 void s_enc_callback_impl (NvDsServerEncInfo * enc_info, void *ctx);
42 
43 /* Callback to handle encoder specific REST API requests*/
44 void s_conv_callback_impl (NvDsServerConvInfo * conv_info, void *ctx);
45 
46 /* Callback to handle nvinferserver specific REST API requests*/
48  void *ctx);
49 
50 /* Callback to handle nvinfer specific REST API requests*/
51 void s_infer_callback_impl (NvDsServerInferInfo * infer_info, void *ctx);
52 
53 /* Callback to handle nvv4l2decoder specific REST API requests*/
54 void s_dec_callback_impl (NvDsServerDecInfo * dec_info, void *ctx);
55 
56 /* Callback to handle nvdspreprocess specific REST API requests*/
57 void s_roi_callback_impl (NvDsServerRoiInfo * roi_info, void *ctx);
58 
59 /* Callback to handle stream add/remove specific REST API requests*/
60 void s_stream_callback_impl (NvDsServerStreamInfo * stream_info, void *ctx);
s_dec_callback_impl
void s_dec_callback_impl(NvDsServerDecInfo *dec_info, void *ctx)
s_osd_callback_impl
void s_osd_callback_impl(NvDsServerOsdInfo *osd_info, void *ctx)
NvDsServerInferInfo
Definition: includes/nvds_rest_server.h:284
s_roi_callback_impl
void s_roi_callback_impl(NvDsServerRoiInfo *roi_info, void *ctx)
s_conv_callback_impl
void s_conv_callback_impl(NvDsServerConvInfo *conv_info, void *ctx)
NvDsServerMuxInfo
Definition: includes/nvds_rest_server.h:239
NvDsServerInferServerInfo
Definition: includes/nvds_rest_server.h:319
s_mux_callback_impl
void s_mux_callback_impl(NvDsServerMuxInfo *mux_info, void *ctx)
NvDsServerEncInfo
Definition: includes/nvds_rest_server.h:209
NvDsServerOsdInfo
Definition: includes/nvds_rest_server.h:296
NvDsServerDecInfo
Definition: includes/nvds_rest_server.h:195
NvDsServerRoiInfo
Definition: includes/nvds_rest_server.h:251
NvDsServerStreamInfo
Definition: includes/nvds_rest_server.h:264
s_stream_callback_impl
void s_stream_callback_impl(NvDsServerStreamInfo *stream_info, void *ctx)
NvDsServerAppInstanceInfo
Definition: includes/nvds_rest_server.h:308
NvDsServerConvInfo
Definition: includes/nvds_rest_server.h:224
nvds_appctx_server.h
s_appinstance_callback_impl
void s_appinstance_callback_impl(NvDsServerAppInstanceInfo *appinstance_info, void *ctx)
s_inferserver_callback_impl
void s_inferserver_callback_impl(NvDsServerInferServerInfo *inferserver_info, void *ctx)
s_enc_callback_impl
void s_enc_callback_impl(NvDsServerEncInfo *enc_info, void *ctx)
s_infer_callback_impl
void s_infer_callback_impl(NvDsServerInferInfo *infer_info, void *ctx)