|
ApraPipes 1.0
|
Internal class to manage FD to NvBufSurface mapping. More...
#include <nvbuf_utils.h>

Public Member Functions | |
| void | registerSurface (int fd, NvBufSurface *surface) |
| NvBufSurface * | getSurface (int fd) |
| void | unregisterSurface (int fd) |
Static Public Member Functions | |
| static NvBufSurfaceManager & | instance () |
Private Member Functions | |
| NvBufSurfaceManager ()=default | |
Private Attributes | |
| std::map< int, NvBufSurface * > | fdToSurface_ |
| std::mutex | mutex_ |
Internal class to manage FD to NvBufSurface mapping.
|
privatedefault |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
private |
|
private |