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

This structure is used in cuvidCreateDecoder API. More...

#include <dynlink_cuviddec.h>

Data Fields

tcu_ulong ulWidth
 IN: Coded sequence width in pixels. More...
 
tcu_ulong ulHeight
 IN: Coded sequence height in pixels. More...
 
tcu_ulong ulNumDecodeSurfaces
 IN: Maximum number of internal decode surfaces. More...
 
cudaVideoCodec CodecType
 IN: cudaVideoCodec_XXX. More...
 
cudaVideoChromaFormat ChromaFormat
 IN: cudaVideoChromaFormat_XXX. More...
 
tcu_ulong ulCreationFlags
 IN: Decoder creation flags (cudaVideoCreateFlags_XXX) More...
 
tcu_ulong bitDepthMinus8
 IN: The value "BitDepth minus 8". More...
 
tcu_ulong ulIntraDecodeOnly
 IN: Set 1 only if video has all intra frames (default value is 0). More...
 
tcu_ulong Reserved1 [3]
 Reserved for future use - set to zero. More...
 
struct {
   short   left
 
   short   top
 
   short   right
 
   short   bottom
 
display_area
 IN: area of the frame that should be displayed. More...
 
cudaVideoSurfaceFormat OutputFormat
 IN: cudaVideoSurfaceFormat_XXX. More...
 
cudaVideoDeinterlaceMode DeinterlaceMode
 IN: cudaVideoDeinterlaceMode_XXX. More...
 
tcu_ulong ulTargetWidth
 IN: Post-processed output width (Should be aligned to 2) More...
 
tcu_ulong ulTargetHeight
 IN: Post-processed output height (Should be aligbed to 2) More...
 
tcu_ulong ulNumOutputSurfaces
 IN: Maximum number of output surfaces simultaneously mapped. More...
 
CUvideoctxlock vidLock
 IN: If non-NULL, context lock used for synchronizing ownership of the cuda context. More...
 
struct {
   short   left
 
   short   top
 
   short   right
 
   short   bottom
 
target_rect
 IN: target rectangle in the output frame (for aspect ratio conversion) if a null rectangle is specified, {0,0,ulTargetWidth,ulTargetHeight} will be used. More...
 
tcu_ulong Reserved2 [5]
 Reserved for future use - set to zero. More...
 

Detailed Description

This structure is used in cuvidCreateDecoder API.

Definition at line 160 of file dynlink_cuviddec.h.

Field Documentation

tcu_ulong CUVIDDECODECREATEINFO::ulWidth

IN: Coded sequence width in pixels.

Definition at line 162 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::ulHeight

IN: Coded sequence height in pixels.

Definition at line 163 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::ulNumDecodeSurfaces

IN: Maximum number of internal decode surfaces.

Definition at line 164 of file dynlink_cuviddec.h.

cudaVideoCodec CUVIDDECODECREATEINFO::CodecType

IN: cudaVideoCodec_XXX.

Definition at line 165 of file dynlink_cuviddec.h.

cudaVideoChromaFormat CUVIDDECODECREATEINFO::ChromaFormat

IN: cudaVideoChromaFormat_XXX.

Definition at line 166 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::ulCreationFlags

IN: Decoder creation flags (cudaVideoCreateFlags_XXX)

Definition at line 167 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::bitDepthMinus8

IN: The value "BitDepth minus 8".

Definition at line 168 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::ulIntraDecodeOnly

IN: Set 1 only if video has all intra frames (default value is 0).

This will optimize video memory for Intra frames only decoding. The support is limited to specific codecs(H264 rightnow), the flag will be ignored for codecs which are not supported. However decoding might fail if the flag is enabled in case of supported codecs for regular bit streams having P and/or B frames.

Definition at line 169 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::Reserved1[3]

Reserved for future use - set to zero.

Definition at line 174 of file dynlink_cuviddec.h.

short CUVIDDECODECREATEINFO::left

Definition at line 179 of file dynlink_cuviddec.h.

short CUVIDDECODECREATEINFO::top

Definition at line 180 of file dynlink_cuviddec.h.

short CUVIDDECODECREATEINFO::right

Definition at line 181 of file dynlink_cuviddec.h.

short CUVIDDECODECREATEINFO::bottom

Definition at line 182 of file dynlink_cuviddec.h.

struct { ... } CUVIDDECODECREATEINFO::display_area

IN: area of the frame that should be displayed.

cudaVideoSurfaceFormat CUVIDDECODECREATEINFO::OutputFormat

IN: cudaVideoSurfaceFormat_XXX.

Definition at line 185 of file dynlink_cuviddec.h.

cudaVideoDeinterlaceMode CUVIDDECODECREATEINFO::DeinterlaceMode

IN: cudaVideoDeinterlaceMode_XXX.

Definition at line 186 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::ulTargetWidth

IN: Post-processed output width (Should be aligned to 2)

Definition at line 187 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::ulTargetHeight

IN: Post-processed output height (Should be aligbed to 2)

Definition at line 188 of file dynlink_cuviddec.h.

tcu_ulong CUVIDDECODECREATEINFO::ulNumOutputSurfaces

IN: Maximum number of output surfaces simultaneously mapped.

Definition at line 189 of file dynlink_cuviddec.h.

CUvideoctxlock CUVIDDECODECREATEINFO::vidLock

IN: If non-NULL, context lock used for synchronizing ownership of the cuda context.

Needed for cudaVideoCreate_PreferCUDA decode

Definition at line 190 of file dynlink_cuviddec.h.

struct { ... } CUVIDDECODECREATEINFO::target_rect

IN: target rectangle in the output frame (for aspect ratio conversion) if a null rectangle is specified, {0,0,ulTargetWidth,ulTargetHeight} will be used.

tcu_ulong CUVIDDECODECREATEINFO::Reserved2[5]

Reserved for future use - set to zero.

Definition at line 202 of file dynlink_cuviddec.h.


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