NVIDIA Media Interface: EGL Stream
Description: This file contains the EGL Stream API.
Definition in file nvmedia_eglstream.h.
Go to the source code of this file.
Data Structures | |
| struct | NvMediaEGLStreamProducer |
| A handle representing an EGL stream producer object. More... | |
| struct | NvMediaEglStreamProducerAttributes |
| Holds the attributes for an EGL stream producer. More... | |
| struct | NvMediaEGLStreamConsumer |
| A handle representing an EGL stream consumer object. More... | |
Typedefs | |
| typedef struct NvMediaEGLStreamProducer | NvMediaEGLStreamProducer |
| A handle representing an EGL stream producer object. More... | |
| typedef struct NvMediaEGLStreamConsumer | NvMediaEGLStreamConsumer |
| A handle representing an EGL stream consumer object. More... | |
Functions | |
| NvMediaStatus | NvMediaEglStreamGetVersion (NvMediaVersion *version) |
| Get the version compatibility for the NvMedia EGLStream library. More... | |
| NvMediaEGLStreamProducer * | NvMediaEglStreamProducerCreate (NvMediaDevice *device, EGLDisplay eglDisplay, EGLStreamKHR eglStream, NvMediaSurfaceType type, EGLint width, EGLint height) |
| Creates an EGL stream producer object. More... | |
| void | NvMediaEglStreamProducerSetAttributes (NvMediaEGLStreamProducer *producer, uint32_t attributeMask, NvMediaEglStreamProducerAttributes *attributes) |
| Changes attributes of an NvMediaEGLStreamProducer. More... | |
| void | NvMediaEglStreamProducerDestroy (NvMediaEGLStreamProducer *producer) |
| Destroys an EGL stream producer object. More... | |
| NvMediaStatus | NvMediaEglStreamProducerPostSurface (NvMediaEGLStreamProducer *producer, NvMediaVideoSurface *surface, NvMediaTime *timeStamp) |
| Posts a surface to be sent to an EGL stream connection. More... | |
| NvMediaStatus | NvMediaEglStreamProducerGetSurface (NvMediaEGLStreamProducer *producer, NvMediaVideoSurface **surface, uint32_t millisecondTimeout) |
| Retrieves a surface that was sent to an EGL stream using the NvMediaEglStreamProducerPostSurface function and the EGL stream has processed and released it. More... | |
| NvMediaEGLStreamConsumer * | NvMediaEglStreamConsumerCreate (NvMediaDevice *device, EGLDisplay dpy, EGLStreamKHR stream, NvMediaSurfaceType type) |
| Creates an EGL stream consumer object. More... | |
| void | NvMediaEglStreamConsumerDestroy (NvMediaEGLStreamConsumer *consumer) |
| Destroys an EGL stream consumer object. More... | |
| NvMediaStatus | NvMediaEglStreamConsumerAcquireSurface (NvMediaEGLStreamConsumer *consumer, NvMediaVideoSurface **surface, uint32_t millisecondTimeout, NvMediaTime *timeStamp) |
| Acquires a surface that was sent by an EGL stream producer. More... | |
| NvMediaStatus | NvMediaEglStreamConsumerReleaseSurface (NvMediaEGLStreamConsumer *consumer, NvMediaVideoSurface *surface) |
| Releases a surface that was received by the NvMediaEglStreamConsumerAcquireSurface function. More... | |
| NvMediaStatus | NvMediaEglStreamProducerPostImage (NvMediaEGLStreamProducer *producer, NvMediaImage *image, NvMediaTime *timeStamp) |
| Posts an image to be sent to an EGL stream connection. More... | |
| NvMediaStatus | NvMediaEglStreamProducerGetImage (NvMediaEGLStreamProducer *producer, NvMediaImage **image, uint32_t millisecondTimeout) |
| Retrieves an image that was sent to an EGL stream using the NvMediaEglStreamProducerPostImage function and the EGL stream has processed and released it. More... | |
| NvMediaStatus | NvMediaEglStreamConsumerAcquireImage (NvMediaEGLStreamConsumer *consumer, NvMediaImage **image, uint32_t millisecondTimeout, NvMediaTime *timeStamp) |
| Acquire an image that was sent by an EGL stream producer. More... | |
| NvMediaStatus | NvMediaEglStreamConsumerReleaseImage (NvMediaEGLStreamConsumer *consumer, NvMediaImage *image) |
| Releases an image that was received by the NvMediaEglStreamConsumerAcquireImage function. More... | |
| NvMediaStatus | NvMediaEglStreamProducerPostMetaData (NvMediaEGLStreamProducer *producer, uint32_t blockIdx, const void *dataBuf, uint32_t offset, uint32_t size) |
| Posts a block of metadata to be sent to an EGL stream connection. More... | |
| NvMediaStatus | NvMediaEglStreamConsumerAcquireMetaData (NvMediaEGLStreamConsumer *consumer, uint32_t blockIdx, void *dataBuf, uint32_t offset, uint32_t size) |
| Acquires specified metadata block that was sent by an EGL stream producer. More... | |