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


DirectShow Samples (Windows Embedded CE 6.0)

1/6/2010

The code samples for all DirectShow base classes are located in %_PUBLICROOT%\DIRECTX\SDK\SAMPLES\DSHOW\BASECLASSES. For information about DirectShow base classes, see Base Classes.

The following table shows the code samples related to DirectShow filters. The source code for these samples is located in %_PUBLICROOT%\DIRECTX\SDK\SAMPLES\DSHOW\FILTERS.

Sample Description

Ball.dll

Source filter that produces a continuous stream of images that show a colored ball bouncing around the window. The color of the ball depends on the bit depth of the current display device. Because it is effectively a live video stream, this filter does not provide any seeking interfaces.

Dump.dll

Generic renderer that can be attached to any data stream that uses an IMemInputPin data transport. The renderer writes the contents of each sample, including its properties, into a file. This file is specified when the filter is created.

Ezrgb24.dll

Special-effects filter that only works with RGB24 formats. It can be inserted between video decoders and renderers to apply various effects to the decompressed video stream. For example, it can apply red, green, or blue color filters, posterise, and create graying effects. The effect can be applied to the stream at a given start and end media time, which are defined by using the filter's IIPEffect interface.

Inftee.dll

Pass-through filter. It has a single input pin and can have many output pins. It starts with one output pin and each time an output pin connects, the filter creates another output pin. Any data samples that the input pin receives is sent down each output pin. Each output pin has a separate thread to avoid delivery-blocking the filter's thread.

The following table shows the code samples related to DirectShow player applications. The source code for these samples is located in %_PUBLICROOT%\DIRECTX\SDK\SAMPLES\DSHOW\PLAYERS.

Sample Description

Ceplayit.exe

Simple console application for video playback.

Ddxclmv.dll

This sample demonstrates video playback using DirectDraw exclusive mode.

Hlplayit.exe

Simple console application for audio playback.

Playwnd.exe

Interactive audio and video media file player.

See Also

Other Resources

DirectShow