mfxExtDirtyRect

Definition

 

 

 

typedef struct {

    mfxExtBuffer Header;

 

    mfxU16  NumRect;

    mfxU16  reserved1[11];

 

    struct {

        mfxU32  Left;

        mfxU32  Top;

        mfxU32  Right;

        mfxU32  Bottom;

 

        mfxU16  reserved2[8];

    } Rect[256];

} mfxExtDirtyRect;

 

Description

 

 

Used by the application to specify dirty regions within a frame during encoding. It may be used at initialization or at runtime

 

Members

 

 

Header.BufferId

Must be MFX_EXTBUFF_DIRTY_RECTANGLES.

 

 

NumRect

Number of dirty rectangles.

 

 

Rect

Array of dirty rectangles.

 

 

Left

Top

Right

Bottom

Dirty region location. Should be aligned to MB boundaries (should be dividable by 16). If not, the SDK encoder truncates it to MB boundaries, for example, both 17 and 31 will be truncated to 16.

 

Change History

 

This structure is available since SDK API 1.16.

 

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