• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • Compute Graph Framework SDK Reference  5.22
    All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    dwFeatureTrackerPVANode.hpp
    Go to the documentation of this file.
    1
    2//
    3// Notice
    4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
    5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
    6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
    7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
    8//
    9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
    10// information or for any infringement of patents or other rights of third parties that may
    11// result from its use. No license is granted by implication or otherwise under any patent
    12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
    13// expressly authorized by NVIDIA. Details are subject to change without notice.
    14// This code supersedes and replaces all information previously supplied.
    15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
    16// components in life support devices or systems without express written approval of
    17// NVIDIA CORPORATION & AFFILIATES.
    18//
    19// SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
    20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
    21//
    22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
    23// property and proprietary rights in and to this material, related
    24// documentation and any modifications thereto. Any use, reproduction,
    25// disclosure or distribution of this material and related documentation
    26// without an express license agreement from NVIDIA CORPORATION or
    27// its affiliates is strictly prohibited.
    28//
    30
    31#ifndef DWFRAMEWORK_DWNODES_IMAGEPROCESSING_DWFEATURETRACKERNODE_DWFEATURETRACKERPVANODE_HPP_
    32#define DWFRAMEWORK_DWNODES_IMAGEPROCESSING_DWFEATURETRACKERNODE_DWFEATURETRACKERPVANODE_HPP_
    33
    35
    36namespace dw
    37{
    38namespace framework
    39{
    40
    45{
    46public:
    47 // TODO(csketch): FP -- This is used when the logger is called and not just at assignment.
    48 // coverity[autosar_cpp14_a0_1_1_violation] FP: nvbugs/2980283
    49 // coverity[autosar_cpp14_m0_1_4_violation] FP: nvbugs/2980283
    50 static constexpr char8_t LOG_TAG[]{"dwFeatureTrackerPVANode"};
    51 // coverity[autosar_cpp14_a7_1_5_violation] RFD Accepted: TID-2201
    52 static constexpr auto describePasses()
    53 {
    55 describePass(StringView{"SETUP"}, DW_PROCESSOR_TYPE_CPU),
    56 describePass(StringView{"PREPARE_DATA"}, DW_PROCESSOR_TYPE_GPU),
    57 describePass(StringView{"TRACK_FEATURE"}, DW_PROCESSOR_TYPE_PVA_0),
    58 describePass(StringView{"POST_PROCESS"}, DW_PROCESSOR_TYPE_GPU),
    59 describePass(StringView{"WAIT_EVENT"}, DW_PROCESSOR_TYPE_CPU),
    60 describePass(StringView{"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
    61 };
    62
    63 static std::unique_ptr<dwFeatureTrackerPVANode> create(ParameterProvider& provider);
    64
    65 // coverity[autosar_cpp14_a7_1_5_violation] RFD Accepted: TID-2201
    66 static constexpr auto describeParameters()
    67 {
    68 // TODO(csketch): RFD -- user defined literal being interpreted as c style cast.
    69 // coverity[autosar_cpp14_a5_2_2_violation] RFD Pending: TID-1983
    71 describeConstructorArgument<dwFeatureTrackerNodeParams>(
    73 bool,
    74 "initForCamera"_sv,
    75 &dwFeatureTrackerNodeParams::initForCamera),
    77 dwCameraModelHandle_t,
    78 "cameraIndex"_sv,
    81 dwTransformation3f,
    83 "cameraIndex"_sv,
    86 dwTime_t,
    87 "nvSciChannelWaitTimeUs"_sv,
    88 0,
    91 dwFeature2DTrackerAlgorithm,
    92 "featureTrackerAlgorithm"_sv,
    93 &dwFeatureTrackerNodeParams::dwTrackerParams, &dwFeature2DTrackerConfig::algorithm),
    95 cupvaStream_t,
    97 "pvaStreamIndexFT"_sv,
    100 dwFeature2DDetectorType,
    101 "featureDetectorType"_sv,
    102 &dwFeatureTrackerNodeParams::dwTrackerParams, &dwFeature2DTrackerConfig::detectorType),
    104 uint32_t,
    105 "maxFeatureCount"_sv,
    106 &dwFeatureTrackerNodeParams::dwTrackerParams, &dwFeature2DTrackerConfig::maxFeatureCount),
    108 uint32_t,
    109 "pyramidLevelCount"_sv,
    110 &dwFeatureTrackerNodeParams::dwTrackerParams, &dwFeature2DTrackerConfig::pyramidLevelCount),
    112 uint32_t,
    114 "cameraIndex"_sv,
    115 &dwFeatureTrackerNodeParams::dwTrackerParams, &dwFeature2DTrackerConfig::imageWidth),
    117 uint32_t,
    119 "cameraIndex"_sv,
    120 &dwFeatureTrackerNodeParams::dwTrackerParams, &dwFeature2DTrackerConfig::imageHeight),
    122 cudaStream_t,
    123 "streamIndex"_sv,
    125 describeConstructorArgument<dwContextHandle_t>(
    127 dwContextHandle_t)));
    128 }
    129
    131 const dwContextHandle_t ctx);
    132 void onChannelsConnected() override;
    133};
    134} // namespace framework
    135} // namespace dw
    136
    137#endif // DWFRAMEWORK_DWNODES_IMAGEPROCESSING_DWFEATURETRACKERNODE_DWFEATURETRACKERPVANODE_HPP_
    #define DW_DESCRIBE_INDEX_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
    #define DW_DESCRIBE_INDEX_PARAMETER(TYPE_NAME, args...)
    #define DW_DESCRIBE_PARAMETER_WITH_DEFAULT(TYPE_NAME, args...)
    #define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
    #define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
    The interface to access parameter values identified by name and/or (semantic) type.
    dwFeatureTrackerPVANode(const dwFeatureTrackerNodeParams &params, const dwContextHandle_t ctx)
    static std::unique_ptr< dwFeatureTrackerPVANode > create(ParameterProvider &provider)
    dwFeature2DTrackerConfig dwTrackerParams
    constexpr std::tuple describeConstructorArguments()
    dwTransformation3f extrinsic
    cupvaStream_t cupvaStream
    constexpr PassDescriptorT< 0 > describePass(dw::core::StringView &&name, dwProcessorType processorType)
    constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
    dwTime_t nvSciChannelWaitTimeUs
    Wait time for nvSciChannel.
    dwFeatureTrackerNodeParams { bool initForCamera dwFeatureTrackerNodeParams
    dwCameraModelHandle_t intrinsic
    Definition: Buffer.hpp:41
    人人超碰97caoporen国产