L4T Multimedia API Reference

27.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, 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 
19 #ifndef _ARGUS_SENSOR_PRIVATE_METADATA_H
20 #define _ARGUS_SENSOR_PRIVATE_METADATA_H
21 
32 namespace Argus
33 {
45 DEFINE_UUID(ExtensionName, EXT_SENSOR_PRIVATE_METADATA, 7acf4352,3a75,46e7,9af1,8d,71,da,83,15,23);
46 
47 namespace Ext
48 {
49 
58 DEFINE_UUID(InterfaceID, IID_SENSOR_PRIVATE_METADATA_CAPS,
59  e492d2bf,5285,476e,94c5,ee,64,d5,3d,94,ef);
60 
62 {
63 public:
64  static const InterfaceID& id() { return IID_SENSOR_PRIVATE_METADATA_CAPS; }
65 
69  virtual size_t getMetadataSize() const = 0;
70 
71 protected:
73 };
74 
82 DEFINE_UUID(InterfaceID, IID_SENSOR_PRIVATE_METADATA_REQUEST,
83  5c868b69,42f5,4ec9,9b93,44,11,c9,6c,02,e3);
84 
86 {
87 public:
88  static const InterfaceID& id() { return IID_SENSOR_PRIVATE_METADATA_REQUEST; }
89 
94  virtual void setMetadataEnable(bool enable) = 0;
95 
99  virtual bool getMetadataEnable() const = 0;
100 
101 protected:
103 };
104 
113 DEFINE_UUID(InterfaceID, IID_SENSOR_PRIVATE_METADATA, 68cf6680,70d7,4b52,9a99,33,fb,65,81,a2,61);
114 
116 {
117 public:
118  static const InterfaceID& id() { return IID_SENSOR_PRIVATE_METADATA; }
119 
123  virtual size_t getMetadataSize() const = 0;
124 
132  virtual Status getMetadata(void *dst, size_t size) const = 0;
133 
134 protected:
136 };
137 
138 } // namespace Ext
139 
140 } // namespace Argus
142 #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...
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.
DEFINE_UUID(InterfaceID, IID_BAYER_SHARPNESS_MAP_SETTINGS, 7d5e0471, 4ea6, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
Status
Status values returned by API function calls.
Definition: Types.h:228
The top-level interface class.
Definition: Types.h:330
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.
DEFINE_UUID(ExtensionName, EXT_BAYER_SHARPNESS_MAP, 7d5e0470, 4ea6, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
The Ext::BayerSharpnessMap extension adds internally-generated sharpness metrics to CaptureMetadata r...
Interface used to access sensor private metadata from libargus.
Interface used to query the availability and size in bytes of sensor private metadata.
A unique identifier for an libargus Interface.
Definition: Types.h:340