Jetson Linux API 参考文档

32.7.4 版本
CameraProvider.h
前往此文件的文档。
1 /*
2  * 版权所有 (c) 2016-2017, NVIDIA CORPORATION。保留所有权利。
3  *
4  * 只要满足以下条件,就允许以源代码和二进制形式重新发布和使用,无论是否
5  * 修改:
6  * * 源代码的重新发布必须保留上述版权声明、此条件列表和以下免责声明。
7  *
8  * * 二进制形式的重新发布必须在随发行版提供的文档和/或其他材料中复制上述版权
9  * 声明、此条件列表和以下免责声明。
10  *
11  * * 未经 NVIDIA CORPORATION 或其
12  * 贡献者的姓名,不得用于认可或推销衍生自
13  * 此软件的产品,除非事先获得明确的书面许可。
14  *
15  * 本软件由版权所有者“按原样”提供,并且不作任何明示或暗示的担保,包括但不限于
16  *
17  * 对适销性和特定用途适用性的暗示担保。在任何情况下,版权所有者或
18  *
19  * 贡献者均不对任何直接、间接、附带、特殊、
20  *
21  * 惩戒性或后果性损害(包括但不限于
22  *
23  * 替代商品或服务的采购;使用、数据或
24  * 利润损失;或业务中断)承担任何责任,无论其原因和任何责任理论
25  *
26  * (包括疏忽或其他)因使用本软件而以任何方式产生,即使已被告知可能发生此类损害。
27  */
28 
36 #ifndef _ARGUS_CAMERA_PROVIDER_H
37 #define _ARGUS_CAMERA_PROVIDER_H
38 
39 namespace Argus
40 {
41 
52 {
53 public
54 
62  static CameraProvider* create(Status* status = NULL);
63 
64 protected
66 };
67 
75 DEFINE_UUID(InterfaceID, IID_CAMERA_PROVIDER, a00f33d7,8564,4226,955c,2d,1b,cd,af,a3,5f);
76 
77 class ICameraProvider : public Interface
78 {
79 public
80  static const InterfaceID& id() { return IID_CAMERA_PROVIDER; }
81 
87  virtual const std::string& getVersion() const = 0;
88 
92  virtual const std::string& getVendor() const = 0;
93 
104  virtual bool supportsExtension(const ExtensionName& extension) const = 0;
105 
116  virtual Status getCameraDevices(std::vector<CameraDevice*>* devices) const = 0;
117 
126  Status* status = NULL) = 0;
127 
135  virtual CaptureSession* createCaptureSession(const std::vector<CameraDevice*>& devices,
136  Status* status = NULL) = 0;
137 
138 protected
140 };
141 
142 } // namespace Argus
143 
144 #endif // _ARGUS_CAMERA_PROVIDER_H
Argus::DEFINE_UUID
DEFINE_UUID(ExtensionName, EXT_BAYER_AVERAGE_MAP, 12c3de20, 64c5, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
Argus::ICameraProvider
Definition: CameraProvider.h:77
Argus
Definition: BayerAverageMap.h:39
Argus::CameraProvider
Definition: CameraProvider.h:51
Argus::Interface
The top-level interface class.
Definition: Types.h:346
Argus::InterfaceID
A unique identifier for a libargus Interface.
Definition: Types.h:356
Argus::CaptureSession
Definition: CaptureSession.h:51
Argus::ICameraProvider::id
static const InterfaceID & id()
Definition: CameraProvider.h:80
Argus::InterfaceProvider
The base interface for a class that provides libargus Interfaces.
Definition: Types.h:377
Argus::ICameraProvider::createCaptureSession
virtual CaptureSession * createCaptureSession(CameraDevice *device, Status *status=NULL)=0
Creates and returns a new CaptureSession using the given device.
Argus::CameraProvider::~CameraProvider
~CameraProvider()
Definition: CameraProvider.h:65
Argus::ICameraProvider::getVendor
virtual const std::string & getVendor() const =0
Returns the vendor string for the libargus implementation.
Argus::CameraProvider::create
static CameraProvider * create(Status *status=NULL)
Creates and returns a new CameraProvider.
Argus::CameraDevice
Definition: CameraDevice.h:54
Argus::ICameraProvider::~ICameraProvider
~ICameraProvider()
Definition: CameraProvider.h:139
Argus::ICameraProvider::getCameraDevices
virtual Status getCameraDevices(std::vector< CameraDevice * > *devices) const =0
Returns the list of camera devices that are exposed by the provider.
Argus::Destructable
A top level object class for libargus objects that are created and owned by the client.
Definition: Types.h:414
Argus::Status
Status
Status values returned by API function calls.
Definition: Types.h:93
Argus::ICameraProvider::supportsExtension
virtual bool supportsExtension(const ExtensionName &extension) const =0
Returns whether or not an extension is supported by this libargus implementation.
Argus::ICameraProvider::getVersion
virtual const std::string & getVersion() const =0
Returns the version number of the libargus implementation.
. All rights reserved.