Supported Browsers Home   
GA_VideoBufferFormatsType Previous   
GA_WorkAroundsFlagsType Next   
Type Definitions Up   

GA_VideoOutputFlagsType

Declaration

typedef enum {
    gaVideoXInterp                  = 0x00000001,
    gaVideoYInterp                  = 0x00000002,
    gaVideoColorKeySrcSingle        = 0x00000004,
    gaVideoColorKeySrcRange         = 0x00000008,
    gaVideoColorKeyDstSingle        = 0x00000010,
    gaVideoColorKeyDstRange         = 0x00000020
    } GA_VideoOutputFlagsType

Prototype In

snap/graphics.h

Description

Flags for hardware video output capabilities defined in the VideoOutputFlags member of the GA_videoInf structure. These flags define the hardware video capabilities of the particular graphics mode, and are only valid if the gaHaveAccelVideo flag is defined in the Attributes member of the GA_modeInfo structure.

The gaVideoXInterp flag is used to determine whether the video overlay window can support hardware interpolation or filtering in the X axis when scaling the input image to the display. If this bit is 1, then the hardware can support filtering of values in the X direction resulting in better looking images when scaled from a smaller input frame.

The gaVideoYInterp flag is used to determine whether the video overlay window can support hardware interpolation or filtering in the Y axis when scaling the input image to the display. If this bit is 1, then the hardware can support filtering of values in the Y direction resulting in better looking images when scaled from a smaller input frame.

The gaVideoColorKeySrcSingle flag is used to determine whether the video overlay window can support hardware source color keying with a single source color key value. When hardware source color keying is enabled, any pixel data in the incoming source video that matches the currently set video color key will be ignored and not displayed on the screen, essentially allowing the display data under the video overlay window to show through.

The gaVideoColorKeySrcRange flag is used to determine whether the video overlay window can support hardware source color keying with a range of color key values. This is the same as single source color keying, but the color key values may be allows to fall within a range of available colors (useful if data has been filtered causing the colors to change).

The gaVideoColorKeyDstSingle flag is used to determine whether the video overlay window can support hardware destination color keying with a single destination color key value. When hardware detination color keying is enabled (sometimes called blue-screening), any destination pixels that the overlay window overlaps that match the currently set video color key, will cause the source input pixels to be ignored, essentially allowing the display data under the video overlay window to show through.

The gaVideoColorKeyDstRange flag is used to determine whether the video overlay window can support hardware destination color keying with a range of color key values. This is the same as single destination color keying, but the color key values may be allows to fall within a range of available colors.

Note:    These flags are also passed to the SetVideoOutput function to determine what features are enabled for the output window.

Members

gaVideoXInterp

Supports X interpolation

gaVideoYInterp

Supports Y interpolation

gaVideoColorKeySrcSingle

Supports source color keying, single color

gaVideoColorKeySrcRange

Supports source color keying, range of colors

gaVideoColorKeyDstSingle

Support destination color keying, single color

gaVideoColorKeyDstRange

Support destination color keying, range of colors

 

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