IMF2DBuffer2 interface (mfobjects.h)

Represents a buffer that contains a two-dimensional surface, such as a video frame.

Inheritance

The IMF2DBuffer2 interface inherits from IMF2DBuffer. IMF2DBuffer2 also has these types of members:

Methods

The IMF2DBuffer2 interface has these methods.

 
IMF2DBuffer2::Copy2DTo

Copies the buffer to another 2D buffer object.
IMF2DBuffer2::Lock2DSize

Gives the caller access to the memory in the buffer. (IMF2DBuffer2.Lock2DSize)

Remarks

This interface extends the IMF2DBuffer interface and adds a safer version of the IMF2DBuffer::Lock2D method.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfobjects.h (include Mfidl.h)

See also

IMF2DBuffer

Media Buffers

Media Foundation Interfaces

Uncompressed Video Buffers