Jetson Linux API Reference

35.5.0 Release
Argus::IEGLInputStreamSettings Class Referenceabstract

Detailed Description

Interface that exposes the settings used for EGLStream-linked InputStream creation.

Definition at line 274 of file EGLStream.h.

Inheritance diagram for Argus::IEGLInputStreamSettings:
Collaboration diagram for Argus::IEGLInputStreamSettings:

Public Member Functions

virtual Status setPixelFormat (const PixelFormat &format)=0
 Set the format of the stream. More...
 
virtual PixelFormat getPixelFormat () const =0
 
virtual Status setResolution (const Size2D< uint32_t > &resolution)=0
 Set the resolution of the stream. More...
 
virtual Size2D< uint32_t > getResolution () const =0
 
virtual Status setExposureCount (uint32_t exposureCount)=0
 Set the number of exposures per stream frame. More...
 
virtual uint32_t getExposureCount () const =0
 
virtual Status setEGLDisplay (EGLDisplay eglDisplay)=0
 Set the EGLDisplay the created stream must belong to. More...
 
virtual EGLDisplay getEGLDisplay () const =0
 
virtual Status setFifoLength (uint32_t fifoLength)=0
 Sets the FIFO queue length of the stream. More...
 
virtual uint32_t getFifoLength () const =0
 
virtual bool supportsInputStreamFormat (const SensorMode *sensorMode, const PixelFormat &inputFormat) const =0
 

Static Public Member Functions

static const InterfaceIDid ()
 

Protected Member Functions

 ~IEGLInputStreamSettings ()
 

Constructor & Destructor Documentation

◆ ~IEGLInputStreamSettings()

Argus::IEGLInputStreamSettings::~IEGLInputStreamSettings ( )
inlineprotected

Definition at line 349 of file EGLStream.h.

Member Function Documentation

◆ getEGLDisplay()

virtual EGLDisplay Argus::IEGLInputStreamSettings::getEGLDisplay ( ) const
pure virtual

◆ getExposureCount()

virtual uint32_t Argus::IEGLInputStreamSettings::getExposureCount ( ) const
pure virtual

◆ getFifoLength()

virtual uint32_t Argus::IEGLInputStreamSettings::getFifoLength ( ) const
pure virtual

◆ getPixelFormat()

virtual PixelFormat Argus::IEGLInputStreamSettings::getPixelFormat ( ) const
pure virtual

◆ getResolution()

virtual Size2D<uint32_t> Argus::IEGLInputStreamSettings::getResolution ( ) const
pure virtual

◆ id()

static const InterfaceID& Argus::IEGLInputStreamSettings::id ( )
inlinestatic

Definition at line 277 of file EGLStream.h.

◆ setEGLDisplay()

virtual Status Argus::IEGLInputStreamSettings::setEGLDisplay ( EGLDisplay  eglDisplay)
pure virtual

Set the EGLDisplay the created stream must belong to.

Default value: EGL_NO_DISPLAY - stream is display-agnostic.

◆ setExposureCount()

virtual Status Argus::IEGLInputStreamSettings::setExposureCount ( uint32_t  exposureCount)
pure virtual

Set the number of exposures per stream frame.

This number should match the number of exposures that are going to be provided with each stream frame when capturing from multi-exposure WDR sources. Note that the EGLStream consumer must support consuming multi-exposure/buffer EGLStreams. In the case of the EGLStream::FrameConsumer consumer, the multiple exposures are treated as separate buffers in the acquired Image and may be accessed using any Image interface which supports multi-buffer/plane image access (see EGLStream::IImage::getBufferCount()). Default value: 1

◆ setFifoLength()

virtual Status Argus::IEGLInputStreamSettings::setFifoLength ( uint32_t  fifoLength)
pure virtual

Sets the FIFO queue length of the stream.

This value must be > 0 as currently input streams only support FIFO mode of operation. In this mode every producer frame is made available to the consumer through the use of a fifo queue for the frames. If the fifo is full (already contains the number of frames equal to the fifo queue length), producer will stall until the fifo is no longer full. The consumer consumes frames from the tail of the queue, however, if the consumer releases a frame while the queue is empty, the frame is set aside and will be returned again the next time the consumer requests a frame if another new frame has not been inserted into the fifo queue before then. Once a new frame is inserted into the fifo queue, any previously released frame will be permanently discarded. This mode implies:

  • Frames are never discarded until the consumer has processed them.
  • If the consumer consumes frames slower than producer produces them, producer will stall.
  • If the consumer consumes frames faster than producer produces them, then the consumer may see some frames more than once.

    Default value: 1

◆ setPixelFormat()

virtual Status Argus::IEGLInputStreamSettings::setPixelFormat ( const PixelFormat &  format)
pure virtual

Set the format of the stream.

Default value: PIXEL_FMT_UNKNOWN

◆ setResolution()

virtual Status Argus::IEGLInputStreamSettings::setResolution ( const Size2D< uint32_t > &  resolution)
pure virtual

Set the resolution of the stream.

Default value: (0, 0)

◆ supportsInputStreamFormat()

virtual bool Argus::IEGLInputStreamSettings::supportsInputStreamFormat ( const SensorMode sensorMode,
const PixelFormat &  inputFormat 
) const
pure virtual
Returns
True if the input pixel format is supported by the CaptureSession for the queried sensor mode. Otherwise, returns false.
Parameters
[in]sensorModeThe sensor mode being queried for the input pixel type.
[in]inputFormatThe input pixel format being queried for support.

The documentation for this class was generated from the following file: