NVIDIA DeepStream SDK API Reference
6.1.1 Release
Welcome
API Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
nvds_opticalflow_meta.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
3
*
4
* NVIDIA Corporation and its licensors retain all intellectual property
5
* and proprietary rights in and to this software, related documentation
6
* and any modifications thereto. Any use, reproduction, disclosure or
7
* distribution of this software and related documentation without an express
8
* license agreement from NVIDIA Corporation is strictly prohibited.
9
*
10
*/
11
27
#ifndef _NVDS_OPTICALFLOW_META_H_
28
#define _NVDS_OPTICALFLOW_META_H_
29
30
#include <gst/gst.h>
31
32
#ifdef __cplusplus
33
extern
"C"
34
{
35
#endif
36
40
typedef
struct
_NvOFFlowVector
41
{
43
gshort
flowx
;
44
46
gshort
flowy
;
47
}
NvOFFlowVector
;
48
52
typedef
struct
53
{
57
guint
rows
;
61
guint
cols
;
63
guint
mv_size
;
65
gulong
frame_num
;
67
void
*
data
;
69
void
*
priv
;
71
void
*
reserved
;
72
}
NvDsOpticalFlowMeta
;
73
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
79
NvDsOpticalFlowMeta
Holds optical flow metadata about a frame.
Definition:
nvds_opticalflow_meta.h:52
NvDsOpticalFlowMeta::cols
guint cols
Holds the number of columns in the frame for given block size, e.g.
Definition:
nvds_opticalflow_meta.h:61
NvDsOpticalFlowMeta::data
void * data
Holds a pointer to the motion vector.
Definition:
nvds_opticalflow_meta.h:67
NvDsOpticalFlowMeta::reserved
void * reserved
Reserved for internal use.
Definition:
nvds_opticalflow_meta.h:71
NvDsOpticalFlowMeta::mv_size
guint mv_size
Holds the size of the motion vector.
Definition:
nvds_opticalflow_meta.h:63
NvOFFlowVector
struct _NvOFFlowVector NvOFFlowVector
Holds motion vector information about an element.
NvDsOpticalFlowMeta::rows
guint rows
Holds the number of rows in the frame for a given block size, e.g.
Definition:
nvds_opticalflow_meta.h:57
NvDsOpticalFlowMeta::priv
void * priv
Reserved for internal use.
Definition:
nvds_opticalflow_meta.h:69
_NvOFFlowVector::flowy
gshort flowy
Holds the motion vector Y component.
Definition:
nvds_opticalflow_meta.h:46
_NvOFFlowVector::flowx
gshort flowx
Holds the motion vector X component.
Definition:
nvds_opticalflow_meta.h:43
NvDsOpticalFlowMeta::frame_num
gulong frame_num
Holds the current frame number of the source.
Definition:
nvds_opticalflow_meta.h:65
_NvOFFlowVector
Holds motion vector information about an element.
Definition:
nvds_opticalflow_meta.h:40
Advance Information | Subject to Change | Generated by NVIDIA | Fri Aug 26 2022 5:27:45 | PR-09318-R32