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

Used in cuvidCreateVideoParser API. More...

#include <dynlink_nvcuvid.h>

Data Fields

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

Detailed Description

Used in cuvidCreateVideoParser API.

Definition at line 311 of file dynlink_nvcuvid.h.

Field Documentation

cudaVideoCodec CUVIDPARSERPARAMS::CodecType

IN: cudaVideoCodec_XXX.

Definition at line 313 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init(), and cuvid_test_capabilities().

unsigned int CUVIDPARSERPARAMS::ulMaxNumDecodeSurfaces

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

Definition at line 314 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

unsigned int CUVIDPARSERPARAMS::ulClockRate

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

Definition at line 315 of file dynlink_nvcuvid.h.

unsigned int CUVIDPARSERPARAMS::ulErrorThreshold

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

Definition at line 316 of file dynlink_nvcuvid.h.

unsigned int CUVIDPARSERPARAMS::ulMaxDisplayDelay

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

Definition at line 318 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

unsigned int CUVIDPARSERPARAMS::uReserved1[5]

IN: Reserved for future use - set to 0.

Definition at line 320 of file dynlink_nvcuvid.h.

void* CUVIDPARSERPARAMS::pUserData

IN: User data for callbacks.

Definition at line 321 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

PFNVIDSEQUENCECALLBACK CUVIDPARSERPARAMS::pfnSequenceCallback

IN: Called before decoding frames and/or whenever there is a fmt change.

Definition at line 322 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

PFNVIDDECODECALLBACK CUVIDPARSERPARAMS::pfnDecodePicture

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

Definition at line 323 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

PFNVIDDISPLAYCALLBACK CUVIDPARSERPARAMS::pfnDisplayPicture

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

Definition at line 324 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().

void* CUVIDPARSERPARAMS::pvReserved2[7]

Reserved for future use - set to NULL.

Definition at line 325 of file dynlink_nvcuvid.h.

CUVIDEOFORMATEX* CUVIDPARSERPARAMS::pExtVideoInfo

IN: [Optional] sequence header data from system layer.

Definition at line 326 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().


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