NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
ISensorControl.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef ISENSORCONTROL_HPP
14 #define ISENSORCONTROL_HPP
15 
16 #include "devblk_cdi.h"
17 
25 namespace nvsipl
26 {
27 
40 {
41 public:
42 
46  ISensorControl() = default;
47 
51  ISensorControl(ISensorControl const &) = delete;
52 
56  ISensorControl(ISensorControl &&) = delete;
57 
61  ISensorControl& operator=(ISensorControl const &) & = delete;
62 
67 
71  virtual ~ISensorControl() = default;
72 
121  DevBlkCDIEmbeddedDataChunk const* const embeddedTopDataChunk,
122  size_t const embeddedDataChunkStructSize,
123  DevBlkCDIEmbeddedDataInfo *const embeddedDataInfo,
124  size_t const dataInfoStructSize) = 0;
125 
174  DevBlkCDIEmbeddedDataChunk const* const embeddedBotDataChunk,
175  size_t const embeddedDataChunkStructSize,
176  DevBlkCDIEmbeddedDataInfo *const embeddedDataInfo,
177  size_t const dataInfoStructSize) = 0;
178 
179 
223  virtual NvMediaStatus SIPLSetSensorControls(DevBlkCDISensorControl const* const sensorControl,
224  size_t const sensrCtrlStructSize) = 0;
263  size_t const sensorAttrStructSize) = 0;
264 #if !NV_IS_SAFETY
265 
320  virtual NvMediaStatus SIPLSetSensorCharMode(uint8_t expNo) = 0;
321 #endif // !NV_IS_SAFETY
322 
377  virtual NvMediaStatus
378  SIPLAuthenticateImage(DevBlkImageDesc const * const imageDesc) const = 0;
379 };
380 
383 } // end of namespace nvsipl
384 #endif //ISENSORCONTROL_HPP
385 
DevBlkCDISensorControl
Holds the sensor control structure.
Definition: devblk_cdi.h:1777
nvsipl::ISensorControl::SIPLSetSensorControls
virtual NvMediaStatus SIPLSetSensorControls(DevBlkCDISensorControl const *const sensorControl, size_t const sensrCtrlStructSize)=0
Interface to set sensor control parameters.
nvsipl::ISensorControl::~ISensorControl
virtual ~ISensorControl()=default
Destructor.
nvsipl::ISensorControl::SIPLParseTopEmbDataInfo
virtual NvMediaStatus SIPLParseTopEmbDataInfo(DevBlkCDIEmbeddedDataChunk const *const embeddedTopDataChunk, size_t const embeddedDataChunkStructSize, DevBlkCDIEmbeddedDataInfo *const embeddedDataInfo, size_t const dataInfoStructSize)=0
Interface to parse top sensor embedded data to get sensor settings applied to the captured frame.
DevBlkCDIEmbeddedDataChunk
Holds the sensor embedded data chunk structure.
Definition: NvSIPLCDICommon.h:233
nvsipl::ISensorControl::SIPLGetSensorAttributes
virtual NvMediaStatus SIPLGetSensorAttributes(DevBlkCDISensorAttributes *const sensorAttr, size_t const sensorAttrStructSize)=0
Interface to get the sensor attributes.
NvMediaStatus
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:108
nvsipl::ISensorControl::SIPLAuthenticateImage
virtual NvMediaStatus SIPLAuthenticateImage(DevBlkImageDesc const *const imageDesc) const =0
Interface to request image data authentication.
nvsipl::ISensorControl::SIPLSetSensorCharMode
virtual NvMediaStatus SIPLSetSensorCharMode(uint8_t expNo)=0
Interface to set sensor in characterization mode.
nvsipl::ISensorControl::SIPLParseBotEmbDataInfo
virtual NvMediaStatus SIPLParseBotEmbDataInfo(DevBlkCDIEmbeddedDataChunk const *const embeddedBotDataChunk, size_t const embeddedDataChunkStructSize, DevBlkCDIEmbeddedDataInfo *const embeddedDataInfo, size_t const dataInfoStructSize)=0
Interface to parse bottom sensor embedded data to get statistics information for the captured frame.
nvsipl::ISensorControl
Interface defining basic Sensor Control functionality.
Definition: ISensorControl.hpp:39
devblk_cdi.h
NVIDIA Device Block Interface: Camera Device Interface (CDI)
DevBlkImageDesc
Structure to describe a RAW image buffer.
Definition: devblk_cdi.h:195
nvsipl::ISensorControl::operator=
ISensorControl & operator=(ISensorControl const &) &=delete
Prevent ISensorControl from being copy assigned.
DevBlkCDISensorAttributes
Holds the sensor attributes.
Definition: NvSIPLCDICommon.h:116
nvsipl
Contains the classes and variables for implementation of SIPL.
Definition: NvSIPLCamera.hpp:44
DevBlkCDIEmbeddedDataInfo
Holds the sensor embedded data parsed info structure.
Definition: NvSIPLCDICommon.h:460
nvsipl::ISensorControl::ISensorControl
ISensorControl()=default
Constructor.