FFmpeg
|
NvCuvid API provides Video Decoding interface to NVIDIA GPU devices. More...
#include <cuda.h>
Go to the source code of this file.
Data Structures | |
struct | CUVIDDECODECREATEINFO |
struct | CUVIDH264DPBENTRY |
struct | CUVIDH264MVCEXT |
struct | CUVIDH264SVCEXT |
struct | CUVIDH264PICPARAMS |
struct | CUVIDMPEG2PICPARAMS |
struct | CUVIDMPEG4PICPARAMS |
struct | CUVIDVC1PICPARAMS |
struct | CUVIDJPEGPICPARAMS |
struct | CUVIDHEVCPICPARAMS |
struct | CUVIDVP8PICPARAMS |
struct | CUVIDVP9PICPARAMS |
struct | CUVIDPICPARAMS |
struct | CUVIDPROCPARAMS |
Macros | |
#define | I_VOP 0 |
#define | P_VOP 1 |
#define | B_VOP 2 |
#define | S_VOP 3 |
Typedefs | |
typedef void * | CUvideodecoder |
typedef struct _CUcontextlock_st * | CUvideoctxlock |
Functions | |
CUresult CUDAAPI | cuvidCreateDecoder (CUvideodecoder *phDecoder, CUVIDDECODECREATEINFO *pdci) |
In order to minimize decode latencies, there should be always at least 2 pictures in the decode queue at any time, in order to make sure that all decode engines are always busy. More... | |
CUresult CUDAAPI | cuvidDestroyDecoder (CUvideodecoder hDecoder) |
Destroy the decoder object. More... | |
CUresult CUDAAPI | cuvidDecodePicture (CUvideodecoder hDecoder, CUVIDPICPARAMS *pPicParams) |
Decode a single picture (field or frame) More... | |
CUresult CUDAAPI | cuvidMapVideoFrame (CUvideodecoder hDecoder, int nPicIdx, unsigned int *pDevPtr, unsigned int *pPitch, CUVIDPROCPARAMS *pVPP) |
Post-process and map a video frame for use in cuda. More... | |
CUresult CUDAAPI | cuvidUnmapVideoFrame (CUvideodecoder hDecoder, unsigned int DevPtr) |
Unmap a previously mapped video frame. More... | |
CUresult CUDAAPI | cuvidCtxLockCreate (CUvideoctxlock *pLock, CUcontext ctx) |
Context-locking: to facilitate multi-threaded implementations, the following 4 functions provide a simple mutex-style host synchronization. More... | |
CUresult CUDAAPI | cuvidCtxLockDestroy (CUvideoctxlock lck) |
CUresult CUDAAPI | cuvidCtxLock (CUvideoctxlock lck, unsigned int reserved_flags) |
CUresult CUDAAPI | cuvidCtxUnlock (CUvideoctxlock lck, unsigned int reserved_flags) |
NvCuvid API provides Video Decoding interface to NVIDIA GPU devices.
Definition in file cuviddec.h.
typedef void* CUvideodecoder |
Definition at line 52 of file cuviddec.h.
typedef struct _CUcontextlock_st* CUvideoctxlock |
Definition at line 53 of file cuviddec.h.