Per i + curiosi:
[/url]
http://msdn.microsoft.com/library/d...ngsomenewvideomixingrenderersampleapplica.asp
Ciao Antonio,
felice 2005.
Cosa ti ha portato la befana???
Aldo
Edit:
Ho visto che il Link non funzia.
Renderless Mode
In renderless playback mode, the VMR does not do its own rendering, but instead uses a custom Allocator-Presenter supplied by the application. This mode is useful for game writers, and HTML+TIME and other types of applications that do sophisticated video effects. Renderless playback mode enables applications to create and control their own DirectDraw surface, and/or to obtain access to the video bits at presentation time.
In renderless playback mode, the application:
Manages the playback window.
Allocates the DirectDraw object and the final frame buffer.
Notifies the rest of the playback system of the DirectDraw object being used.
"Presents" the frame buffer at the correct time.
Handles all Resolution Mode, monitor changes and "surface losses" — advising the rest of the playback system of these events.
The VMR:
Handles all timing related to presenting the video frame.
Provides quality-control information to the application and the rest of the playback system.
Presents a consistent interface to the upstream components of the playback system, which are not aware that the application is providing the frame buffer allocation and performing the rendering.
Provides any mixing of video streams that may be required prior to rendering.
The VMR Sample Applications
The following samples are divided into two series, Basic and Advanced. The Basic series shows what you can do using only the default components of the VMR. The first sample, Windowless, is a simple player that demonstrates how to configure the VMR for playback of a single video stream, and how to capture a video frame to a .bmp file. The next sample, Blender, shows how to configure the VMR for multiple input streams and how to control the rectangle position and alpha values for each input stream. The Watermark sample shows how to display and position an alpha-blended bitmap image, similar to a station logo, over a portion of the video rectangle. The Text and Ticker samples show how to use this same basic functionality to overlay and dynamically update text over the video rectangle.
The Advanced series of samples all demonstrate what is possible by supplying alternate components to perform custom rendering and mixing effects. VMRMulti shows how an application can supply its own Allocator-Presenter to perform cool 3-D effects. The last sample, Cube, shows how to provide your own Mixer-Compositor component to perform custom mixing effects
Provate con Yahoo, ricerca:
renderless+vmr