C language function:MFCreateAlignedMemoryBuffer sample codes

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


TITLE : MFTDecoder.cpp - DXR
hr = wmf::MFCreateAlignedMemoryBuffer(.......
http://dxr.mozilla.org/mozilla-beta/source/dom/media/platforms/wmf/MFTDecoder.cpp


TITLE : WMFH264Decoder.cpp - DXR
hr = MFCreateAlignedMemoryBuffer(bufferSize, alignment, &buffer);.......
http://dxr.mozilla.org/mozilla-beta/source/media/gmp-clearkey/0.1/WMFH264Decoder.cpp
TITLE : vlc/mft.c at master videolan/vlc GitHub
hr = mf->fptr_MFCreateAlignedMemoryBuffer(allocation_size, alignment - 1, &output_media_buffer);.......
http://github.com/videolan/vlc/blob/master/modules/codec/mft.c
TITLE : MFCreateVideoSampleFromSurface function (Windows)
HRESULT MFCreateAlignedMemoryBuffer(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/bb970523(v=vs.85).aspx
search Google

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