BufferFormat
The BufferFormat structure describes the format of a buffer.
Syntax
typedef struct stcBufferFormat
{
FORMAT_TYPE dwFlags;
DWORD dwInputPin;
PIPELINE_TIME prerollTime;
struct VideoFormatInfo
{
double dblWidthRatio;
double dblHeightRatio;
}
} BufferFormat;
Members
dwFlags
One or more values from the FORMAT_TYPE enumeration, combined with a bitwise OR, that describe the format of the data in the buffer and how it should be treated.
dwInputPin
A DWORD that specifies the one-based input stream on the node.
prerollTime
A PIPELINE_TIME structure that specifies the preroll time. This value gives the transform extra time to initialize. Microsoft advises against specifying this value.
dblWidthRatio
A double that specifies the width ratio of video objects.
dblHeightRatio
A double that specifies the height ratio of video objects.
Requirements
Client: Windows Vista
Header: Include gputransformplugin.h and GPUPipelineTime.h.
Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).
See Also