|
Jetson Linux API Reference
|
32.7.5 Release
|
Go to the documentation of this file.
36 #ifndef _ARGUS_EGL_STREAM_H
37 #define _ARGUS_EGL_STREAM_H
62 DEFINE_UUID(StreamType, STREAM_TYPE_EGL, 3a659360,5231,11e7,9598,18,00,20,0c,9a,66);
68 DEFINE_UUID(EGLStreamMode, EGL_STREAM_MODE_MAILBOX, 33661d40,3ee2,11e6,bdf4,08,00,20,0c,9a,66);
69 DEFINE_UUID(EGLStreamMode, EGL_STREAM_MODE_FIFO, 33661d41,3ee2,11e6,bdf4,08,00,20,0c,9a,66);
78 DEFINE_UUID(InterfaceID, IID_EGL_OUTPUT_STREAM_SETTINGS, 3a659361,5231,11e7,9598,18,00,20,0c,9a,66);
82 static const InterfaceID&
id() {
return IID_EGL_OUTPUT_STREAM_SETTINGS; }
158 virtual EGLStreamMode
getMode()
const = 0;
188 const PixelFormat& outputFormat)
const = 0;
201 DEFINE_UUID(InterfaceID, IID_EGL_OUTPUT_STREAM, 3a659362,5231,11e7,9598,18,00,20,0c,9a,66);
247 #endif // _ARGUS_EGL_STREAM_H
virtual Size2D< uint32_t > getResolution() const =0
Returns the image resolution of the stream, in pixels.
virtual Status setMetadataEnable(bool metadataEnable)=0
Enables or disables embedding Argus CaptureMetadata within frames written to the EGLStream.
virtual uint32_t getFifoLength() const =0
DEFINE_NAMED_UUID_CLASS(BufferType)
const uint64_t TIMEOUT_INFINITE
Constant used for infinite timeouts.
DEFINE_UUID(ExtensionName, EXT_BAYER_AVERAGE_MAP, 12c3de20, 64c5, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
static const InterfaceID & id()
virtual Status setEGLDisplay(EGLDisplay eglDisplay)=0
Set the EGLDisplay the created stream must belong to.
virtual Status setFifoLength(uint32_t fifoLength)=0
Sets the FIFO queue length of the stream.
virtual bool getMetadataEnable() const =0
virtual PixelFormat getPixelFormat() const =0
The top-level interface class.
virtual EGLStreamMode getMode() const =0
virtual Status setResolution(const Size2D< uint32_t > &resolution)=0
Set the resolution of the stream.
virtual PixelFormat getPixelFormat() const =0
Returns the format of the stream.
A unique identifier for a libargus Interface.
virtual bool supportsOutputStreamFormat(const SensorMode *sensorMode, const PixelFormat &outputFormat) const =0
virtual EGLDisplay getEGLDisplay() const =0
virtual Status setExposureCount(uint32_t exposureCount)=0
Set the number of exposures per stream frame.
virtual void disconnect()=0
Disconnects the stream from the underlying EGLStream.
virtual Size2D< uint32_t > getResolution() const =0
virtual uint32_t getExposureCount() const =0
virtual Status setPixelFormat(const PixelFormat &format)=0
Set the format of the stream.
static const InterfaceID & id()
virtual Status setMode(const EGLStreamMode &mode)=0
Sets the mode of the OutputStream.
virtual EGLDisplay getEGLDisplay() const =0
Returns the EGLDisplay the stream's EGLStream belongs to.
virtual EGLStreamKHR getEGLStream() const =0
Returns the EGLStream backing the stream.
virtual Status waitUntilConnected(uint64_t timeout=TIMEOUT_INFINITE) const =0
Waits until both the producer and consumer endpoints of the stream are connected.
Status
Status values returned by API function calls.
~IEGLOutputStreamSettings()