Interface that exposes the settings used for EGLStream-linked InputStream creation.
Definition at line 274 of file EGLStream.h.
◆ ~IEGLInputStreamSettings()
Argus::IEGLInputStreamSettings::~IEGLInputStreamSettings |
( |
| ) |
|
|
inlineprotected |
◆ 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 |
◆ 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:
◆ 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] | sensorMode | The sensor mode being queried for the input pixel type. |
[in] | inputFormat | The input pixel format being queried for support. |
The documentation for this class was generated from the following file: