Media Buffers

Media Buffers

A media buffer is a COM object that manages a block of memory, typically to hold media data. Media buffers are used to move data from one pipeline component to the next. Most applications do not use media buffers directly, because the Media Session handles all of the data flow between pipeline objects. You must use media buffers if you are writing your own pipeline component, or if you are using a pipeline component directly without the Media Session.

Media buffers exposes the IMFMediaBuffer interface. This interface is designed for reading or writing any type of data. Uncompressed video frames require special handling, because they might be stored in Direct3D surfaces located in video memory.

This section contains the following topics.

TopicDescription
Working with Media Buffers Describes the general behavior of media buffers for all media types.
Uncompressed Video Buffers How work with media buffers that contain uncompressed video frames.
DirectX Surface Buffer Describes how to store a Direct3D surface in a media buffer.

 

Related topics

Media Foundation Primitives

 

 

Community Additions

ADD
Show:
© 2016 Microsoft