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.
UINT32
GUID MF_MT_DEFAULT_STRIDE = {0x644b4e48,0x1e02,0x4516,{0xb0,0xeb,0xc0,0x1c,0xa9,0xd4,0x9a,0xc6} }
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.
Header: Declared in mfapi.h.