Поделиться через


DECIMATION_USAGE Enumeration

 
Microsoft DirectShow 9.0

DECIMATION_USAGE Enumeration

Describes the strategy that the Overlay Mixer Filter filter uses to scale the video image down to a smaller size.

Syntax

  typedef enum {
    DECIMATION_LEGACY,
    DECIMATION_USE_DECODER_ONLY,
    DECIMATION_USE_VIDEOPORT_ONLY,
    DECIMATION_USE_OVERLAY_ONLY,
    DECIMATION_DEFAULT
} DECIMATION_USAGE;

Members

DECIMATION_LEGACY

Decimate the video by taking the following steps, in the order listed, until one of them succeeds.

  1. Try to use the overlay scaler on the VGA chip.
  2. If the Overlay Mixer is connected through a video port, try to use the scaler on the video port.
  3. Crop the video image.

DECIMATION_USE_DECODER_ONLY

Decimate using the scaler on the video decoder. If that fails, crop the video image.

DECIMATION_USE_VIDEOPORT_ONLY

Decimate using the scaler on the video port. If that fails, crop the video image.

DECIMATION_USE_OVERLAY_ONLY

Decimate using the overlay scaler on the VGA chip. If that fails, crop the video image.

DECIMATION_DEFAULT

Decimate the video by taking the following steps, in the order listed, until one of them succeeds.

  1. Try to use the scaler on the video decoder.

  2. Try to use the overlay scaler on the VGA chip.

  3. If the Overlay Mixer is connected through a video port, try to use the scaler on the video port.

  4. Crop the video image.

    This mode is the default decimation strategy.

Requirements

  Header: Dshow.h

See Also