NVIDIA DeepStream SDK API Reference

7.1 Release
gstnvdsaudiotemplate_meta.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021 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 #ifndef __GST_NVDSAUDIOTEMPLATE_META_H__
25 #define __GST_NVDSAUDIOTEMPLATE_META_H__
26 
27 #include <gst/gst.h>
28 #include <iostream>
29 
31 #define GST_AUDIO_TEMPLATE_META_API_TYPE \
32  (gst_audio_template_meta_api_get_type())
33 #define GST_AUDIO_TEMPLATE_META_INFO (gst_audio_template_meta_get_info())
34 
35 typedef struct _GstAudioTemplateMeta {
36  GstMeta meta;
37  guint frame_count;
42 
44 const GstMetaInfo *gst_audio_template_meta_get_info(void);
45 
46 #endif /*__GST_NVDSAUDIOTEMPLATE_META_H__*/
_GstAudioTemplateMeta::frame_count
guint frame_count
Definition: gstnvdsaudiotemplate_meta.h:37
_GstAudioTemplateMeta
Definition: gstnvdsaudiotemplate_meta.h:35
_GstAudioTemplateMeta::meta
GstMeta meta
Definition: gstnvdsaudiotemplate_meta.h:36
gst_mpeg_video_meta_api_get_type
GType gst_mpeg_video_meta_api_get_type(void)
gst_audio_template_meta_get_info
const GstMetaInfo * gst_audio_template_meta_get_info(void)
_GstAudioTemplateMeta::custom_metadata_size
guint custom_metadata_size
Definition: gstnvdsaudiotemplate_meta.h:39
_GstAudioTemplateMeta::custom_metadata_ptr
void * custom_metadata_ptr
Definition: gstnvdsaudiotemplate_meta.h:40
_GstAudioTemplateMeta::custom_metadata_type
guint custom_metadata_type
Definition: gstnvdsaudiotemplate_meta.h:38
gst_audio_template_meta_api_get_type
GType gst_audio_template_meta_api_get_type(void)
GstAudioTemplateMeta
struct _GstAudioTemplateMeta GstAudioTemplateMeta