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
52extern "C" {
53#endif
63
75
77{
82 uint8_t useNvMedia;
84
85#ifdef __cplusplus
86}
87#endif
89#endif // DW_IMAGETRANSFORMATION_H_
uint8_t ignoreAspectRatio
Boolean indicating whether the aspect ratio of the input image should be kept (0) or the image should...
uint8_t useNvMedia
Boolean indicating whether to use NvMedia (>0) or not (0). Default is 1.
dwImageProcessingBorderMode
Border mode (valid for DW_IMAGE_CUDA types)
dwImageProcessingInterpolation
Interpolation mode.
@ DW_IMAGEPROCESSING_BORDER_MODE_MIRROR
Mirror Border Mode.
@ DW_IMAGEPROCESSING_BORDER_MODE_WRAP
Wrap Border Mode.
@ DW_IMAGEPROCESSING_BORDER_MODE_REPEAT
Repeat Border Mode.
@ DW_IMAGEPROCESSING_BORDER_MODE_ZERO
No Border.
@ DW_IMAGEPROCESSING_INTERPOLATION_POINT
Simplest form of interpolation(point)
@ DW_IMAGEPROCESSING_INTERPOLATION_DEFAULT
Bilinear interpolation.
@ DW_IMAGEPROCESSING_INTERPOLATION_LINEAR
Bilinear interpolation.