Skip to content

Latest commit

 

History

History
106 lines (74 loc) · 3.86 KB

nf-strmif-ivmrimagecompositor-compositeimage.md

File metadata and controls

106 lines (74 loc) · 3.86 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:strmif.IVMRImageCompositor.CompositeImage
IVMRImageCompositor::CompositeImage (strmif.h)
The CompositeImage method composites the current frames available in each input stream.
CompositeImage
CompositeImage method [DirectShow]
CompositeImage method [DirectShow]
IVMRImageCompositor interface
IVMRImageCompositor interface [DirectShow]
CompositeImage method
IVMRImageCompositor.CompositeImage
IVMRImageCompositor::CompositeImage
IVMRImageCompositorCompositeImage
dshow.ivmrimagecompositor_compositeimage
strmif/IVMRImageCompositor::CompositeImage
dshow\ivmrimagecompositor_compositeimage.htm
dshow
5af73543-d391-404a-9797-8fbb3f24879c
4/26/2023
CompositeImage, CompositeImage method [DirectShow], CompositeImage method [DirectShow],IVMRImageCompositor interface, IVMRImageCompositor interface [DirectShow],CompositeImage method, IVMRImageCompositor.CompositeImage, IVMRImageCompositor::CompositeImage, IVMRImageCompositorCompositeImage, dshow.ivmrimagecompositor_compositeimage, strmif/IVMRImageCompositor::CompositeImage
strmif.h
Dshow.h
Windows
Windows XP with SP1 [desktop apps only]
Windows Server 2003 [desktop apps only]
Strmiids.lib
Windows
19H1
IVMRImageCompositor::CompositeImage
strmif/IVMRImageCompositor::CompositeImage
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IVMRImageCompositor.CompositeImage

IVMRImageCompositor::CompositeImage

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The CompositeImage method composites the current frames available in each input stream.

-parameters

-param pD3DDevice [in]

Pointer to the IUnknown interface of the Direct3D device. The compositor must cast this to a LPDIRECT3DDEVICE7 type.

-param pddsRenderTarget [in]

Specifies the DirectDraw surface that all drawing should be performed on.

-param pmtRenderTarget [in]

Specifies the media type of the DirectDraw surface.

-param rtStart [in]

Specifies the start time.

-param rtEnd [in]

Specifies the end time.

-param dwClrBkGnd [in]

Specifies the background color.

-param pVideoStreamInfo [in]

Pointer to an array of video stream info objects.

-param cStreams [in]

Specifies the number of streams to be mixed, which is equal to the size of the pVideoStreamInfo array.

-returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

-see-also

Error and Success Codes

IVMRImageCompositor Interface

Using the Video Mixing Renderer