NVIDIA DeepStream SDK API Reference

9.1 Release
9.1/sources/includes/nvds_dewarper_meta.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-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 
32 #ifndef _NVDS_DEWARPER_META_H_
33 #define _NVDS_DEWARPER_META_H_
34 
35 #include <gst/gst.h>
36 
37 #ifdef __cplusplus
38 extern "C"
39 {
40 #endif
41 
42 /*
43  * Defines DeepStream Dewarper metadata.
44  */
45 
49 #define MAX_DEWARPED_VIEWS 4
50 
54 typedef enum
55 {
94 
98 typedef struct _NvDewarperSurfaceMeta {
100  guint type[MAX_DEWARPED_VIEWS];
102  guint index[MAX_DEWARPED_VIEWS];
104  guint source_id;
106  guint num_filled_surfaces;
108 
109 #ifdef __cplusplus
110 }
111 #endif
112 
113 #endif
114 
NVDS_META_SURFACE_FISH_CYL
@ NVDS_META_SURFACE_FISH_CYL
Defines Fisheye to cylindrical projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:68
NVDS_META_SURFACE_EQUIRECT_PERSPECTIVE
@ NVDS_META_SURFACE_EQUIRECT_PERSPECTIVE
Defines equirectangular to perspective projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:86
NVDS_META_SURFACE_PERSPECTIVE_PANINI
@ NVDS_META_SURFACE_PERSPECTIVE_PANINI
Defines perspective to panini projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:76
NVDS_META_SURFACE_FISH_EQUIRECT
@ NVDS_META_SURFACE_FISH_EQUIRECT
Defines Fisheye to equirectangular projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:70
_NvDewarperSurfaceMeta::num_filled_surfaces
guint num_filled_surfaces
Holds the number of filled surfaces in the frame.
Definition: sources/includes/nvds_dewarper_meta.h:106
NVDS_META_SURFACE_EQUIRECT_FISHEYE
@ NVDS_META_SURFACE_EQUIRECT_FISHEYE
Defines equirectangular to Fisheye projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:82
NVDS_META_SURFACE_FISH_PUSHBROOM
@ NVDS_META_SURFACE_FISH_PUSHBROOM
Defines the pushbroom surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:58
_NvDewarperSurfaceMeta
Holds a set of dewarper metadata.
Definition: sources/includes/nvds_dewarper_meta.h:98
NVDS_META_SURFACE_PERSPECTIVE_EQUIRECT
@ NVDS_META_SURFACE_PERSPECTIVE_EQUIRECT
Defines perspective to equirectangular projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:74
_NvDewarperSurfaceMeta::index
guint index[MAX_DEWARPED_VIEWS]
Holds an array of indices of dewarped surfaces.
Definition: sources/includes/nvds_dewarper_meta.h:102
NVDS_META_SURFACE_FISH_FISH
@ NVDS_META_SURFACE_FISH_FISH
Defines Fisheye to Fisheye projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:66
NVDS_META_SURFACE_FISH_PANINI
@ NVDS_META_SURFACE_FISH_PANINI
Defines Fisheye to panini projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:72
NVDS_META_SURFACE_PERSPECTIVE_PERSPECTIVE
@ NVDS_META_SURFACE_PERSPECTIVE_PERSPECTIVE
Defines the perspective projection with Brown distortion model surface.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:62
NVDS_META_SURFACE_EQUIRECT_EQUIRECT
@ NVDS_META_SURFACE_EQUIRECT_EQUIRECT
Defines equirectangular to equirectangular projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:80
_NvDewarperSurfaceMeta::source_id
guint source_id
Holds the source ID of the frame, e.g.
Definition: sources/includes/nvds_dewarper_meta.h:104
MAX_DEWARPED_VIEWS
#define MAX_DEWARPED_VIEWS
Maximum number of dewarped surfaces per frame supported.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:49
NVDS_META_SURFACE_NONE
@ NVDS_META_SURFACE_NONE
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:56
NVDS_META_SURFACE_EQUIRECT_PUSHBROOM
@ NVDS_META_SURFACE_EQUIRECT_PUSHBROOM
Defines equirectangular to pushbroom projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:88
NVDS_META_SURFACE_EQUIRECT_PANINI
@ NVDS_META_SURFACE_EQUIRECT_PANINI
Defines equirectangular to panini projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:84
NVDS_META_SURFACE_FISH_PERSPECTIVE
@ NVDS_META_SURFACE_FISH_PERSPECTIVE
Defines Fisheye to perspective projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:64
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: 9.1/sources/includes/nvds_dewarper_meta.h:92
NVDS_META_SURFACE_EQUIRECT_CYLINDER
@ NVDS_META_SURFACE_EQUIRECT_CYLINDER
Defines equirectangular to cylindrical projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:78
NVDS_META_SURFACE_FISH_VERTCYL
@ NVDS_META_SURFACE_FISH_VERTCYL
Defines the vertical radial cylindrical surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:60
NvDsSurfaceType
NvDsSurfaceType
Defines metadata surface types.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:54
NVDS_META_SURFACE_EQUIRECT_STEREOGRAPHIC
@ NVDS_META_SURFACE_EQUIRECT_STEREOGRAPHIC
Defines equirectangular to stereographic projection surface type.
Definition: 9.1/sources/includes/nvds_dewarper_meta.h:90
_NvDewarperSurfaceMeta::type
guint type[MAX_DEWARPED_VIEWS]
Holds an array of the types of dewarped surfaces.
Definition: sources/includes/nvds_dewarper_meta.h:100