SetVideoColorKey

Set the color key for a specific video overlay buffer.

Declaration

void NAPI GA_videoFuncs::SetVideoColorKey(
GA_buf *videoBuffer,
GA_color colorKeyLo,
GA_color colorKeyHi)

Prototype In

snap/graphics.h

Parameters

videoBuffer | Video overlay buffer to use
colorKeyLo | Color key low value (key for single color key mode)
colorKeyHi | Color key high value (ignored for single color key mode)

Description

This function sets the color key (or color key range) for the specified video overlay buffer. If single key color keying is enabled, the the colorKeyLo parameter represents the single color key, otherwise the two keys are used to represent the range of colors for the color key.

See Also

AllocVideoBuffer, FreeVideoBuffer, SetVideoOutput, SetVideoColorKey, StartVideoFrame, EndVideoFrame

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com