FFmpeg
|
Data Structures | |
struct | CUVIDEOFORMAT |
struct | CUVIDEOFORMATEX |
struct | CUAUDIOFORMAT |
struct | CUVIDSOURCEDATAPACKET |
struct | CUVIDSOURCEPARAMS |
struct | CUVIDPARSERDISPINFO |
struct | CUVIDPARSERPARAMS |
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 int(CUDAAPI * PFNVIDSOURCECALLBACK)(void *, CUVIDSOURCEDATAPACKET *) |
Definition at line 183 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidCreateVideoSource(CUvideosource *pObj, const char *pszFileName, CUVIDSOURCEPARAMS *pParams) |
Definition at line 212 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidCreateVideoSourceW(CUvideosource *pObj, const wchar_t *pwszFileName, CUVIDSOURCEPARAMS *pParams) |
Definition at line 218 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidDestroyVideoSource(CUvideosource obj) |
Definition at line 224 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidSetVideoSourceState(CUvideosource obj, cudaVideoState state) |
Definition at line 230 of file dynlink_nvcuvid.h.
typedef cudaVideoState CUDAAPI tcuvidGetVideoSourceState(CUvideosource obj) |
Definition at line 236 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidGetSourceVideoFormat(CUvideosource obj, CUVIDEOFORMAT *pvidfmt, unsigned int flags) |
Definition at line 242 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidGetSourceAudioFormat(CUvideosource obj, CUAUDIOFORMAT *paudfmt, unsigned int flags) |
Definition at line 248 of file dynlink_nvcuvid.h.
typedef int(CUDAAPI * PFNVIDSEQUENCECALLBACK)(void *, CUVIDEOFORMAT *) |
Definition at line 269 of file dynlink_nvcuvid.h.
typedef int(CUDAAPI * PFNVIDDECODECALLBACK)(void *, CUVIDPICPARAMS *) |
Definition at line 270 of file dynlink_nvcuvid.h.
typedef int(CUDAAPI * PFNVIDDISPLAYCALLBACK)(void *, CUVIDPARSERDISPINFO *) |
Definition at line 271 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidCreateVideoParser(CUvideoparser *pObj, CUVIDPARSERPARAMS *pParams) |
Definition at line 295 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidParseVideoData(CUvideoparser obj, CUVIDSOURCEDATAPACKET *pPacket) |
Definition at line 300 of file dynlink_nvcuvid.h.
typedef CUresult CUDAAPI tcuvidDestroyVideoParser(CUvideoparser obj) |
Definition at line 305 of file dynlink_nvcuvid.h.
enum cudaVideoState |
Video Source State
Enumerator | |
---|---|
cudaVideoState_Error |
Error state (invalid source) |
cudaVideoState_Stopped |
Source is stopped (or reached end-of-stream) |
cudaVideoState_Started |
Source is running and delivering data. |
Definition at line 62 of file dynlink_nvcuvid.h.
enum cudaAudioCodec |
Audio compression
Enumerator | |
---|---|
cudaAudioCodec_MPEG1 |
MPEG-1 Audio. |
cudaAudioCodec_MPEG2 |
MPEG-2 Audio. |
cudaAudioCodec_MP3 |
MPEG-1 Layer III Audio. |
cudaAudioCodec_AC3 |
Dolby Digital (AC3) Audio. |
cudaAudioCodec_LPCM |
PCM Audio. |
Definition at line 72 of file dynlink_nvcuvid.h.
enum CUvideopacketflags |
Data packet flags
Enumerator | |
---|---|
CUVID_PKT_ENDOFSTREAM |
Set when this is the last packet for this stream. |
CUVID_PKT_TIMESTAMP |
Timestamp is valid. |
CUVID_PKT_DISCONTINUITY |
Set when a discontinuity has to be signalled. |
Definition at line 164 of file dynlink_nvcuvid.h.
CUvideosourceformat_flags
Enumerator | |
---|---|
CUVID_FMT_EXTFORMATINFO |
Return extended format structure (CUVIDEOFORMATEX) |
Definition at line 203 of file dynlink_nvcuvid.h.