DriveWorks SDK Reference
5.20.37 Release
For Test and Development only

CodecHeaderVideo.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) 2020-2024 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
31#ifndef DW_SENSORS_CODECS_CAMERA_CODECDATAVIDEO_H_
32#define DW_SENSORS_CODECS_CAMERA_CODECDATAVIDEO_H_
33
34#include <dw/core/base/Types.h>
36
37#include "Camera.h"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43// Video format
44typedef enum {
52
55{
56 uint8_t sensorName[16];
57 uint16_t sensorRevID;
58 uint8_t serializerNameID[16];
60 uint8_t bayerTypeID[4];
62 uint8_t lensManuID[16];
63 uint8_t lensNameID[16];
64 uint16_t lensFOVID;
65 uint16_t imageWidth;
66 uint16_t imageHeight;
67
68 // Group: MODULE_MAKER_INTRINSIC
72
73 // Group: CHANNEL_COLOR_RESPONSES
75
76 // Group: LENS_SHADING
79
80 // Group: FUSE_ID
81 uint16_t fuseID;
82
83 // Group: INTRINSIC_PARAMETERS
87
88 // Group: EXTRINSIC_PARAMETERS
90
91 // Group: SECOND_INTRINSIC_PARAMETERS
95
96 // Group: THIRD_INTRINSIC_PARAMETERS
100
101 // Group least important parameters here so that its easy to remove them if needed
103 char8_t iRNameID[16];
104 uint16_t iRCutFreqID;
105 char8_t modMakerID[16];
106 char8_t modNameID[16];
107 char8_t modSerialID[16];
108 uint64_t assmTimeID;
109 uint32_t assmLineID;
110 uint16_t channelMeasurementID[4]; // order of channels R, GR, GB, B
111 char8_t fuseDataID[16];
112 char8_t lensShadingDataID[800];
114
115// TODO (nperla): reconsile dwCodecCameraSIPLInfo with the sensor sipl structure
118{
119 char8_t cameraModuleName[64];
121 char8_t interface[16];
122 uint32_t linkIndex;
125 char8_t serializerName[64];
128 char8_t sensorParams[512];
131
134{
140 uint32_t width;
141 uint32_t height;
144 uint32_t msbPosition;
147
149typedef struct dwCodecConfigVideo
150{
154 uint32_t width;
156 uint32_t height;
158 uint32_t bitDepth;
160 uint32_t frameRate;
172
173#ifdef __cplusplus
174}
175#endif
176
177#endif //DW_SENSORS_CODECS_CAMERA_CODECDATAVIDEO_H_
NVIDIA DriveWorks API: Cameras
char8_t codecMimeType[DW_MAX_CODEC_MIME_TYPE_LENGTH]
Codec mime type.
dwCodecCameraMetadata cameraMetadata
Required camera metadata for encoding and decoding video.
dwEncoderConfigRateControl rateControl
Encoder rate control parameters.
dwCodecVideoFormat
@ DW_CODEC_VIDEO_FORMAT_YUV420
@ DW_CODEC_VIDEO_FORMAT_YUV444
@ DW_CODEC_VIDEO_FORMAT_YUV400
@ DW_CODEC_VIDEO_FORMAT_RAW
@ DW_CODEC_VIDEO_FORMAT_RGB
@ DW_CODEC_VIDEO_FORMAT_YUV422
char8_t rawHeader[DW_MAX_RAW_SIPL_HEADER_LENGTH]
Raw sipl data from the camera.
char8_t serializerDescription[128]
char8_t cameraModuleDescription[128]
dwCodecVideoFormat format
Video format.
dwCodecCameraSIPLBlobEEPROM eeprom
dwCameraRawFormat rawFormat
uint32_t height
Video height.
uint32_t width
Video width.
uint32_t bitDepth
Frame bit depth.
dwCodecType codec
Codec type.
dwCodecCameraSIPLInfo siplInfo
dwCameraExposureControl exposure
uint32_t frameRate
Frame rate.
Required camera metadata for encoding and decoding video.
SIPL EEPROM information.
SIPL information.
The base configuration for all video encoders and decoders.
NVIDIA DriveWorks API: Codec Methods
NVIDIA DriveWorks API: Core Types
dwCameraType
Enum of available camera sensors.
Definition: Camera.h:152
dwCameraRawFormat
Raw encoding formats pixel-order.
Definition: Camera.h:107
dwCameraFOV
Enum of available FOV in degrees for camera lenses.
Definition: Camera.h:182
dwCameraExposureControl
Enum of exposure control types.
Definition: Camera.h:168
dwCodecType
Codec Type.
Definition: Codec.h:77
@ DW_MAX_RAW_SIPL_HEADER_LENGTH
Definition: Codec.h:149
@ DW_MAX_CODEC_MIME_TYPE_LENGTH
Definition: Codec.h:148
Encoder rate control parameters.
Definition: Codec.h:291
float float32_t
Specifies POD types.
Definition: BasicTypes.h:59