DriveWorks SDK Reference
5.14.77 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-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
50#ifndef DW_IMAGE_IMAGE_H_
51#define DW_IMAGE_IMAGE_H_
52
53#include <dw/core/base/Config.h>
55#include <dw/core/base/Types.h>
56#include <dw/core/base/Status.h>
58
59#if (defined(__cplusplus) && (defined(LINUX) || defined(VIBRANTE)))
60#pragma GCC diagnostic push
61#pragma GCC diagnostic ignored "-Wold-style-cast"
62#endif
63
64#if (defined(__cplusplus) && (defined(LINUX) || defined(VIBRANTE)))
65#pragma GCC diagnostic pop
66#endif
67
68#include <sys/time.h>
69#ifdef PRE_NVSCI
70#include <nvmedia_image.h>
71#include <nvmedia_isp_stat.h>
72#else
73//#include <NvSIPLISPStat.hpp>
74#endif //#ifdef PRE_NVSCI
75#include <nvscibuf.h>
76
77#ifdef DW_SDK_BUILD_PVA
78#include "cupva_host_wrapper.h"
79#endif
80
81#ifdef __cplusplus
82extern "C" {
83#endif
84
89typedef enum dwSyncType {
90 DW_SYNC_TYPE_WAITER, // The sync will wait for a signaler
91 DW_SYNC_TYPE_SIGNALER, // The sync will notify the waiters
93
94#define DW_MAX_IMAGE_PLANES 3
95#define DW_ISP_MAX_COLOR_COMPONENT (4U)
97#define DW_MAX_NUM_TEMPERATURES 4
98#define DW_IMAGE_NUM_SPLINE_COMPONENTS 18U
99
101typedef enum dwImageType {
107 DW_IMAGE_GL = 0xFF
109
110typedef struct dwImageObject* dwImageHandle_t;
111typedef struct dwImageObject const* dwConstImageHandle_t;
112
114typedef struct dwImageAllocationAttrList* dwImageAllocationAttrListHandle_t;
115
117typedef struct dwImagePool
118{
124
127typedef enum dwImageFormat {
130
131 // Interleaved formats
133
140
146
155
161
163
164 // interleaved YUV444 format
167
168 // Planar formats
176
181
186
192
193 // planar YUV 444
202
204
206typedef enum {
213
215
217typedef struct dwImageDataLines
218{
220 uint32_t bytesPerLine;
221
224
226 uint8_t* topLineData;
230
232typedef enum {
233
238
241
244
248
252
255
258
261
264
267
270
274
276{
284
285// This is the max number of exposures supported currently
286#define DW_DEVBLK_CDI_MAX_EXPOSURES 4
287
288typedef struct dwExposureDuration
289{
295
297{
308
310#define DW_LUMINANCE_CALIB_MATRIX_SIZE 4
313{
316
320
323
326
329
332
335
352 float64_t luminanceCalibrationFactor DW_DEPRECATED("This structure variable is deprecated and will be removed in the next major release. Please use the new variable in luminanceCalibrationMatrix in this struct");
353
359
362
365
368
371
377
379{
381 uint32_t msbPosition;
382
389
394
400
402typedef struct dwImageTimestamps
403{
423
425typedef struct dwImageMetaData
426{
428 uint32_t flags;
429
432
435 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");
436
439 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");
440
443 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");
444
447 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");
448
450 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");
451
453 uint32_t msbPosition
454 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");
455
458
467
468 // Holds properties unique to raw images
470
471 // All paramters from here are read-only
472
475
478
482
484typedef struct dwImageProperties
485{
489 uint32_t width;
491 uint32_t height;
499
501typedef struct dwImageCPU
502{
512} dwImageCPU;
513
515typedef struct dwImageCUDA
516{
520 size_t pitch[DW_MAX_IMAGE_PLANES]; // pitch in bytes
529
531typedef struct dwImageNvMedia
532{
535#ifdef PRE_NVSCI
537 NvMediaImage* img
538 DW_DEPRECATED("NvMediaImage is deprecated and will be removed in the next major release.");
539#endif
541 NvSciBufObj imgBuf;
546
560 dwImageProperties properties,
561 dwContextHandle_t const ctx);
562
581 dwImageProperties properties,
582 void* const buffersIn[DW_MAX_IMAGE_PLANES],
583 size_t const pitches[DW_MAX_IMAGE_PLANES], size_t const bufferCount,
584 dwContextHandle_t const ctx);
585
602 dwImageProperties properties,
603 cudaArray_t const buffers[DW_MAX_IMAGE_PLANES], size_t const bufferCount,
604 dwContextHandle_t const ctx);
605
617
618// specifiers
619
631
643
655
668
680
693dwStatus dwImage_getCPU(dwImageCPU** const imageCPU, dwImageHandle_t const image);
694
706dwStatus dwImage_getCUDA(dwImageCUDA** const imageCUDA, dwImageHandle_t const image);
707
721
733
744dwStatus dwImage_getPlaneCount(size_t* const planeCount, dwImageFormat const format);
745
766
787dwStatus dwImage_copyConvertAsync(dwImageHandle_t const output, dwConstImageHandle_t const input, cudaStream_t const stream, dwContextHandle_t const context);
788
802 dwImageCUDA const* const srcImage,
803 uint32_t const planeIdx);
804
817DW_API_PUBLIC dwStatus dwImageCUDA_mapToROI(dwImageCUDA* const dstImg, dwImageCUDA const* const srcImg, dwRect const roi);
818
836 size_t* const planeCount,
837 uint32_t planeChannelCount[DW_MAX_IMAGE_PLANES],
839 dwImageProperties const* const prop);
840
841#ifdef DW_SDK_BUILD_PVA
853DW_API_PUBLIC dwStatus dwImage_getCUPVA(void** ptr, dwImageHandle_t image);
854#endif
855
856#ifdef __cplusplus
857}
858#endif
859
861#endif // DW_IMAGE_IMAGE_H_
NVIDIA DriveWorks API: Core Methods
dwStatus
Status definition.
Definition: ErrorDefs.h:45
NVIDIA DriveWorks API: Core Status Methods
NVIDIA DriveWorks API: Core Types
NVIDIA DriveWorks API: Core Exports
float float32_t
Specifies POD types.
Definition: BasicTypes.h:59
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: BasicTypes.h:65
double float64_t
Definition: BasicTypes.h:60
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:86
#define DW_DEPRECATED(msg)
Definition: Exports.h:66
#define DW_API_PUBLIC
Definition: Exports.h:54
dwTrivialDataType
Specifies a type indicator of the underlying trivial data type.
Definition: TypesExtra.h:58
dwVector2ui embeddedDataSize
this defines the number of rows before and after the image
Definition: Image.h:223
float32_t data[DW_DEVBLK_CDI_MAX_EXPOSURES]
Specifies the exposure duration (microsecond) Each row of the image is captured using DW_DEVBLK_CDI_M...
Definition: Image.h:293
uint8_t numTemperatures
Holds the number of active temperatures.
Definition: Image.h:302
uint8_t * topLineData
pointer to the beginning of top lines
Definition: Image.h:226
dwImageProperties prop
Specifies the properites of the image.
Definition: Image.h:504
void * dptr[DW_MAX_IMAGE_PLANES]
Holds the pointer to the image planes.
Definition: Image.h:522
dwTime_t timestamp_us
Specifies the time in microseconds from system time epoch, when the image content was updated (ie EOF...
Definition: Image.h:511
dwImageProperties prop
Defines the properties of the image.
Definition: Image.h:518
float32_t wbGain[4]
Specifies the sensor white balance gains : R(0) G1(1) G2(2) B(3)
Definition: Image.h:450
float32_t analogGain
Specifies the analog Gain.
Definition: Image.h:439
dwImageHandle_t * images
Pointer to image handles.
Definition: Image.h:120
dwTime_t timestamp_us
Specifies the time in microseconds from system time epoch, when the image content was updated (ie EOF...
Definition: Image.h:544
float32_t conversionGain
Specifies the conversion Gain.
Definition: Image.h:325
float32_t x
Holds X coordinate of the control point.
Definition: Image.h:278
uint32_t msbPosition
Specifies the msb of the pixel data.
Definition: Image.h:454
dwImageType type
Specifies the type of image.
Definition: Image.h:487
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:388
dwTime_t subExposureStartTimestampUs[DW_DEVBLK_CDI_MAX_EXPOSURES]
Sub exposure start timestamps in microseconds.
Definition: Image.h:421
uint32_t bytesPerLine
Number of bytes for each line.
Definition: Image.h:220
uint32_t rawBitDataType
Describes the raw pixel depth, specified like the above format descriptor by 1 - NVM_SURF_ATTR_BITS_P...
Definition: Image.h:393
uint32_t msbPosition
Specifies the msb of the pixel data.
Definition: Image.h:381
size_t pitch[DW_MAX_IMAGE_PLANES]
Defines the pitch of each plane in bytes.
Definition: Image.h:520
float32_t conversionGain
Specifies the conversion Gain.
Definition: Image.h:443
float64_t luminanceCalibrationFactor
(note: parameter to be deprecated starting 6.0.7.0) Holds a luminance calibration factor ( K / f^2 ) ...
Definition: Image.h:352
dwImageSplineControlPoint gtmSplineControlPoint[DW_IMAGE_NUM_SPLINE_COMPONENTS]
Holds the global tonemap block, containing a set of spline control points.
Definition: Image.h:477
dwSensorTemperature sensorTemperature
Holds the values of active sensor temperatures in degrees Celsius.
Definition: Image.h:375
float32_t digitalGain
Specifies the digital Gain.
Definition: Image.h:447
uint8_t * bottomLineData
pointer to the beginning of bottom lines
Definition: Image.h:228
dwImageDataLines dataLines
embedded data lines.
Definition: Image.h:466
dwImageAllocationAttrListHandle_t allocAttrs
Allocation attributes used by internal drivers.
Definition: Image.h:480
dwImageProperties prop
Holds image properties.
Definition: Image.h:534
float32_t dataCelsius[DW_MAX_NUM_TEMPERATURES]
Holds the values of active sensor temperatures in degrees Celsius.
Definition: Image.h:306
uint32_t frameSequenceNumber
Holds a frame sequence number, that is, a monotonically increasing frame counter.
Definition: Image.h:457
float32_t brightnessKey
Holds the scene brightness key.
Definition: Image.h:367
uint32_t height
Specifies the height of the image in pixels.
Definition: Image.h:491
bool rawFormatRJ
Describes if raw order alignment is left justified(msb alligned) or right justified (lsb allignment) ...
Definition: Image.h:398
float32_t wbGain[4]
Specifies the sensor white balance gains : R(0) G1(1) G2(2) B(3)
Definition: Image.h:331
dwTime_t moeTimestampUs
This time indicates the middle of the image frame exposure.
Definition: Image.h:416
uint32_t width
Specifies the width of the image in pixels.
Definition: Image.h:489
cudaArray_t array[DW_MAX_IMAGE_PLANES]
Holds the CUDA image plane data.
Definition: Image.h:524
float32_t cct
Holds the correlated color temperature.
Definition: Image.h:364
float32_t analogGain
Specifies the analog Gain.
Definition: Image.h:322
float32_t exposureTime
Specifies the exposure time (microsecond)
Definition: Image.h:435
float32_t rawImageMidTone
Holds the midtone value of the raw image.
Definition: Image.h:370
NvSciBufObj imgBuf
Holds the pointer to the NvSciBufObj image.
Definition: Image.h:541
dwImageSensorStatistics sensorStatistics
Holds info on sensor statistics at the time of the image capture.
Definition: Image.h:474
float32_t digitalGain
Specifies the digital Gain.
Definition: Image.h:328
dwImageFormat format
Specifies the format of the image.
Definition: Image.h:493
dwImageRawProperties rawProperties
Definition: Image.h:469
dwTime_t sofTimestampUs
Rolling shutter timestamp fields: startOfFrameTimestampUs and endOfFrameTimestampUs can be used to co...
Definition: Image.h:410
float32_t autoAwbGain[DW_ISP_MAX_COLOR_COMPONENT]
Holds the total white balance gains, which includes both sensor channel and ISP gains.
Definition: Image.h:361
float32_t exposureTime
Specifies the exposure time (microsecond) This variable is deprecated and will be removed in the next...
Definition: Image.h:319
size_t pitch[DW_MAX_IMAGE_PLANES]
Specifies the pitch of the image in bytes.
Definition: Image.h:506
dwTime_t timestamp_us
Specifies the time in microseconds from system time epoch, when the image content was updated (ie EOF...
Definition: Image.h:527
float32_t y
Holds Y coordinate of the control point.
Definition: Image.h:280
float32_t alpha
Holds power factor for isp statistics compression. Valid range: [0.5, 1.0].
Definition: Image.h:334
dwTime_t eofTimestampUs
Specifies the time, in microseconds, when the last row of the image was fully exposed,...
Definition: Image.h:419
dwImageMetaData meta
additional meta information stored with the image. Not all images might provide it
Definition: Image.h:495
float64_t slope
Holds slope of the spline curve at the control point.
Definition: Image.h:282
dwExposureDuration exposureDurationUs
Specifies the exposure duration (microsecond)
Definition: Image.h:315
float64_t luminanceCalibrationMatrix[DW_LUMINANCE_CALIB_MATRIX_SIZE][DW_LUMINANCE_CALIB_MATRIX_SIZE]
Holds the luminance calibration matrix for the sensor.
Definition: Image.h:358
uint32_t flags
combination of multiple flags 'dwImageMetaDataFlags' defining which of the meta fields are valid
Definition: Image.h:428
uint8_t * data[DW_MAX_IMAGE_PLANES]
Specifies the raw image data.
Definition: Image.h:508
dwImageMemoryType memoryLayout
Memory layout type.
Definition: Image.h:497
size_t imageCount
Number of images in the pool.
Definition: Image.h:122
dwImageTimestamps imageTimestamps
Specifies image timestamps.
Definition: Image.h:431
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:110
#define DW_MAX_NUM_TEMPERATURES
should be the same as the DEVBLK_CDI_MAX_NUM_TEMPERATURES in NvSIPLCDICommon.h of NvSIPL
Definition: Image.h:97
dwSyncType
Enum representing a sync type.
Definition: Image.h:89
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:111
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:101
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:206
#define DW_DEVBLK_CDI_MAX_EXPOSURES
Definition: Image.h:286
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:127
#define DW_LUMINANCE_CALIB_MATRIX_SIZE
Defines the length(M) of a MxM luminance calibration matrix.
Definition: Image.h:310
#define DW_IMAGE_NUM_SPLINE_COMPONENTS
Definition: Image.h:98
struct dwImageAllocationAttrList * dwImageAllocationAttrListHandle_t
dwImage Allocation Attributes List
Definition: Image.h:114
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:232
#define DW_MAX_IMAGE_PLANES
Definition: Image.h:94
#define DW_ISP_MAX_COLOR_COMPONENT
Definition: Image.h:95
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_SYNC_TYPE_WAITER
Definition: Image.h:90
@ DW_SYNC_TYPE_SIGNALER
Definition: Image.h:91
@ DW_IMAGE_CUDA
Definition: Image.h:103
@ DW_IMAGE_GL
This type is provided here for completeness only.
Definition: Image.h:107
@ DW_IMAGE_CPU
Definition: Image.h:102
@ DW_IMAGE_NVMEDIA
Definition: Image.h:104
@ DW_IMAGE_MEMORY_TYPE_PITCH
pitch linear memory layout
Definition: Image.h:210
@ DW_IMAGE_MEMORY_TYPE_DEFAULT
the default memory layout for a given image type, can be either pitch or block
Definition: Image.h:208
@ DW_IMAGE_MEMORY_TYPE_BLOCK
block memory layout
Definition: Image.h:212
@ DW_IMAGE_FORMAT_RGBA_FLOAT16
Definition: Image.h:158
@ DW_IMAGE_FORMAT_RGB_UINT16_PLANAR
Definition: Image.h:171
@ DW_IMAGE_FORMAT_RCC_FLOAT32_PLANAR
Not backed by NvSci.
Definition: Image.h:185
@ DW_IMAGE_FORMAT_RGBA_UINT8
Definition: Image.h:156
@ DW_IMAGE_FORMAT_RGB_UINT8_PLANAR
Not backed by NvSci.
Definition: Image.h:170
@ DW_IMAGE_FORMAT_YUV422_UINT8_SEMIPLANAR
Definition: Image.h:191
@ DW_IMAGE_FORMAT_YUV422_UINT8_PACKED
Definition: Image.h:196
@ DW_IMAGE_FORMAT_VUYX_UINT16
Definition: Image.h:166
@ DW_IMAGE_FORMAT_RG_INT16
Definition: Image.h:141
@ DW_IMAGE_FORMAT_RGB_FLOAT32
Not backed by NvSci.
Definition: Image.h:154
@ DW_IMAGE_FORMAT_RGBA_FLOAT32
Not backed by NvSci.
Definition: Image.h:160
@ DW_IMAGE_FORMAT_R_UINT32
Definition: Image.h:136
@ DW_IMAGE_FORMAT_R_FLOAT32
Not backed by NvSci.
Definition: Image.h:139
@ DW_IMAGE_FORMAT_RGBA_UINT16
Definition: Image.h:157
@ DW_IMAGE_FORMAT_RGBX_FLOAT16
Definition: Image.h:162
@ DW_IMAGE_FORMAT_YUV_UINT8_PLANAR
Definition: Image.h:194
@ DW_IMAGE_FORMAT_RAW_UINT16
RAW for images directly from sensory.
Definition: Image.h:199
@ DW_IMAGE_FORMAT_RGB_UINT16
Not backed by NvSci.
Definition: Image.h:150
@ DW_IMAGE_FORMAT_YUV420_UINT8_SEMIPLANAR
Definition: Image.h:189
@ DW_IMAGE_FORMAT_YUV_UINT16_PLANAR
Definition: Image.h:195
@ DW_IMAGE_FORMAT_RG_UINT8
Not backed by NvSci.
Definition: Image.h:143
@ DW_IMAGE_FORMAT_RG_FLOAT32
Not backed by NvSci.
Definition: Image.h:145
@ DW_IMAGE_FORMAT_UNKNOWN
Normal formats.
Definition: Image.h:129
@ DW_IMAGE_FORMAT_R_INT16
Definition: Image.h:132
@ DW_IMAGE_FORMAT_R_UINT8
Definition: Image.h:134
@ DW_IMAGE_FORMAT_VUYX_UINT8
Definition: Image.h:165
@ DW_IMAGE_FORMAT_RCB_FLOAT32_PLANAR
Not backed by NvSci.
Definition: Image.h:180
@ DW_IMAGE_FORMAT_YUV420_UINT8_PLANAR
YUV encoding formats from camera.
Definition: Image.h:188
@ DW_IMAGE_FORMAT_RGB_FLOAT16
Not backed by NvSci.
Definition: Image.h:152
@ DW_IMAGE_FORMAT_YUV420_UINT16_SEMIPLANAR
Definition: Image.h:190
@ DW_IMAGE_FORMAT_RGB_FLOAT32_PLANAR
Not backed by NvSci.
Definition: Image.h:175
@ DW_IMAGE_FORMAT_RCC_FLOAT16_PLANAR
Not backed by NvSci.
Definition: Image.h:183
@ DW_IMAGE_FORMAT_RCB_FLOAT16_PLANAR
Not backed by NvSci.
Definition: Image.h:178
@ DW_IMAGE_FORMAT_RAW_FLOAT16
for debayered images
Definition: Image.h:201
@ DW_IMAGE_FORMAT_R_FLOAT16
Definition: Image.h:137
@ DW_IMAGE_FORMAT_R_UINT16
Definition: Image.h:135
@ DW_IMAGE_FORMAT_RGB_FLOAT16_PLANAR
Not backed by NvSci.
Definition: Image.h:173
@ DW_IMAGE_FORMAT_RGB_UINT8
Not backed by NvSci.
Definition: Image.h:148
@ DW_IMAGE_FLAGS_SENSOR_SETTINGS
Image contains valid sensor settings information, such as exposure, gain, whitebalance,...
Definition: Image.h:240
@ DW_IMAGE_FLAGS_FRAME_SEQUENCE_NUMBER
Image contains valid frame sequence number.
Definition: Image.h:243
@ DW_IMAGE_FLAGS_GTM_SPLINE_INFO
Image contains valid global tone map block.
Definition: Image.h:263
@ DW_IMAGE_FLAGS_TOTAL_WHITE_BALANCE_GAIN
Holds the total white balance gains, which includes both sensor channel and ISP gains.
Definition: Image.h:260
@ 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:254
@ DW_IMAGE_FLAGS_LUMINANCE_CALIBRATED
Holds a flag to indicating if the luminance is calibrated.
Definition: Image.h:257
@ 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:247
@ 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:237
@ DW_IMAGE_FLAGS_HAS_RAW_ORDER_DESCRIPTOR
Image contains details of raw order descriptor.
Definition: Image.h:251
@ DW_IMAGE_FLAGS_MAPS_CUPVA
Image maps pointer to CUPVA.
Definition: Image.h:272
@ DW_IMAGE_FLAGS_SENSOR_TEMPERATURE
Image contains valid sensor temperature info.
Definition: Image.h:266
@ DW_IMAGE_FLAGS_NVSCI_SURF_ATTR
Image contains NvSci surface based attributes.
Definition: Image.h:269
Defines a CPU-based image.
Definition: Image.h:502
Defines a CUDA image.
Definition: Image.h:516
Container for data lines from the camera.
Definition: Image.h:218
Additional meta information stored with each image.
Definition: Image.h:426
Defines an NvMedia image.
Definition: Image.h:532
Specifies a pool of images.
Definition: Image.h:118
Defines the properties of the image.
Definition: Image.h:485
Sensor statistics associated with the image.
Definition: Image.h:313
Image timestamps.
Definition: Image.h:403
Defines a rectangle.
Defines a two-element unsigned-integer vector.
Definition: MatrixTypes.h:71