Functions | |
virtual int | CameraEGLStreamConsumer::acquireFd (uint64_t timeout=0xFFFFFFFFFFFFFFFF, CONSUMER_STATUS *status=NULL)=0 |
Acquires a new dmabuf Fd. | |
virtual CONSUMER_STATUS | CameraEGLStreamConsumer::releaseFd (int fd)=0 |
Releases an acquired dmabuf . | |
CameraEGLStreamConsumer::~CameraEGLStreamConsumer () |
Calling any of these function when the stream is not in the CONNECTED state will return an INVALID_STATE status.
virtual int CameraEGLStreamConsumer::acquireFd | ( | uint64_t | timeout = 0xFFFFFFFFFFFFFFFF , |
|
CONSUMER_STATUS * | status = NULL | |||
) | [pure virtual, inherited] |
Acquires a new dmabuf Fd.
If the maximum number of fds are currently acquired, an error will be returned immediately. If -1 is returned and the status is DISCONNECTED, the producer has disconnected from the stream and no more fds can be acquired.
[in] | timeout | The timeout to wait for a frame if one isn't available. |
[out] | status | An optional pointer to return an error status code. |
virtual CONSUMER_STATUS CameraEGLStreamConsumer::releaseFd | ( | int | fd | ) | [pure virtual, inherited] |
Releases an acquired dmabuf .
[in] | fd | The dmabuf fd to release. |
CameraEGLStreamConsumer::~CameraEGLStreamConsumer | ( | ) | [inline, protected, inherited] |
Definition at line 151 of file CameraEGLStreamConsumer.h.