Skip to content

Latest commit

 

History

History
83 lines (65 loc) · 2.91 KB

ns-strmif-colorkey.md

File metadata and controls

83 lines (65 loc) · 2.91 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
NS:strmif.tagCOLORKEY
COLORKEY (strmif.h)
The COLORKEY structure communicates color key information between the renderer and another filter.
COLORKEY
COLORKEY structure [DirectShow]
COLORKEYStructure
dshow.colorkey
strmif/COLORKEY
dshow\colorkey.htm
dshow
1563488a-e4e5-472d-b665-5bbcb13fad1a
4/26/2023
COLORKEY, COLORKEY structure [DirectShow], COLORKEYStructure, dshow.colorkey, strmif/COLORKEY
strmif.h
Dshow.h
Windows
Windows
COLORKEY
19H1
tagCOLORKEY
strmif/tagCOLORKEY
COLORKEY
strmif/COLORKEY
c++
APIRef
kbSyntax
HeaderDef
strmif.h
COLORKEY

COLORKEY structure

-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 COLORKEY structure communicates color key information between the renderer and another filter.

-struct-fields

-field KeyType

Key type. Can be CK_NOCOLORKEY, CK_INDEX, or CK_RGB. The CK_INDEX and CK_RGB can be combined with a bitwise OR.

-field PaletteIndex

Palette index.

-field LowColorValue

Lowest RGB color value.

-field HighColorValue

Highest RGB color value.

-remarks

The video renderer supports a data transport accessed through the IOverlay interface. This will typically be used by hardware decoder filters that need the renderer to communicate where to put the data rather than requiring the renderer to draw the data. One mechanism for communicating where to put the images is by using a color key. This structure is used by a filter (typically a hardware decoder) to describe color key requirements to the video renderer.

-see-also

DirectShow Structures