Default surface stride, for an uncompressed video media type. Stride is the number of bytes needed to go from one row of pixels to the next.
Treat as a INT32 value.
The attribute value is stored as a UINT32, but should be cast to a 32-bit signed integer value. Stride can be negative.
Stride is positive for top-down images, and negative for bottom-up images.
This attribute gives the stride for a contiguous representation of the image in memory; that is, a representation with no additional padding bytes after each row. If a media buffer supports the IMF2DBuffer interface, use the IMF2DBuffer::Lock2D method to get the actual stride of the surface, which might include extra padding bytes.
For more information about surface stride, see Image Stride.
For an example of how to calculate the default stride, see Uncompressed Video Buffers.
The GUID constant for this attribute is exported from mfuuid.lib.
Minimum supported client
|Windows Vista [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2008 [desktop apps | Windows Store apps]|
Build date: 11/16/2013