NVIDIA DeepStream SDK API Reference

6.4 Release
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 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif
34 
38 typedef struct _NvOFFlowVector
39 {
41  short flowx;
42 
44  short flowy;
46 
50 typedef struct
51 {
55  unsigned int rows;
59  unsigned int cols;
61  unsigned int mv_size;
63  unsigned long frame_num;
65  void *data;
67  void *priv;
69  void *reserved;
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif
77 
NvDsOpticalFlowMeta::data
void * data
Holds a pointer to the motion vector.
Definition: nvds_opticalflow_meta.h:65
_NvOFFlowVector::flowy
short flowy
Holds the motion vector Y component.
Definition: nvds_opticalflow_meta.h:44
NvDsOpticalFlowMeta::rows
unsigned int rows
Holds the number of rows in the frame for a given block size, e.g.
Definition: nvds_opticalflow_meta.h:55
NvDsOpticalFlowMeta
Holds optical flow metadata about a frame.
Definition: nvds_opticalflow_meta.h:50
NvOFFlowVector
struct _NvOFFlowVector NvOFFlowVector
Holds motion vector information about an element.
NvDsOpticalFlowMeta::frame_num
unsigned long frame_num
Holds the current frame number of the source.
Definition: nvds_opticalflow_meta.h:63
NvDsOpticalFlowMeta::reserved
void * reserved
Reserved for internal use.
Definition: nvds_opticalflow_meta.h:69
NvDsOpticalFlowMeta::priv
void * priv
Reserved for internal use.
Definition: nvds_opticalflow_meta.h:67
_NvOFFlowVector
Holds motion vector information about an element.
Definition: nvds_opticalflow_meta.h:38
NvDsOpticalFlowMeta::mv_size
unsigned int mv_size
Holds the size of the motion vector.
Definition: nvds_opticalflow_meta.h:61
NvDsOpticalFlowMeta::cols
unsigned int cols
Holds the number of columns in the frame for given block size, e.g.
Definition: nvds_opticalflow_meta.h:59
_NvOFFlowVector::flowx
short flowx
Holds the motion vector X component.
Definition: nvds_opticalflow_meta.h:41