C language function:MFCalculateImageSize sample codes

Search sample code in the internet.It is the result.


TITLE : obs-studio/mf-h264-encoder.cpp at master jp9000/obs-studio GitHub
HRC(MFCalculateImageSize(MFVideoFormat_NV12, width, height, &imageSize));.......
http://github.com/jp9000/obs-studio/blob/master/plugins/win-mf/mf-h264-encoder.cpp


TITLE : MFCreateVideoSampleFromSurface function (Windows)
HRESULT MFCalculateImageSize(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/bb970318(v=vs.85).aspx
TITLE : Uncompressed Video Media Types (Windows)
hr = MFCalculateImageSize(subtype, width, height, &cbImage);.......
http://msdn.microsoft.com/ja-jp/ff485865
search Google

https://www.google.com/#q=MFCalculateImageSize