NVIDIA DeepStream SDK API Reference

7.1 Release
gstnvdewarper.h File Reference

Detailed Description

SPDX-FileCopyrightText: Copyright (c) 2019-2022 NVIDIA CORPORATION & AFFILIATES.

All rights reserved. SPDX-License-Identifier: MIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NVIDIA DeepStream GStreamer nvdewarper API Specification

Description: This file specifies the data structures for the DeepStream GStreamer nvdewarper Plugin.

Definition in file gstnvdewarper.h.

Go to the source code of this file.

Data Structures

struct  _NvDewarperParams
 Holds all the configuration parameters required for dewarping a surface. More...
 
struct  _NvDewarperPriv
 Data structure contaning dewarping parameters for all the output surfaces. More...
 
struct  _Gstnvdewarper
 Gstnvdewarper element structure. More...
 
struct  _GstnvdewarperClass
 GStreamer boilerplate. More...
 

Macros

#define DISTORTION_SIZE   5
 Maximum number of distortion coefficients. More...
 
#define FOCAL_LENGTH_SIZE   2
 Focal length array size : two values for X & Y direction. More...
 
#define ROTATION_MATRIX_SIZE   9
 Standard rotation matrix size. More...
 
#define GST_TYPE_NVDEWARPER   (gst_nvdewarper_get_type())
 
#define GST_NVDEWARPER(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDEWARPER,Gstnvdewarper))
 
#define GST_NVDEWARPER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDEWARPER,GstnvdewarperClass))
 
#define GST_IS_NVDEWARPER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDEWARPER))
 
#define GST_IS_NVDEWARPER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDEWARPER))
 

Typedefs

typedef struct _Gstnvdewarper Gstnvdewarper
 
typedef struct _GstnvdewarperClass GstnvdewarperClass
 
typedef struct _NvDewarperParams NvDewarperParams
 Holds all the configuration parameters required for dewarping a surface. More...
 
typedef struct _NvDewarperPriv NvDewarperPriv
 Data structure contaning dewarping parameters for all the output surfaces. More...
 

Functions

GType gst_nvdewarper_get_type (void)
 

Macro Definition Documentation

◆ DISTORTION_SIZE

#define DISTORTION_SIZE   5

Maximum number of distortion coefficients.

Definition at line 53 of file gstnvdewarper.h.

◆ FOCAL_LENGTH_SIZE

#define FOCAL_LENGTH_SIZE   2

Focal length array size : two values for X & Y direction.

Definition at line 54 of file gstnvdewarper.h.

◆ ROTATION_MATRIX_SIZE

#define ROTATION_MATRIX_SIZE   9

Standard rotation matrix size.

Definition at line 55 of file gstnvdewarper.h.

Typedef Documentation

◆ NvDewarperParams

Holds all the configuration parameters required for dewarping a surface.

All these configurations can be set by the user under the "surface" category in config file

◆ NvDewarperPriv

Data structure contaning dewarping parameters for all the output surfaces.

Function Documentation

◆ gst_nvdewarper_get_type()

GType gst_nvdewarper_get_type ( void  )