• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • Compute Graph Framework SDK Reference  5.8
    All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    dwPyramidPVANode.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) 2018-2022 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 DW_FRAMEWORK_PYRAMID_PVA_NODE_HPP_
    32#define DW_FRAMEWORK_PYRAMID_PVA_NODE_HPP_
    33
    35
    36namespace dw
    37{
    38namespace framework
    39{
    40
    42{
    43public:
    44 static constexpr char LOG_TAG[] = "dwPyramidPVANode";
    45
    46 static constexpr auto describePasses()
    47 {
    49 describePass("SETUP"_sv, DW_PROCESSOR_TYPE_CPU),
    50 describePass("PREPARE_DATA"_sv, DW_PROCESSOR_TYPE_GPU),
    51 describePass("BUILD_PYRAMID"_sv, DW_PROCESSOR_TYPE_PVA_0),
    52 describePass("POST_PROCESS"_sv, DW_PROCESSOR_TYPE_GPU),
    53 describePass("TEARDOWN"_sv, DW_PROCESSOR_TYPE_CPU));
    54 };
    55
    56 static std::unique_ptr<dwPyramidPVANode> create(ParameterProvider& provider);
    57
    58 static constexpr auto describeParameters()
    59 {
    60 return describeConstructorArguments<dwPyramidNodeParams, dwContextHandle_t>(
    63 uint32_t,
    65 "cameraIndex"_sv,
    66 &dwPyramidNodeParams::width),
    68 uint32_t,
    70 "cameraIndex"_sv,
    73 cupvaStream_t,
    75 "pvaStreamIndex"_sv,
    78 uint32_t,
    79 "pyramidLevelCount"_sv,
    82 cudaStream_t,
    83 "streamIndex"_sv,
    87 dwContextHandle_t)));
    88 }
    89
    91 const dwContextHandle_t ctx);
    92};
    93} // namespace framework
    94} // namespace dw
    95
    96#endif //DW_FRAMEWORK_PYRAMID_PVA_NODE_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_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.
    dwPyramidPVANode(const dwPyramidNodeParams &config, const dwContextHandle_t ctx)
    static constexpr char LOG_TAG[]
    static constexpr auto describePasses()
    static constexpr auto describeParameters()
    static std::unique_ptr< dwPyramidPVANode > create(ParameterProvider &provider)
    cupvaStream_t cupvastream
    Data Type of pyramid.
    constexpr std::tuple< dw::core::StringView, dwProcessorType > describePass(dw::core::StringView const &&name, dwProcessorType processorType)
    constexpr auto describeConstructorArgument(const Args &&... args)
    dwPyramidNodeParams { uint32_t width dwPyramidNodeParams
    constexpr auto describePassCollection(const Args &&... args)
    uint32_t levelCount
    Height of level 0.
    cudaStream_t stream
    uint32_t height
    Width of level 0.
    Definition: Exception.hpp:47
    人人超碰97caoporen国产