IStrideForBitmap

Capture Manager SDK

IStrideForBitmap

IStrideForBitmap – it computes stride of memory for the specific bitmap format by the next methods:

HRESULT getStrideForBitmap( REFGUID aMFVideoFormat, DWORD aWidthInPixels, LONG* aPtrStride) - get widthInBytes - stride of imag, where aMFVideoFormat is IID of uncompressed video format, aWidthInPixels is width of image in pixels, aPtrStride is pointer to write computed value.