NVIDIA DeepStream SDK API Reference

4.0.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
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;
48 
52 typedef struct
53 {
58  guint rows;
63  guint cols;
65  guint mv_size;
67  gulong frame_num;
69  void *data;
71  void *priv;
73  void *reserved;
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif
81 
Holds information optical flow metadata information of a frame.
guint cols
number of columns present in the frame for given block size e.g.
void * data
motion vector data pointer
void * reserved
reserved field, for internal purpose only
guint mv_size
size of motion vector.
struct _NvOFFlowVector NvOFFlowVector
Holds information about motion vector information of an element.
guint rows
number of rows present in the frame for given block size e.g.
void * priv
reserved field, for internal purpose only
gshort flowy
y component of motion vector
gshort flowx
x component of motion vector
gulong frame_num
current frame number of the source
Holds information about motion vector information of an element.