DriveWorks SDK Reference
5.6.215 Release
For Test and Development only

Image.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) 2016-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
50#ifndef DW_IMAGE_IMAGE_H_
51#define DW_IMAGE_IMAGE_H_
52
53#include <dw/core/Config.h>
55#include <dw/core/base/Types.h>
56#include <dw/core/base/Status.h>
58
59// Forward defines from GL
60// Note: GL defines the specific bitdepth of these types
61// so it is safe to declare then here without including GL.h
62typedef uint32_t GLenum;
63typedef uint32_t GLuint;
64
65#if (defined(__cplusplus) && (defined(LINUX) || defined(VIBRANTE)))
66#pragma GCC diagnostic push
67#pragma GCC diagnostic ignored "-Wold-style-cast"
68#endif
69
70#include <cuda_runtime.h>
71
72#if (defined(__cplusplus) && (defined(LINUX) || defined(VIBRANTE)))
73#pragma GCC diagnostic pop
74#endif
75
76#ifdef VIBRANTE
77#include <sys/time.h>
78#if VIBRANTE_PDK_DECIMAL < 6000400
79#include <nvmedia_image.h>
80#include <nvmedia_isp_stat.h>
81#else
82//#include <NvSIPLISPStat.hpp>
83#endif //#if VIBRANTE_PDK_DECIMAL < 6000400
84#include <nvscibuf.h>
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91#define DW_MAX_IMAGE_PLANES 3
92#define DW_ISP_MAX_COLOR_COMPONENT (4U)
94#define DW_MAX_NUM_TEMPERATURES 4
95
97typedef enum dwImageType {
100#ifdef VIBRANTE
102#endif
103
106 DW_IMAGE_GL = 0xFF
108
109typedef struct dwImageObject* dwImageHandle_t;
110typedef struct dwImageObject const* dwConstImageHandle_t;
111typedef struct dwImageAllocationAttrList* dwImageAllocationAttrListHandle_t;
112
114typedef struct dwImagePool
115{
119
122typedef enum dwImageFormat {
125
126 // Interleaved formats
128
135
141
150
156
158
159 // interleaved YUV444 format
162
163 // Planar formats
170
175
180
186
187 // planar YUV 444
190
196
198
200typedef enum {
207
209
211typedef struct dwImageDataLines
212{
213 uint32_t bytesPerLine;
214
217
219 uint8_t* topLineData;
222
224typedef enum {
225
230
233
236
240
244
247
250
253
256
259
263
265{
273
276{
279
282
285
288
291
294
297
300
303
306
309
319
321{
323 uint32_t msbPosition;
324
331
337
339typedef struct dwImageMetaData
340{
342 uint32_t flags;
343
346 DW_DEPRECATED("This structure variable is deprecated and will be removed in the next major release. Please use the new variable in sensorStatistics in this struct");
347
350 DW_DEPRECATED("This structure variable is deprecated and will be removed in the next major release. Please use the new variable in sensorStatistics in this struct");
351
354 DW_DEPRECATED("This structure variable is deprecated and will be removed in the next major release. Please use the new variable in sensorStatistics in this struct");
355
358 DW_DEPRECATED("This structure variable is deprecated and will be removed in the next major release. Please use the new variable in sensorStatistics in this struct");
359
361 float32_t wbGain[4] DW_DEPRECATED("This structure variable is deprecated and will be removed in the next major release. Please use the new variable in sensorStatistics in this struct");
362
364 uint32_t msbPosition
365 DW_DEPRECATED("This structure variable is deprecated and will be removed in the next major release. Please use the new variable in rawProperties in this struct");
366
369
376
377 // Holds properties unique to raw images
379
380 // All paramters from here are read-only
381
384
387
391
393typedef struct dwImageProperties
394{
398 uint32_t width;
400 uint32_t height;
408
410typedef struct dwImageCPU
411{
420} dwImageCPU;
421
423typedef struct dwImageCUDA
424{
428 size_t pitch[DW_MAX_IMAGE_PLANES]; // pitch in bytes
436
437#ifdef VIBRANTE
439typedef struct dwImageNvMedia
440{
443#if VIBRANTE_PDK_DECIMAL < 6000400
445 NvMediaImage* img
446 DW_DEPRECATED("NvMediaImage is deprecated and will be removed in the next major release.");
447#endif
449 NvSciBufObj imgBuf;
453#endif
454
468 dwImageProperties properties,
469 dwContextHandle_t const ctx);
470
489 dwImageProperties properties,
490 void* const buffersIn[DW_MAX_IMAGE_PLANES],
491 size_t const pitches[DW_MAX_IMAGE_PLANES], size_t const bufferCount,
492 dwContextHandle_t const ctx);
493
510 dwImageProperties properties,
511 cudaArray_t const buffers[DW_MAX_IMAGE_PLANES], size_t const bufferCount,
512 dwContextHandle_t const ctx);
513
514#ifdef VIBRANTE
515#if VIBRANTE_PDK_DECIMAL < 6000400
526DW_DEPRECATED("dwImage_createAndBindNvMedia is deprecated. Since NvMediaImage is entirely removed this functionality is entirely removed. .")
528#endif
529#endif
530
542
543// specifiers
544
556
568
580
593
605
618dwStatus dwImage_getCPU(dwImageCPU** const imageCPU, dwImageHandle_t const image);
619
631dwStatus dwImage_getCUDA(dwImageCUDA** const imageCUDA, dwImageHandle_t const image);
632
633#ifdef VIBRANTE
647#endif
648
660
671dwStatus dwImage_getPlaneCount(size_t* const planeCount, dwImageFormat const format);
672
693
714dwStatus dwImage_copyConvertAsync(dwImageHandle_t const output, dwConstImageHandle_t const input, cudaStream_t const stream, dwContextHandle_t const context);
715
729 dwImageCUDA const* const srcImage,
730 uint32_t const planeIdx);
731
744DW_API_PUBLIC dwStatus dwImageCUDA_mapToROI(dwImageCUDA* const dstImg, dwImageCUDA const* const srcImg, dwRect const roi);
745
763 size_t* const planeCount,
764 uint32_t planeChannelCount[DW_MAX_IMAGE_PLANES],
766 dwImageProperties const* const prop);
767
768#ifdef __cplusplus
769}
770#endif
771
773#endif // DW_IMAGE_IMAGE_H_
NVIDIA DriveWorks API: Core Status Methods
NVIDIA DriveWorks API: Core Types
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Core Exports
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:79
#define DW_DEPRECATED(msg)
Definition: Exports.h:66
#define DW_API_PUBLIC
Definition: Exports.h:54
dwStatus
Status definition.
Definition: Status.h:170
float float32_t
Specifies POD types.
Definition: Types.h:70
dwTrivialDataType
Specifies a type indicator of the underlying trivial data type.
Definition: Types.h:103
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: Types.h:82
double float64_t
Definition: Types.h:71
Defines a rectangle.
Definition: Types.h:203
Defines a two-element unsigned-integer vector.
Definition: Types.h:347
dwVector2ui embeddedDataSize
this defines the number of rows before and after the image
Definition: Image.h:216
uint8_t * topLineData
pointer to the beginning of top and bottom lines
Definition: Image.h:219
NvMediaImage * img
Holds the pointer to the NvMedia image.
Definition: Image.h:446
dwImageProperties prop
Specifies the properites of the image.
Definition: Image.h:413
void * dptr[DW_MAX_IMAGE_PLANES]
Holds the pointer to the image planes.
Definition: Image.h:430
dwTime_t timestamp_us
Specifies the time, in microseconds, when the image was acquired.
Definition: Image.h:419
dwImageProperties prop
Defines the properties of the image.
Definition: Image.h:426
float32_t wbGain[4]
Specifies the sensor white balance gains : R(0) G1(1) G2(2) B(3)
Definition: Image.h:361
float32_t analogGain
Specifies the analog Gain.
Definition: Image.h:350
dwImageHandle_t * images
Definition: Image.h:116
dwTime_t timestamp_us
Specifies the time, in microseconds, when the image was acquired.
Definition: Image.h:451
float32_t conversionGain
Specifies the conversion Gain.
Definition: Image.h:284
float32_t x
Holds X coordinate of the control point.
Definition: Image.h:267
uint32_t msbPosition
Specifies the msb of the pixel data.
Definition: Image.h:365
dwImageType type
Specifies the type of image.
Definition: Image.h:396
uint32_t rawFormatDescriptor
Describes the raw order and used when explicitly creating a DW_IMAGE_NVMEDIA if DW_IMAGE_FLAGS_HAS_RA...
Definition: Image.h:330
uint32_t bytesPerLine
Definition: Image.h:213
uint32_t rawBitDataType
Describes the raw pixel depth, specified like the above format descriptor by 1 - NVM_SURF_ATTR_BITS_P...
Definition: Image.h:335
uint32_t msbPosition
Specifies the msb of the pixel data.
Definition: Image.h:323
size_t pitch[DW_MAX_IMAGE_PLANES]
Defines the pitch of each plane in bytes.
Definition: Image.h:428
float32_t conversionGain
Specifies the conversion Gain.
Definition: Image.h:354
float64_t luminanceCalibrationFactor
Holds luminance constant (aperture^2/Kc) value for calibrated camera.
Definition: Image.h:296
dwImageSplineControlPoint gtmSplineControlPoint[18U]
Holds the global tonemap block, containing a set of spline control points.
Definition: Image.h:386
float32_t digitalGain
Specifies the digital Gain.
Definition: Image.h:358
uint8_t * bottomLineData
Definition: Image.h:220
dwImageDataLines dataLines
embedded data lines.
Definition: Image.h:375
dwImageAllocationAttrListHandle_t allocAttrs
Allocation attributes used by internal drivers.
Definition: Image.h:389
dwImageProperties prop
Holds image properties.
Definition: Image.h:442
uint32_t frameSequenceNumber
Holds a frame sequence number, that is, a monotonically increasing frame counter.
Definition: Image.h:368
float32_t brightnessKey
Holds the scene brightness key.
Definition: Image.h:305
uint32_t height
Specifies the height of the image in pixels.
Definition: Image.h:400
uint8_t numTemperatures
Holds the number of active temperatures.
Definition: Image.h:313
float32_t wbGain[4]
Specifies the sensor white balance gains : R(0) G1(1) G2(2) B(3)
Definition: Image.h:290
uint32_t width
Specifies the width of the image in pixels.
Definition: Image.h:398
cudaArray_t array[DW_MAX_IMAGE_PLANES]
Holds the CUDA image plane data.
Definition: Image.h:432
float32_t cct
Holds the correlated color temperature.
Definition: Image.h:302
float32_t analogGain
Specifies the analog Gain.
Definition: Image.h:281
float32_t exposureTime
Specifies the exposure time (microsecond)
Definition: Image.h:346
float32_t rawImageMidTone
Holds the midtone value of the raw image.
Definition: Image.h:308
NvSciBufObj imgBuf
Holds the pointer to the NvSciBufObj image.
Definition: Image.h:449
dwImageSensorStatistics sensorStatistics
Holds info on sensor statistics at the time of the image capture.
Definition: Image.h:383
float32_t digitalGain
Specifies the digital Gain.
Definition: Image.h:287
dwImageFormat format
Specifies the format of the image.
Definition: Image.h:402
float32_t sensorTempCelsius[DW_MAX_NUM_TEMPERATURES]
Holds the values of active sensor temperatures in degrees Celsius.
Definition: Image.h:317
dwImageRawProperties rawProperties
Definition: Image.h:378
float32_t exposureTime
Specifies the exposure time (microsecond)
Definition: Image.h:278
size_t pitch[DW_MAX_IMAGE_PLANES]
Specifies the pitch of the image in bytes.
Definition: Image.h:415
dwTime_t timestamp_us
Specifies the time, in microseconds, when the image was acquired.
Definition: Image.h:434
float32_t y
Holds Y coordinate of the control point.
Definition: Image.h:269
float32_t alpha
Holds power factor for isp statistics compression. Valid range: [0.5, 1.0].
Definition: Image.h:293
float32_t autoAwbGainGain[DW_ISP_MAX_COLOR_COMPONENT]
Holds the total white balance gains, which includes both sensor channel and ISP gains.
Definition: Image.h:299
dwImageMetaData meta
additional meta information stored with the image. Not all images might provide it
Definition: Image.h:404
float64_t slope
Holds slope of the spline curve at the control point.
Definition: Image.h:271
uint32_t flags
combination of multiple flags 'dwImageMetaDataFlags' defining which of the meta fields are valid
Definition: Image.h:342
uint8_t * data[DW_MAX_IMAGE_PLANES]
Specifies the raw image data.
Definition: Image.h:417
dwImageMemoryType memoryLayout
Memory layout type.
Definition: Image.h:406
size_t imageCount
Definition: Image.h:117
DW_API_PUBLIC dwStatus dwImage_getPlaneCount(size_t *const planeCount, dwImageFormat const format)
Retrieves number of planes of the image format.
struct dwImageObject * dwImageHandle_t
Definition: Image.h:109
#define DW_MAX_NUM_TEMPERATURES
should be the same as the DEVBLK_CDI_MAX_NUM_TEMPERATURES in NvSIPLCDICommon.h of NvSIPL
Definition: Image.h:94
uint32_t GLuint
Definition: Image.h:63
DW_API_PUBLIC dwStatus dwImage_getMetaData(dwImageMetaData *const metaData, dwConstImageHandle_t const image)
Retrieves the metadata of a dwImageHandle_t.
DW_API_PUBLIC dwStatus dwImage_copyConvert(dwImageHandle_t const output, dwConstImageHandle_t const input, dwContextHandle_t const context)
Converts CUDA or NvMedia images by copying into an output image, following the properties in the outp...
DW_API_PUBLIC dwStatus dwImageCUDA_getPlaneAsImage(dwImageCUDA *const planeImage, dwImageCUDA const *const srcImage, uint32_t const planeIdx)
Returns a specific plane of a CUDA image as its own single-plane CUDA image.
struct dwImageObject const * dwConstImageHandle_t
Definition: Image.h:110
DW_API_PUBLIC dwStatus dwImage_getTimestamp(dwTime_t *const timestamp, dwConstImageHandle_t const image)
Retrieves the timestamp of acquisition of a dwImageHandle_t.
DW_API_PUBLIC dwStatus dwImage_createAndBindCUDAArray(dwImageHandle_t *const image, dwImageProperties properties, cudaArray_t const buffers[DW_MAX_IMAGE_PLANES], size_t const bufferCount, dwContextHandle_t const ctx)
Creates a dwImageHandle_t based on the properties passed and binds a cudaArray_t to it.
dwImageType
Specifies the image type.
Definition: Image.h:97
DW_API_PUBLIC dwStatus dwImage_createAndBindBuffer(dwImageHandle_t *const image, dwImageProperties properties, void *const buffersIn[DW_MAX_IMAGE_PLANES], size_t const pitches[DW_MAX_IMAGE_PLANES], size_t const bufferCount, dwContextHandle_t const ctx)
Creates a dwImageHandle_t based on the properties passed and binds a memory buffer provided by the ap...
dwImageMemoryType
Specifies memory type layout.
Definition: Image.h:200
DW_API_PUBLIC dwStatus dwImage_createAndBindNvMedia(dwImageHandle_t *image, NvMediaImage *nvmImage)
Creates a dwImageHandle_t based on an nvmedia image.
uint32_t GLenum
Definition: Image.h:62
DW_API_PUBLIC dwStatus dwImage_getNvMedia(dwImageNvMedia **imageNvMedia, dwImageHandle_t image)
Retrieves the dwImageNvMedia of a dwImageHandle_t.
DW_API_PUBLIC dwStatus dwImage_create(dwImageHandle_t *const image, dwImageProperties properties, dwContextHandle_t const ctx)
Creates and allocates resources for a dwImageHandle_t based on the properties passed as input.
DW_API_PUBLIC dwStatus dwImage_setTimestamp(dwTime_t const timestamp, dwImageHandle_t const image)
Sets the timestamp of a dwImageHandle_t.
DW_API_PUBLIC dwStatus dwImage_getProperties(dwImageProperties *const properties, dwConstImageHandle_t const image)
Retrieves the properties of a dwImageHandle_t.
DW_API_PUBLIC dwStatus dwImage_getCUDA(dwImageCUDA **const imageCUDA, dwImageHandle_t const image)
Retrieves the dwImageCUDA of a dwImageHandle_t.
dwImageFormat
Format of the image represented as DW_IMAGE_FORMAT_COLORSPACE(_PIXELTYPE)(_PIXELORDER)
Definition: Image.h:122
struct dwImageAllocationAttrList * dwImageAllocationAttrListHandle_t
Definition: Image.h:111
DW_API_PUBLIC dwStatus dwImage_setMetaData(dwImageMetaData const *const metaData, dwImageHandle_t const image)
Sets the metadata of a dwImageHandle_t.
DW_API_PUBLIC dwStatus dwImage_copyConvertAsync(dwImageHandle_t const output, dwConstImageHandle_t const input, cudaStream_t const stream, dwContextHandle_t const context)
Converts CUDA or NvMedia images by copying into an output image, following the properties in the outp...
DW_API_PUBLIC dwStatus dwImage_destroy(dwImageHandle_t const image)
Destroys the image handle and frees any memory created by dwImage_create().
DW_API_PUBLIC dwStatus dwImage_getDataLayout(size_t *const elementSize, size_t *const planeCount, uint32_t planeChannelCount[DW_MAX_IMAGE_PLANES], dwVector2ui planeSize[DW_MAX_IMAGE_PLANES], dwImageProperties const *const prop)
Returns the expected data layout of an image given its properties.
dwImageMetaDataFlags
Flags defining the meta information available in an image.
Definition: Image.h:224
#define DW_MAX_IMAGE_PLANES
Definition: Image.h:91
#define DW_ISP_MAX_COLOR_COMPONENT
Definition: Image.h:92
DW_API_PUBLIC dwStatus dwImage_getPixelType(dwTrivialDataType *const type, dwImageFormat const format)
Retrieves dwTrivialDataType associated with a specific format.
DW_API_PUBLIC dwStatus dwImageCUDA_mapToROI(dwImageCUDA *const dstImg, dwImageCUDA const *const srcImg, dwRect const roi)
Returns a dwImageCUDA that is mapped to a region of interest in the data of the srcImg.
DW_API_PUBLIC dwStatus dwImage_getCPU(dwImageCPU **const imageCPU, dwImageHandle_t const image)
Retrieves the dwImageCPU of a dwImageHandle_t.
@ DW_IMAGE_CUDA
Definition: Image.h:99
@ DW_IMAGE_GL
This type is provided here for completeness only.
Definition: Image.h:106
@ DW_IMAGE_CPU
Definition: Image.h:98
@ DW_IMAGE_NVMEDIA
Definition: Image.h:101
@ DW_IMAGE_MEMORY_TYPE_PITCH
pitch linear memory layout
Definition: Image.h:204
@ DW_IMAGE_MEMORY_TYPE_DEFAULT
the default memory layout for a given image type, can be either pitch or block
Definition: Image.h:202
@ DW_IMAGE_MEMORY_TYPE_BLOCK
block memory layout
Definition: Image.h:206
@ DW_IMAGE_FORMAT_RGBA_FLOAT16
Definition: Image.h:153
@ DW_IMAGE_FORMAT_RGB_UINT16_PLANAR
Definition: Image.h:165
@ DW_IMAGE_FORMAT_RCC_FLOAT32_PLANAR
Not backed by NvSci.
Definition: Image.h:179
@ DW_IMAGE_FORMAT_RGBA_UINT8
Definition: Image.h:151
@ DW_IMAGE_FORMAT_RGB_UINT8_PLANAR
Definition: Image.h:164
@ DW_IMAGE_FORMAT_YUV422_UINT8_SEMIPLANAR
Definition: Image.h:185
@ DW_IMAGE_FORMAT_VUYX_UINT16
Definition: Image.h:161
@ DW_IMAGE_FORMAT_RG_INT16
Definition: Image.h:136
@ DW_IMAGE_FORMAT_RGB_FLOAT32
Not backed by NvSci.
Definition: Image.h:149
@ DW_IMAGE_FORMAT_RGBA_FLOAT32
Not backed by NvSci.
Definition: Image.h:155
@ DW_IMAGE_FORMAT_R_UINT32
Definition: Image.h:131
@ DW_IMAGE_FORMAT_R_FLOAT32
Not backed by NvSci.
Definition: Image.h:134
@ DW_IMAGE_FORMAT_RGBA_UINT16
Definition: Image.h:152
@ DW_IMAGE_FORMAT_RGBX_FLOAT16
Definition: Image.h:157
@ DW_IMAGE_FORMAT_YUV_UINT8_PLANAR
Definition: Image.h:188
@ DW_IMAGE_FORMAT_RAW_UINT16
RAW for images directly from sensory.
Definition: Image.h:193
@ DW_IMAGE_FORMAT_RGB_UINT16
Not backed by NvSci.
Definition: Image.h:145
@ DW_IMAGE_FORMAT_YUV420_UINT8_SEMIPLANAR
Definition: Image.h:183
@ DW_IMAGE_FORMAT_YUV_UINT16_PLANAR
Definition: Image.h:189
@ DW_IMAGE_FORMAT_RG_UINT8
Not backed by NvSci.
Definition: Image.h:138
@ DW_IMAGE_FORMAT_RG_FLOAT32
Not backed by NvSci.
Definition: Image.h:140
@ DW_IMAGE_FORMAT_UNKNOWN
Normal formats.
Definition: Image.h:124
@ DW_IMAGE_FORMAT_R_INT16
Definition: Image.h:127
@ DW_IMAGE_FORMAT_R_UINT8
Definition: Image.h:129
@ DW_IMAGE_FORMAT_VUYX_UINT8
Definition: Image.h:160
@ DW_IMAGE_FORMAT_RCB_FLOAT32_PLANAR
Not backed by NvSci.
Definition: Image.h:174
@ DW_IMAGE_FORMAT_YUV420_UINT8_PLANAR
YUV encoding formats from camera.
Definition: Image.h:182
@ DW_IMAGE_FORMAT_RGB_FLOAT16
Not backed by NvSci.
Definition: Image.h:147
@ DW_IMAGE_FORMAT_YUV420_UINT16_SEMIPLANAR
Definition: Image.h:184
@ DW_IMAGE_FORMAT_RGB_FLOAT32_PLANAR
Not backed by NvSci.
Definition: Image.h:169
@ DW_IMAGE_FORMAT_RCC_FLOAT16_PLANAR
Not backed by NvSci.
Definition: Image.h:177
@ DW_IMAGE_FORMAT_RCB_FLOAT16_PLANAR
Not backed by NvSci.
Definition: Image.h:172
@ DW_IMAGE_FORMAT_RAW_FLOAT16
for debayered images
Definition: Image.h:195
@ DW_IMAGE_FORMAT_R_FLOAT16
Definition: Image.h:132
@ DW_IMAGE_FORMAT_R_UINT16
Definition: Image.h:130
@ DW_IMAGE_FORMAT_RGB_FLOAT16_PLANAR
Not backed by NvSci.
Definition: Image.h:167
@ DW_IMAGE_FORMAT_RGB_UINT8
Not backed by NvSci.
Definition: Image.h:143
@ DW_IMAGE_FLAGS_SENSOR_SETTINGS
Image contains valid sensor settings information, such as exposure, gain, whitebalance,...
Definition: Image.h:232
@ DW_IMAGE_FLAGS_FRAME_SEQUENCE_NUMBER
Image contains valid frame sequence number.
Definition: Image.h:235
@ DW_IMAGE_FLAGS_GTM_SPLINE_INFO
Image contains valid global tone map block.
Definition: Image.h:255
@ DW_IMAGE_FLAGS_TOTAL_WHITE_BALANCE_GAIN
Holds the total white balance gains, which includes both sensor channel and ISP gains.
Definition: Image.h:252
@ DW_IMAGE_FLAGS_CONTROLINFO
Holds a flag to determine whether or not the control info is valid. If no ISP processing occurs this ...
Definition: Image.h:246
@ DW_IMAGE_FLAGS_LUMINANCE_CALIBRATED
Holds a flag to indicating if the luminance is calibrated.
Definition: Image.h:249
@ DW_IMAGE_FLAGS_SYSMEM
By default CUDA images are created in vidmem on DGPU, this flag forces CUDA image to sysmem Note manu...
Definition: Image.h:239
@ DW_IMAGE_FLAGS_EMBEDDED_LINES
If an image was extracted from a camera, additional embedded data lines might be provided The data li...
Definition: Image.h:229
@ DW_IMAGE_FLAGS_HAS_RAW_ORDER_DESCRIPTOR
Image contains details of raw order descriptor.
Definition: Image.h:243
@ DW_IMAGE_FLAGS_SENSOR_TEMPERATURE
Image contains valid sensor temperature info.
Definition: Image.h:258
@ DW_IMAGE_FLAGS_NVSCI_SURF_ATTR
Image contains NvSci surface based attributes.
Definition: Image.h:261
Defines a CPU-based image.
Definition: Image.h:411
Defines a CUDA image.
Definition: Image.h:424
Container for data lines from the camera.
Definition: Image.h:212
Additional meta information stored with each image.
Definition: Image.h:340
Defines an NvMedia image.
Definition: Image.h:440
Specifies a pool of images.
Definition: Image.h:115
Defines the properties of the image.
Definition: Image.h:394
Sensor statistics associated with the image.
Definition: Image.h:276