NVIDIA DeepStream SDK API Reference

9.0 Release
sources/libs/nvll_osd/cuda/obb_scanline.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2026 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 
13 #ifndef __OBB_SCANLINE_H__
14 #define __OBB_SCANLINE_H__
15 
16 #include <cuda_runtime.h>
17 #include <stdint.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
42 cudaError_t obb_scanline_rotate_gpu(
43  const uint8_t *aabb_pixels,
44  uint8_t *obb_pixels,
45  int aabb_width,
46  int aabb_height,
47  int aabb_pitch,
48  int obb_width,
49  int obb_height,
50  float obb_cx,
51  float obb_cy,
52  float angle_rad,
53  cudaStream_t stream);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* __OBB_SCANLINE_H__ */
60 
cudaStream_t
struct CUstream_st * cudaStream_t
Forward declaration of cudaStream_t.
Definition: sources/includes/nvbufsurftransform.h:35
obb_scanline_rotate_gpu
cudaError_t obb_scanline_rotate_gpu(const uint8_t *aabb_pixels, uint8_t *obb_pixels, int aabb_width, int aabb_height, int aabb_pitch, int obb_width, int obb_height, float obb_cx, float obb_cy, float angle_rad, cudaStream_t stream)
Perform scanline-based OBB rotation on GPU.