DriveWorks SDK Reference
3.5.78 Release
For Test and Development only
PathDetector_processPipeline.h
Go to the documentation of this file.
1
// This code contains NVIDIA Confidential Information and is disclosed
3
// under the Mutual Non-Disclosure Agreement.
4
//
5
// Notice
6
// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7
// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8
// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9
// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10
//
11
// NVIDIA Corporation assumes no responsibility for the consequences of use of such
12
// information or for any infringement of patents or other rights of third parties that may
13
// result from its use. No license is granted by implication or otherwise under any patent
14
// or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15
// expressly authorized by NVIDIA. Details are subject to change without notice.
16
// This code supersedes and replaces all information previously supplied.
17
// NVIDIA Corporation products are not authorized for use as critical
18
// components in life support devices or systems without express written approval of
19
// NVIDIA Corporation.
20
//
21
// Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
22
//
23
// NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24
// rights in and to this software and related documentation and any modifications thereto.
25
// Any use, reproduction, disclosure or distribution of this software and related
26
// documentation without an express license agreement from NVIDIA Corporation is
27
// strictly prohibited.
28
//
30
48
#ifndef DW_PATHDETECTOR_PROCESSPIPELINE_H_
49
#define DW_PATHDETECTOR_PROCESSPIPELINE_H_
50
51
#include <
dw/perception/path/camera/PathNet.h
>
52
#include <
dw/dnn/DNN.h
>
53
#include <
dw/dnn/DataConditioner.h
>
54
#include <
dw/core/Context.h
>
55
#include <
dw/perception/path/camera/PathDetector.h
>
56
57
#ifdef __cplusplus
58
extern
"C"
{
59
#endif
60
62
typedef
enum
dwPathDetectorStage
{
63
DW_PATHDETECTOR_STAGE_GPU_ASYNC_PREPROCESSING
= 0,
64
DW_PATHDETECTOR_STAGE_GPU_ASYNC_INFERENCE
= 1,
65
DW_PATHDETECTOR_STAGE_CPU_POSTPROCESSING
= 2,
66
DW_PATHDETECTOR_STAGE_COUNT
= 3
67
}
dwPathDetectorStage
;
68
77
DW_API_PUBLIC
78
dwStatus
dwPathDetector_bindInputTensor
(
dwAutoNetOutputHandle_t
netTensor,
dwPathDetectorHandle_t
obj);
79
92
DW_API_PUBLIC
93
dwStatus
dwPathDetector_bindPathsOutput
(
dwPathDetection
* output,
94
dwPathDetectorHandle_t
obj);
95
105
DW_API_PUBLIC
106
dwStatus
dwPathDetector_process
(
dwPathDetectorStage
stage,
107
dwPathDetectorHandle_t
obj);
108
109
#ifdef __cplusplus
110
}
111
#endif
112
113
#endif // DW_PATHDETECTOR_PROCESSPIPELINE_H_
dwPathDetection
Output paths from post-processing.
Definition:
PathDetector.h:154
dwPathDetector_bindInputTensor
DW_API_PUBLIC dwStatus dwPathDetector_bindInputTensor(dwAutoNetOutputHandle_t netTensor, dwPathDetectorHandle_t obj)
Binds the network inference output tensor.
Context.h
NVIDIA DriveWorks API: Core Methods
DNN.h
NVIDIA DriveWorks API: DNN Methods
dwStatus
dwStatus
Status definition.
Definition:
Status.h:178
DataConditioner.h
NVIDIA DriveWorks API: Data Conditioner Methods
DW_PATHDETECTOR_STAGE_CPU_POSTPROCESSING
Definition:
PathDetector_processPipeline.h:65
PathDetector.h
NVIDIA DriveWorks API: PathNet Detector Methods
DW_PATHDETECTOR_STAGE_GPU_ASYNC_PREPROCESSING
Definition:
PathDetector_processPipeline.h:63
dwPathDetectorHandle_t
struct dwPathDetectorObject * dwPathDetectorHandle_t
Handle to path detector.
Definition:
PathDetector.h:182
dwPathDetectorStage
dwPathDetectorStage
Defines the processing stages of a path detector.
Definition:
PathDetector_processPipeline.h:62
dwPathDetector_process
DW_API_PUBLIC dwStatus dwPathDetector_process(dwPathDetectorStage stage, dwPathDetectorHandle_t obj)
Process the bound input frame and store the result to where pointed by bound output.
dwAutoNetOutputHandle_t
struct dwAutoNetOutputObject * dwAutoNetOutputHandle_t
Handle to a AutoNet output object.
Definition:
AutoNet.h:71
DW_PATHDETECTOR_STAGE_GPU_ASYNC_INFERENCE
Definition:
PathDetector_processPipeline.h:64
PathNet.h
NVIDIA DriveWorks API: PathNet Module
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition:
Exports.h:56
DW_PATHDETECTOR_STAGE_COUNT
Definition:
PathDetector_processPipeline.h:66
dwPathDetector_bindPathsOutput
DW_API_PUBLIC dwStatus dwPathDetector_bindPathsOutput(dwPathDetection *output, dwPathDetectorHandle_t obj)
Binds the paths output of the detector to a structure.
Advance Information | Subject to Change | Prepared and Provided under NDA | Generated by NVIDIA | Mon Nov 16 2020 19:14:16 | PR-08397-V5.0