NVIDIA DeepStream SDK API Reference

4.0.2 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvds_opticalflow_meta.h
Go to the documentation of this file.
1 
11 #ifndef _NVDS_OPTICALFLOW_META_H_
12 #define _NVDS_OPTICALFLOW_META_H_
13 
14 #include <gst/gst.h>
15 
16 #ifdef __cplusplus
17 extern "C"
18 {
19 #endif
20 
24 typedef struct _NvOFFlowVector
25 {
27  gshort flowx;
28 
30  gshort flowy;
32 
36 typedef struct
37 {
42  guint rows;
47  guint cols;
49  guint mv_size;
51  gulong frame_num;
53  void *data;
55  void *priv;
57  void *reserved;
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif
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.
guint rows
number of rows present in the frame for given block size e.g.
void * priv
reserved field, for internal purpose only
struct _NvOFFlowVector NvOFFlowVector
Copyright (c) 2019, NVIDIA CORPORATION.
gshort flowy
y component of motion vector
gshort flowx
x component of motion vector
gulong frame_num
current frame number of the source
Copyright (c) 2019, NVIDIA CORPORATION.