The stream consumer is connecting to a EGL stream and consumes the frames into a GL texture.
More...
#include <StreamConsumer.h>
List of all members.
Detailed Description
The stream consumer is connecting to a EGL stream and consumes the frames into a GL texture.
Definition at line 41 of file StreamConsumer.h.
Constructor & Destructor Documentation
ArgusSamples::StreamConsumer::StreamConsumer |
( |
EGLStreamKHR |
eglStream | ) |
|
|
explicit |
ArgusSamples::StreamConsumer::~StreamConsumer |
( |
| ) |
|
ArgusSamples::StreamConsumer::StreamConsumer |
( |
| ) |
|
|
private |
Hide default constructor.
Member Function Documentation
bool ArgusSamples::StreamConsumer::acquire |
( |
bool * |
acquiredNewFrame | ) |
|
Check the stream state and acquire a new frame if available.
- Parameters:
-
acquiredNewFrame | [out] set to true if a new frame had been acquired |
Definition at line 116 of file StreamConsumer.cpp.
float ArgusSamples::StreamConsumer::getStreamAspectRatio |
( |
| ) |
const |
EGLint ArgusSamples::StreamConsumer::getStreamState |
( |
| ) |
const |
|
inline |
uint32_t ArgusSamples::StreamConsumer::getStreamTextureID |
( |
| ) |
const |
bool ArgusSamples::StreamConsumer::initialize |
( |
| ) |
|
bool ArgusSamples::StreamConsumer::isEGLStream |
( |
EGLStreamKHR |
eglStream | ) |
const |
bool ArgusSamples::StreamConsumer::setStreamAspectRatio |
( |
float |
aspectRatio | ) |
|
bool ArgusSamples::StreamConsumer::shutdown |
( |
| ) |
|
Member Data Documentation
float ArgusSamples::StreamConsumer::m_aspectRatio |
|
private |
aspect ration of the images transported by the stream
Definition at line 76 of file StreamConsumer.h.
EGLStreamKHR ArgusSamples::StreamConsumer::m_eglStream |
|
private |
bool ArgusSamples::StreamConsumer::m_initialized |
|
private |
EGLint ArgusSamples::StreamConsumer::m_streamState |
|
private |
uint32_t ArgusSamples::StreamConsumer::m_streamTexture |
|
private |
The documentation for this class was generated from the following files: