FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
CUVIDPARSERPARAMS Struct Reference

#include <dynlink_nvcuvid.h>

Data Fields

cudaVideoCodec CodecType
 cudaVideoCodec_XXX More...
 
unsigned int ulMaxNumDecodeSurfaces
 Max # of decode surfaces (parser will cycle through these) More...
 
unsigned int ulClockRate
 Timestamp units in Hz (0=default=10000000Hz) More...
 
unsigned int ulErrorThreshold
 % Error threshold (0-100) for calling pfnDecodePicture (100=always call pfnDecodePicture even if picture bitstream is fully corrupted) More...
 
unsigned int ulMaxDisplayDelay
 Max display queue delay (improves pipelining of decode with display) - 0=no delay (recommended values: 2..4) More...
 
unsigned int uReserved1 [5]
 Reserved for future use - set to 0. More...
 
voidpUserData
 User data for callbacks. More...
 
PFNVIDSEQUENCECALLBACK pfnSequenceCallback
 Called before decoding frames and/or whenever there is a format change. More...
 
PFNVIDDECODECALLBACK pfnDecodePicture
 Called when a picture is ready to be decoded (decode order) More...
 
PFNVIDDISPLAYCALLBACK pfnDisplayPicture
 Called whenever a picture is ready to be displayed (display order) More...
 
voidpvReserved2 [7]
 Reserved for future use - set to NULL. More...
 
CUVIDEOFORMATEXpExtVideoInfo
 [Optional] sequence header data from system layer More...
 

Detailed Description

Definition at line 276 of file dynlink_nvcuvid.h.

Field Documentation

cudaVideoCodec CUVIDPARSERPARAMS::CodecType

cudaVideoCodec_XXX

Definition at line 278 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init(), and cuvid_test_dummy_decoder().

unsigned int CUVIDPARSERPARAMS::ulMaxNumDecodeSurfaces

Max # of decode surfaces (parser will cycle through these)

Definition at line 279 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

unsigned int CUVIDPARSERPARAMS::ulClockRate

Timestamp units in Hz (0=default=10000000Hz)

Definition at line 280 of file dynlink_nvcuvid.h.

unsigned int CUVIDPARSERPARAMS::ulErrorThreshold

% Error threshold (0-100) for calling pfnDecodePicture (100=always call pfnDecodePicture even if picture bitstream is fully corrupted)

Definition at line 281 of file dynlink_nvcuvid.h.

unsigned int CUVIDPARSERPARAMS::ulMaxDisplayDelay

Max display queue delay (improves pipelining of decode with display) - 0=no delay (recommended values: 2..4)

Definition at line 282 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

unsigned int CUVIDPARSERPARAMS::uReserved1[5]

Reserved for future use - set to 0.

Definition at line 283 of file dynlink_nvcuvid.h.

void* CUVIDPARSERPARAMS::pUserData

User data for callbacks.

Definition at line 284 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

PFNVIDSEQUENCECALLBACK CUVIDPARSERPARAMS::pfnSequenceCallback

Called before decoding frames and/or whenever there is a format change.

Definition at line 285 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

PFNVIDDECODECALLBACK CUVIDPARSERPARAMS::pfnDecodePicture

Called when a picture is ready to be decoded (decode order)

Definition at line 286 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

PFNVIDDISPLAYCALLBACK CUVIDPARSERPARAMS::pfnDisplayPicture

Called whenever a picture is ready to be displayed (display order)

Definition at line 287 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

void* CUVIDPARSERPARAMS::pvReserved2[7]

Reserved for future use - set to NULL.

Definition at line 288 of file dynlink_nvcuvid.h.

CUVIDEOFORMATEX* CUVIDPARSERPARAMS::pExtVideoInfo

[Optional] sequence header data from system layer

Definition at line 289 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().


The documentation for this struct was generated from the following file: