DriveWorks SDK Reference
5.16.65 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-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
31#ifndef DW_SENSORS_CODECS_CAMERA_CODECDATAVIDEO_H_
32#define DW_SENSORS_CODECS_CAMERA_CODECDATAVIDEO_H_
33
34#include <dw/core/base/Types.h>
35#include <dw/sensors/Codec.h>
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41// Video format
42typedef enum {
50
53{
54 uint8_t sensorName[16];
55 uint16_t sensorRevID;
56 uint8_t serializerNameID[16];
58 uint8_t bayerTypeID[4];
60 uint8_t lensManuID[16];
61 uint8_t lensNameID[16];
62 uint16_t lensFOVID;
63 uint16_t imageWidth;
64 uint16_t imageHeight;
65
66 // Group: MODULE_MAKER_INTRINSIC
70
71 // Group: CHANNEL_COLOR_RESPONSES
73
74 // Group: LENS_SHADING
77
78 // Group: FUSE_ID
79 uint16_t fuseID;
80
81 // Group: INTRINSIC_PARAMETERS
85
86 // Group: EXTRINSIC_PARAMETERS
88
89 // Group: SECOND_INTRINSIC_PARAMETERS
93
94 // Group: THIRD_INTRINSIC_PARAMETERS
98
99 // Group least important parameters here so that its easy to remove them if needed
101 char8_t iRNameID[16];
102 uint16_t iRCutFreqID;
103 char8_t modMakerID[16];
104 char8_t modNameID[16];
105 char8_t modSerialID[16];
106 uint64_t assmTimeID;
107 uint32_t assmLineID;
108 uint16_t channelMeasurementID[4]; // order of channels R, GR, GB, B
109 char8_t fuseDataID[16];
110 char8_t lensShadingDataID[800];
112
113// TODO (nperla): reconsile dwCodecCameraSIPLInfo with the sensor sipl structure
116{
117 char8_t cameraModuleName[64];
119 char8_t interface[16];
120 uint32_t linkIndex;
123 char8_t serializerName[64];
126 char8_t sensorParams[512];
129
132{
138 uint32_t width;
139 uint32_t height;
142 uint32_t msbPosition;
145
147typedef struct dwCodecConfigVideo
148{
152 uint32_t width;
154 uint32_t height;
156 uint32_t bitDepth;
158 uint32_t frameRate;
170
171#ifdef __cplusplus
172}
173#endif
174
175#endif //DW_SENSORS_CODECS_CAMERA_CODECDATAVIDEO_H_
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:149
dwCameraRawFormat
Raw encoding formats pixel-order.
Definition: Camera.h:107
dwCameraFOV
Enum of available FOV in degrees for camera lenses.
Definition: Camera.h:179
dwCameraExposureControl
Enum of exposure control types.
Definition: Camera.h:165
dwCodecType
Codec Type.
Definition: Codec.h:76
@ DW_MAX_RAW_SIPL_HEADER_LENGTH
Definition: Codec.h:148
@ DW_MAX_CODEC_MIME_TYPE_LENGTH
Definition: Codec.h:147
Encoder rate control parameters.
Definition: Codec.h:288
float float32_t
Specifies POD types.
Definition: BasicTypes.h:59