DriveWorks SDK Reference
5.16.65 Release
For Test and Development only
ImageProcessingCommon.h
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) 2015-2023 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
46
#include <stdint.h>
47
48
#ifndef DW_IMAGEPROCESSING_COMMON_H_
49
#define DW_IMAGEPROCESSING_COMMON_H_
50
51
#ifdef __cplusplus
52
extern
"C"
{
53
#endif
55
typedef
enum
dwImageProcessingInterpolation
{
57
DW_IMAGEPROCESSING_INTERPOLATION_DEFAULT
,
59
DW_IMAGEPROCESSING_INTERPOLATION_LINEAR
,
61
DW_IMAGEPROCESSING_INTERPOLATION_POINT
62
}
dwImageProcessingInterpolation
;
63
65
typedef
enum
dwImageProcessingBorderMode
{
67
DW_IMAGEPROCESSING_BORDER_MODE_ZERO
= 0,
69
DW_IMAGEPROCESSING_BORDER_MODE_MIRROR
= 1,
71
DW_IMAGEPROCESSING_BORDER_MODE_REPEAT
= 2,
73
DW_IMAGEPROCESSING_BORDER_MODE_WRAP
= 3,
74
}
dwImageProcessingBorderMode
;
75
76
typedef
struct
dwImageTransformationParameters
77
{
80
uint8_t
ignoreAspectRatio
;
82
uint8_t
useNvMedia
;
83
}
dwImageTransformationParameters
;
84
85
#ifdef __cplusplus
86
}
87
#endif
89
#endif
// DW_IMAGETRANSFORMATION_H_
dwImageTransformationParameters::ignoreAspectRatio
uint8_t ignoreAspectRatio
Boolean indicating whether the aspect ratio of the input image should be kept (0) or the image should...
Definition:
ImageProcessingCommon.h:80
dwImageTransformationParameters::useNvMedia
uint8_t useNvMedia
Boolean indicating whether to use NvMedia (>0) or not (0). Default is 1.
Definition:
ImageProcessingCommon.h:82
dwImageProcessingBorderMode
dwImageProcessingBorderMode
Border mode (valid for DW_IMAGE_CUDA types)
Definition:
ImageProcessingCommon.h:65
dwImageProcessingInterpolation
dwImageProcessingInterpolation
Interpolation mode.
Definition:
ImageProcessingCommon.h:55
DW_IMAGEPROCESSING_BORDER_MODE_MIRROR
@ DW_IMAGEPROCESSING_BORDER_MODE_MIRROR
Mirror Border Mode.
Definition:
ImageProcessingCommon.h:69
DW_IMAGEPROCESSING_BORDER_MODE_WRAP
@ DW_IMAGEPROCESSING_BORDER_MODE_WRAP
Wrap Border Mode.
Definition:
ImageProcessingCommon.h:73
DW_IMAGEPROCESSING_BORDER_MODE_REPEAT
@ DW_IMAGEPROCESSING_BORDER_MODE_REPEAT
Repeat Border Mode.
Definition:
ImageProcessingCommon.h:71
DW_IMAGEPROCESSING_BORDER_MODE_ZERO
@ DW_IMAGEPROCESSING_BORDER_MODE_ZERO
No Border.
Definition:
ImageProcessingCommon.h:67
DW_IMAGEPROCESSING_INTERPOLATION_POINT
@ DW_IMAGEPROCESSING_INTERPOLATION_POINT
Simplest form of interpolation(point)
Definition:
ImageProcessingCommon.h:61
DW_IMAGEPROCESSING_INTERPOLATION_DEFAULT
@ DW_IMAGEPROCESSING_INTERPOLATION_DEFAULT
Bilinear interpolation.
Definition:
ImageProcessingCommon.h:57
DW_IMAGEPROCESSING_INTERPOLATION_LINEAR
@ DW_IMAGEPROCESSING_INTERPOLATION_LINEAR
Bilinear interpolation.
Definition:
ImageProcessingCommon.h:59
dwImageTransformationParameters
Definition:
ImageProcessingCommon.h:77
Advance Information | Subject to Change | Prepared and Provided under NDA | Generated by NVIDIA | PR-08397-V5.0