NVIDIA DeepStream SDK API Reference

7.0 Release
nvds_opticalflow_meta.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
28 #ifndef _NVDS_OPTICALFLOW_META_H_
29 #define _NVDS_OPTICALFLOW_META_H_
30 
31 #ifdef __cplusplus
32 extern "C"
33 {
34 #endif
35 
39 typedef struct _NvOFFlowVector
40 {
42  short flowx;
43 
45  short flowy;
47 
51 typedef struct
52 {
56  unsigned int rows;
60  unsigned int cols;
62  unsigned int mv_size;
64  unsigned int cost_size;
66  unsigned long frame_num;
68  void *data;
70  void *cost;
72  void *priv;
74  void *reserved;
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif
82 
NvDsOpticalFlowMeta::data
void * data
Holds a pointer to the motion vector.
Definition: nvds_opticalflow_meta.h:68
_NvOFFlowVector::flowy
short flowy
Holds the motion vector Y component.
Definition: nvds_opticalflow_meta.h:45
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:56
NvDsOpticalFlowMeta
Holds optical flow metadata about a frame.
Definition: nvds_opticalflow_meta.h:51
NvDsOpticalFlowMeta::cost
void * cost
Holds a pointer to the cost of the motion vector.
Definition: nvds_opticalflow_meta.h:70
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:66
NvDsOpticalFlowMeta::reserved
void * reserved
Reserved for internal use.
Definition: nvds_opticalflow_meta.h:74
NvDsOpticalFlowMeta::priv
void * priv
Reserved for internal use.
Definition: nvds_opticalflow_meta.h:72
NvDsOpticalFlowMeta::cost_size
unsigned int cost_size
Holds the size of the confidence values of the motion vector.
Definition: nvds_opticalflow_meta.h:64
_NvOFFlowVector
Holds motion vector information about an element.
Definition: nvds_opticalflow_meta.h:39
NvDsOpticalFlowMeta::mv_size
unsigned int mv_size
Holds the size of the motion vector.
Definition: nvds_opticalflow_meta.h:62
NvDsOpticalFlowMeta::cols
unsigned int cols
Holds the number of columns in the frame for given block size, e.g.
Definition: nvds_opticalflow_meta.h:60
_NvOFFlowVector::flowx
short flowx
Holds the motion vector X component.
Definition: nvds_opticalflow_meta.h:42