NVIDIA DeepStream SDK API Reference

7.0 Release
nvds_dewarper_meta.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2022 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 
27 #ifndef _NVDS_DEWARPER_META_H_
28 #define _NVDS_DEWARPER_META_H_
29 
30 #include <gst/gst.h>
31 
32 #ifdef __cplusplus
33 extern "C"
34 {
35 #endif
36 
37 /*
38  * Defines DeepStream Dewarper metadata.
39  */
40 
44 #define MAX_DEWARPED_VIEWS 4
45 
49 typedef enum
50 {
89 
93 typedef struct _NvDewarperSurfaceMeta {
99  guint source_id;
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif
109 
NVDS_META_SURFACE_FISH_CYL
@ NVDS_META_SURFACE_FISH_CYL
Defines Fisheye to cylindrical projection surface type.
Definition: nvds_dewarper_meta.h:63
NVDS_META_SURFACE_EQUIRECT_PERSPECTIVE
@ NVDS_META_SURFACE_EQUIRECT_PERSPECTIVE
Defines equirectangular to perspective projection surface type.
Definition: nvds_dewarper_meta.h:81
NVDS_META_SURFACE_PERSPECTIVE_PANINI
@ NVDS_META_SURFACE_PERSPECTIVE_PANINI
Defines perspective to panini projection surface type.
Definition: nvds_dewarper_meta.h:71
NVDS_META_SURFACE_FISH_EQUIRECT
@ NVDS_META_SURFACE_FISH_EQUIRECT
Defines Fisheye to equirectangular projection surface type.
Definition: nvds_dewarper_meta.h:65
_NvDewarperSurfaceMeta::num_filled_surfaces
guint num_filled_surfaces
Holds the number of filled surfaces in the frame.
Definition: nvds_dewarper_meta.h:101
NVDS_META_SURFACE_EQUIRECT_FISHEYE
@ NVDS_META_SURFACE_EQUIRECT_FISHEYE
Defines equirectangular to Fisheye projection surface type.
Definition: nvds_dewarper_meta.h:77
_NvDewarperSurfaceMeta::type
guint type[MAX_DEWARPED_VIEWS]
Holds an array of the types of dewarped surfaces.
Definition: nvds_dewarper_meta.h:95
NVDS_META_SURFACE_FISH_PUSHBROOM
@ NVDS_META_SURFACE_FISH_PUSHBROOM
Defines the pushbroom surface type.
Definition: nvds_dewarper_meta.h:53
_NvDewarperSurfaceMeta
Holds a set of dewarper metadata.
Definition: nvds_dewarper_meta.h:93
NVDS_META_SURFACE_PERSPECTIVE_EQUIRECT
@ NVDS_META_SURFACE_PERSPECTIVE_EQUIRECT
Defines perspective to equirectangular projection surface type.
Definition: nvds_dewarper_meta.h:69
NVDS_META_SURFACE_FISH_FISH
@ NVDS_META_SURFACE_FISH_FISH
Defines Fisheye to Fisheye projection surface type.
Definition: nvds_dewarper_meta.h:61
NVDS_META_SURFACE_FISH_PANINI
@ NVDS_META_SURFACE_FISH_PANINI
Defines Fisheye to panini projection surface type.
Definition: nvds_dewarper_meta.h:67
NVDS_META_SURFACE_PERSPECTIVE_PERSPECTIVE
@ NVDS_META_SURFACE_PERSPECTIVE_PERSPECTIVE
Defines the perspective projection with Brown distortion model surface.
Definition: nvds_dewarper_meta.h:57
NVDS_META_SURFACE_EQUIRECT_EQUIRECT
@ NVDS_META_SURFACE_EQUIRECT_EQUIRECT
Defines equirectangular to equirectangular projection surface type.
Definition: nvds_dewarper_meta.h:75
_NvDewarperSurfaceMeta::source_id
guint source_id
Holds the source ID of the frame, e.g.
Definition: nvds_dewarper_meta.h:99
MAX_DEWARPED_VIEWS
#define MAX_DEWARPED_VIEWS
Maximum number of dewarped surfaces per frame supported.
Definition: nvds_dewarper_meta.h:44
NVDS_META_SURFACE_NONE
@ NVDS_META_SURFACE_NONE
Definition: nvds_dewarper_meta.h:51
NVDS_META_SURFACE_EQUIRECT_PUSHBROOM
@ NVDS_META_SURFACE_EQUIRECT_PUSHBROOM
Defines equirectangular to pushbroom projection surface type.
Definition: nvds_dewarper_meta.h:83
NVDS_META_SURFACE_EQUIRECT_PANINI
@ NVDS_META_SURFACE_EQUIRECT_PANINI
Defines equirectangular to panini projection surface type.
Definition: nvds_dewarper_meta.h:79
NVDS_META_SURFACE_FISH_PERSPECTIVE
@ NVDS_META_SURFACE_FISH_PERSPECTIVE
Defines Fisheye to perspective projection surface type.
Definition: nvds_dewarper_meta.h:59
NvDewarperSurfaceMeta
struct _NvDewarperSurfaceMeta NvDewarperSurfaceMeta
Holds a set of dewarper metadata.
NVDS_META_SURFACE_EQUIRECT_VERTCYLINDER
@ NVDS_META_SURFACE_EQUIRECT_VERTCYLINDER
Defines equirectangular to vertical radial cylindrical projection surface type.
Definition: nvds_dewarper_meta.h:87
NVDS_META_SURFACE_EQUIRECT_CYLINDER
@ NVDS_META_SURFACE_EQUIRECT_CYLINDER
Defines equirectangular to cylindrical projection surface type.
Definition: nvds_dewarper_meta.h:73
NVDS_META_SURFACE_FISH_VERTCYL
@ NVDS_META_SURFACE_FISH_VERTCYL
Defines the vertical radial cylindrical surface type.
Definition: nvds_dewarper_meta.h:55
NvDsSurfaceType
NvDsSurfaceType
Defines metadata surface types.
Definition: nvds_dewarper_meta.h:49
NVDS_META_SURFACE_EQUIRECT_STEREOGRAPHIC
@ NVDS_META_SURFACE_EQUIRECT_STEREOGRAPHIC
Defines equirectangular to stereographic projection surface type.
Definition: nvds_dewarper_meta.h:85
_NvDewarperSurfaceMeta::index
guint index[MAX_DEWARPED_VIEWS]
Holds an array of indices of dewarped surfaces.
Definition: nvds_dewarper_meta.h:97