mfxExtVPPImageStab

Definition

 

 

typedef struct {

    mfxExtBuffer    Header;

    mfxU16  Mode;

    mfxU16  reserved[11];

} mfxExtVPPImageStab;

 

Description

 

 

The mfxExtVPPImageStab structure is a hint structure that configures the VPP image stabilization filter.

On some platforms this filter is not supported. To query its support, the application should use the same approach that it uses to configure VPP filters - by adding filter ID to mfxExtVPPDoUse structure or by attaching mfxExtVPPImageStab structure directly to the mfxVideoParam structure and calling MFXVideoVPP_Query function. If this filter is supported function returns MFX_ERR_NONE status and copies content of input structure to output one. If filter is not supported function returns MFX_WRN_FILTER_SKIPPED, removes filter form mfxExtVPPDoUse structure and zeroes mfxExtVPPImageStab structure.

If image stabilization filter is not supported, both MFXVideoVPP_Init and MFXVideoVPP_Reset functions returns MFX_WRN_FILTER_SKIPPED status.

The application can retrieve list of active filters by attaching mfxExtVPPDoUse structure to mfxVideoParam structure and calling MFXVideoVPP_GetVideoParam function. The application must allocate enough memory for filter list.

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_VPP_IMAGE_STABILIZATION

 

 

Mode

Specify the image stabilization mode. It should be one of the next values:
MFX_IMAGESTAB_MODE_UPSCALE
MFX_IMAGESTAB_MODE_BOXING

 

Change History

 

This structure is available since SDK API 1.6.

 

 

 

 

 

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