OpCornerSubPix.h#

Fully qualified name: public/src/operator/include/OpCornerSubPix.h

File members: public/src/operator/include/OpCornerSubPix.h

/*
 * SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
 *
 * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
 * property and proprietary rights in and to this material, related
 * documentation and any modifications thereto. Any use, reproduction,
 * disclosure or distribution of this material and related documentation
 * without an express license agreement from NVIDIA CORPORATION or
 * its affiliates is strictly prohibited.
 */

#ifndef PVA_SOLUTIONS_CORNER_SUB_PIX_H
#define PVA_SOLUTIONS_CORNER_SUB_PIX_H

#include <PvaOperator.h>
#include <cupva_host_scheduling.h>
#include <nvcv/Size.h>
#include <nvcv/Status.h>
#include <nvcv/Tensor.h>

#ifdef __cplusplus
extern "C" {
#endif

NVCVStatus pvaCornerSubPixCreate(NVCVOperatorHandle *handle, NVCVTensorRequirements *cornerParams,
                                 NVCVTensorRequirements *imageParams, const NVCVSize2D winSize,
                                 const NVCVSize2D zeroZone);

NVCVStatus pvaCornerSubPixSubmit(NVCVOperatorHandle handle, cupvaStream_t stream, NVCVTensorHandle inCorners,
                                 NVCVTensorHandle outCorners, NVCVTensorHandle image, const int32_t maxIters,
                                 const float eps, const int32_t numCorners);

#ifdef __cplusplus
}
#endif

#endif /* PVA_SOLUTIONS_CORNER_SUB_PIX_H */