IPictureMixer2::UseExtraBuffer2

From MediaLooks Knowledge Base
Jump to: navigation, search

The UseExtraBuffer2 method of the IPictureMixer2 interface is used to enable/disable priview (if supported).

Contents

Syntax

HRESULT UseExtraBuffer2([in] BOOL _bUse);

Parameters

NameDescription
_bUse[in] The flag that shows the method whether to enable or disable extra buffering.


Return Values

Return code Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory.
E_POINTER Null pointer argument.


Remarks

If extra buffering is disabled, mixing is performed in downstream filter allocator, which may cause performance problems with video memory used.
Extra buffering is useful with a connection to Video Renderer and is required for calls to the SetOutpuRect method.

Personal tools