L4T Multimedia API Reference

28.1 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SensorPrivateMetadata.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 
18 #ifndef _ARGUS_SENSOR_PRIVATE_METADATA_H
19 #define _ARGUS_SENSOR_PRIVATE_METADATA_H
20 
21 namespace Argus
22 {
36 DEFINE_UUID(ExtensionName, EXT_SENSOR_PRIVATE_METADATA, 7acf4352,3a75,46e7,9af1,8d,71,da,83,15,23);
37 
38 namespace Ext
39 {
40 
48 DEFINE_UUID(InterfaceID, IID_SENSOR_PRIVATE_METADATA_CAPS, e492d2bf,5285,476e,94c5,ee,64,d5,3d,94,ef);
50 {
51 public:
52  static const InterfaceID& id() { return IID_SENSOR_PRIVATE_METADATA_CAPS; }
53 
57  virtual size_t getMetadataSize() const = 0;
58 
59 protected:
61 };
62 
70 DEFINE_UUID(InterfaceID, IID_SENSOR_PRIVATE_METADATA_REQUEST, 5c868b69,42f5,4ec9,9b93,44,11,c9,6c,02,e3);
72 {
73 public:
74  static const InterfaceID& id() { return IID_SENSOR_PRIVATE_METADATA_REQUEST; }
75 
80  virtual void setMetadataEnable(bool enable) = 0;
81 
85  virtual bool getMetadataEnable() const = 0;
86 
87 protected:
89 };
90 
98 DEFINE_UUID(InterfaceID, IID_SENSOR_PRIVATE_METADATA, 68cf6680,70d7,4b52,9a99,33,fb,65,81,a2,61);
100 {
101 public:
102  static const InterfaceID& id() { return IID_SENSOR_PRIVATE_METADATA; }
103 
107  virtual size_t getMetadataSize() const = 0;
108 
117  virtual Status getMetadata(void *dst, size_t size) const = 0;
118 
119 protected:
121 };
122 
123 } // namespace Ext
124 
125 } // namespace Argus
126 
127 #endif // _ARGUS_SENSOR_PRIVATE_METADATA_H
virtual void setMetadataEnable(bool enable)=0
Enables the sensor private metadata, will only work if the sensor supports embedded metadata...
DEFINE_UUID(ExtensionName, EXT_BAYER_AVERAGE_MAP, 12c3de20, 64c5, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
Interface used enable the output of sensor private metadata for a request.
virtual size_t getMetadataSize() const =0
Returns the size of the embedded metadata.
virtual size_t getMetadataSize() const =0
Returns the size in bytes of the private metadata.
Status
Status values returned by API function calls.
Definition: Types.h:218
The top-level interface class.
Definition: Types.h:320
DEFINE_UUID(InterfaceID, IID_BAYER_AVERAGE_MAP_SETTINGS, 12c3de21, 64c5, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
virtual Status getMetadata(void *dst, size_t size) const =0
Copies back the metadata to the provided memory location.
virtual bool getMetadataEnable() const =0
Returns if the metadata is enabled for this request.
Interface used to access sensor private metadata.
Interface used to query the availability and size in bytes of sensor private metadata.
A unique identifier for a libargus Interface.
Definition: Types.h:330