|
|
NVIDIA DRIVE 5.0 Linux SDK API Reference5.0.10.3 Release |
NVIDIA Media Interface: Video Surface Processing
Description: This file contains the Video Surface Processing API.
Definition in file nvmedia_video.h.
Go to the source code of this file.
Data Structures | |
| struct | NvMediaVideoSurface |
| A handle representing a video surface object. More... | |
| struct | NvMediaVideoSurfaceMap |
| A handle representing a video surface map. More... | |
Macros | |
| #define | NVMEDIA_VIDEO_VERSION_MAJOR 1 |
| Major Version number. More... | |
| #define | NVMEDIA_VIDEO_VERSION_MINOR 4 |
| Minor Version number. More... | |
Functions | |
| NvMediaVideoSurface * | NvMediaVideoSurfaceCreateNew (NvMediaDevice *device, NvMediaSurfaceType type, NvMediaSurfAllocAttr *attrs, uint32_t numAllocAttrs, uint32_t flags) |
| Allocates a video surface object. More... | |
| void | NvMediaVideoSurfaceDestroy (NvMediaVideoSurface *surface) |
| Destroys a video surface object. More... | |
| NvMediaStatus | NvMediaVideoSurfaceLock (NvMediaVideoSurface *surface, NvMediaVideoSurfaceMap *surfaceMap) |
| Locks a video surface and returns the associated mapped pointers pointing to the Y, U and V surfaces that a software video decoder can fill up. More... | |
| void | NvMediaVideoSurfaceUnlock (NvMediaVideoSurface *surface) |
| Unlocks a video surface. More... | |
| NvMediaStatus | NvMediaVideoSurfacePutBits (NvMediaVideoSurface *videoSurface, NvMediaRect *dstRect, void **srcPntrs, uint32_t *srcPitches) |
| NvMediaVideoSurfacePutBits reads a client memory buffer and writes the content into an NvMedia video surface. More... | |
| NvMediaStatus | NvMediaVideoSurfaceGetBits (NvMediaVideoSurface *videoSurface, NvMediaRect *srcRect, void **dstPntrs, uint32_t *dstPitches) |
| Reads an NvMedia video surface and writes the content into a client memory buffer. More... | |