FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Enumerations
dynlink_nvcuvid.h File Reference
#include "compat/cuda/dynlink_cuviddec.h"

Go to the source code of this file.

Data Structures

struct  CUVIDEOFORMAT
 
struct  CUVIDEOFORMATEX
 
struct  CUAUDIOFORMAT
 
struct  CUVIDSOURCEDATAPACKET
 
struct  CUVIDSOURCEPARAMS
 
struct  CUVIDPARSERDISPINFO
 
struct  CUVIDPARSERPARAMS
 

Typedefs

typedef voidCUvideosource
 
typedef voidCUvideoparser
 
typedef long long CUvideotimestamp
 
typedef int(CUDAAPIPFNVIDSOURCECALLBACK )(void *, CUVIDSOURCEDATAPACKET *)
 
typedef CUresult CUDAAPI tcuvidCreateVideoSource (CUvideosource *pObj, const char *pszFileName, CUVIDSOURCEPARAMS *pParams)
 
typedef CUresult CUDAAPI tcuvidCreateVideoSourceW (CUvideosource *pObj, const wchar_t *pwszFileName, CUVIDSOURCEPARAMS *pParams)
 
typedef CUresult CUDAAPI tcuvidDestroyVideoSource (CUvideosource obj)
 
typedef CUresult CUDAAPI tcuvidSetVideoSourceState (CUvideosource obj, cudaVideoState state)
 
typedef cudaVideoState CUDAAPI tcuvidGetVideoSourceState (CUvideosource obj)
 
typedef CUresult CUDAAPI tcuvidGetSourceVideoFormat (CUvideosource obj, CUVIDEOFORMAT *pvidfmt, unsigned int flags)
 
typedef CUresult CUDAAPI tcuvidGetSourceAudioFormat (CUvideosource obj, CUAUDIOFORMAT *paudfmt, unsigned int flags)
 
typedef int(CUDAAPIPFNVIDSEQUENCECALLBACK )(void *, CUVIDEOFORMAT *)
 
typedef int(CUDAAPIPFNVIDDECODECALLBACK )(void *, CUVIDPICPARAMS *)
 
typedef int(CUDAAPIPFNVIDDISPLAYCALLBACK )(void *, CUVIDPARSERDISPINFO *)
 
typedef CUresult CUDAAPI tcuvidCreateVideoParser (CUvideoparser *pObj, CUVIDPARSERPARAMS *pParams)
 
typedef CUresult CUDAAPI tcuvidParseVideoData (CUvideoparser obj, CUVIDSOURCEDATAPACKET *pPacket)
 
typedef CUresult CUDAAPI tcuvidDestroyVideoParser (CUvideoparser obj)
 

Enumerations

enum  cudaVideoState { cudaVideoState_Error = -1, cudaVideoState_Stopped = 0, cudaVideoState_Started = 1 }
 
enum  cudaAudioCodec {
  cudaAudioCodec_MPEG1 =0, cudaAudioCodec_MPEG2, cudaAudioCodec_MP3, cudaAudioCodec_AC3,
  cudaAudioCodec_LPCM
}
 
enum  CUvideopacketflags { CUVID_PKT_ENDOFSTREAM = 0x01, CUVID_PKT_TIMESTAMP = 0x02, CUVID_PKT_DISCONTINUITY = 0x04 }
 
enum  CUvideosourceformat_flags { CUVID_FMT_EXTFORMATINFO = 0x100 }
 

Typedef Documentation

typedef void* CUvideosource

Definition at line 49 of file dynlink_nvcuvid.h.

typedef void* CUvideoparser

Definition at line 50 of file dynlink_nvcuvid.h.

typedef long long CUvideotimestamp

Definition at line 51 of file dynlink_nvcuvid.h.