mfxInitParam

Definition

 

 

typedef struct {

      mfxIMPL           Implementation;

      mfxVersion        Version;

      mfxU16            ExternalThreads;

      union {

        struct {

            mfxExtBuffer **ExtParam;

            mfxU16  NumExtParam;

        };

        mfxU16  reserved2[5];

    };

    mfxU16      GPUCopy;

    mfxU16      reserved[21];

} mfxInitParam;

 

Description

 

 

The mfxInitParam structure specifies advanced initialization parameters. A zero value in any of the fields indicates that the corresponding field is not explicitly specified.

 

Members

 

 

Implementation

mfxIMPL enumerator that indicates the desired SDK implementation

 

 

Version

Structure which specifies minimum library version or zero, if not specified

 

 

ExternalThreads

Desired threading mode. Value 0 means internal threading, 1 – external.

 

 

NumExtParam

The number of extra configuration structures attached to this structure.

 

 

ExtParam

Points to an array of pointers to the extra configuration structures; see the ExtendedBufferID enumerator for a list of extended configurations.

 

 

GPUCopy

Enables or disables GPU accelerated copying between video and system memory in the SDK components. See the GPUCopy enumerator for a list of valid values.

 

Change History

 

This structure is available since SDK API 1.14.

 

 

The SDK API 1.15 adds NumExtParam and ExtParam fields.

 

 

The SDK API 1.16 adds GPUCopy field.

 

For more complete information about compiler optimizations, see our Optimization Notice.