Skip to content

Latest commit

 

History

History
79 lines (62 loc) · 3.53 KB

nf-d3d11-id3d11videocontext-videoprocessorgetstreampalette.md

File metadata and controls

79 lines (62 loc) · 3.53 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:d3d11.ID3D11VideoContext.VideoProcessorGetStreamPalette
ID3D11VideoContext::VideoProcessorGetStreamPalette (d3d11.h)
Gets the color-palette entries for an input stream on the video processor.
ID3D11VideoContext interface [Media Foundation]
VideoProcessorGetStreamPalette method
ID3D11VideoContext.VideoProcessorGetStreamPalette
ID3D11VideoContext::VideoProcessorGetStreamPalette
VideoProcessorGetStreamPalette
VideoProcessorGetStreamPalette method [Media Foundation]
VideoProcessorGetStreamPalette method [Media Foundation]
ID3D11VideoContext interface
d3d11/ID3D11VideoContext::VideoProcessorGetStreamPalette
mf.id3d11videocontext_videoprocessorgetstreampalette
mf\id3d11videocontext_videoprocessorgetstreampalette.htm
mf
009568EA-7230-42C0-B35F-AB0A1AF8EC2A
12/05/2018
ID3D11VideoContext interface [Media Foundation],VideoProcessorGetStreamPalette method, ID3D11VideoContext.VideoProcessorGetStreamPalette, ID3D11VideoContext::VideoProcessorGetStreamPalette, VideoProcessorGetStreamPalette, VideoProcessorGetStreamPalette method [Media Foundation], VideoProcessorGetStreamPalette method [Media Foundation],ID3D11VideoContext interface, d3d11/ID3D11VideoContext::VideoProcessorGetStreamPalette, mf.id3d11videocontext_videoprocessorgetstreampalette
d3d11.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
Windows
19H1
ID3D11VideoContext::VideoProcessorGetStreamPalette
d3d11/ID3D11VideoContext::VideoProcessorGetStreamPalette
c++
APIRef
kbSyntax
COM
d3d11.h
ID3D11VideoContext.VideoProcessorGetStreamPalette

ID3D11VideoContext::VideoProcessorGetStreamPalette

-description

Gets the color-palette entries for an input stream on the video processor.

-parameters

-param pVideoProcessor [in]

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

-param StreamIndex [in]

The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.

-param Count [in]

The number of entries in the pEntries array.

-param pEntries [out]

A pointer to a UINT array allocated by the caller. The method fills the array with the palette entries. For RGB streams, the palette entries use the DXGI_FORMAT_B8G8R8A8 representation. For YCbCr streams, the palette entries use the DXGI_FORMAT_AYUV representation.

-remarks

This method applies only to input streams that have a palettized color format. Palettized formats with 4 bits per pixel (bpp) use 16 palette entries. Formats with 8 bpp use 256 entries.

-see-also

ID3D11VideoContext