NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/includes/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 
_NvOFFlowVector::flowy
short flowy
Holds the motion vector Y component.
Definition: sources/includes/nvds_opticalflow_meta.h:45
NvDsOpticalFlowMeta
Holds optical flow metadata about a frame.
Definition: sources/includes/nvds_opticalflow_meta.h:51
NvOFFlowVector
struct _NvOFFlowVector NvOFFlowVector
Holds motion vector information about an element.
_NvOFFlowVector
Holds motion vector information about an element.
Definition: sources/includes/nvds_opticalflow_meta.h:39
_NvOFFlowVector::flowx
short flowx
Holds the motion vector X component.
Definition: sources/includes/nvds_opticalflow_meta.h:42