Media Type Helper Functions
The following functions pertain to media type objects.
Function | Description |
---|---|
MFAverageTimePerFrameToFrameRate | Calculates the frame rate from the average duration of a video frame. |
MFCalculateImageSize | Retrieves the image size for an uncompressed video format. |
MFCompareFullToPartialMediaType | Compares a full media type to a partial media type. |
MFCreateMediaType | Creates an empty media type. |
MFFrameRateToAverageTimePerFrame | Converts a video frame rate into a frame duration. |
MFGetStrideForBitmapInfoHeader | Retrieves the minimum surface stride for a video format. |
MFIsFormatYUV | Queries whether a FOURCC code or D3DFORMAT value is a YUV format. |
MFValidateMediaTypeSize | Validates the size of a buffer for a video format block. |
MFWrapMediaType | Creates a media type that wraps another media type. |
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for