mvVideoDisplay(3dm) mvVideoDisplay(3dm)
mvSetVideoDisplay, mvGetVideoDisplay - Set/get movie video display mode.
#include <dmedia/moviefile.h>
#include <dmedia/movieplay.h>
void mvSetVideoDisplay(MVid movieId, MVvideoDisplay mode);
MVvideoDisplay mvGetVideoDisplay(MVid movieId);
The Movie Playback Library supports 3 video display modes that specify
how movies of non-standard sizes should be displayed on video devices
(e.g. when they are bound to MV_PORT_VIDEO).
MV_VIDEO_DISPLAY_UPPER_LEFT [Toc] [Back]
- movie is in the upper left corner of the video
MV_VIDEO_DISPLAY_CENTER
- movie is centered in the video
MV_VIDEO_DISPLAY_SCALE_TO_FIT,
- display is scaled to fit the natural video size
Note that when the movie is the natural size of
the video path, the three modes are equivalent.
mvGetPlayLoopMode(3dm) returns the current video display mode
for the specified movie.
The default display mode is MV_VIDEO_DISPLAY_CENTER.
You may invoke either of these calls on a movie regardless of
whether or not the movie is currently playing.
The video display mode has no effect on how the movie is displayed on the
graphics screen.
The scale implied by MV_VIDEO_DISPLAY_SCALE_TO_FIT is done using an
unspecified algorithm. The natural size is dependent on the current
VL_TIMING of the video path being used.
mvIntro(3dm), mvPlay(3dm), mvPort(3dm), vlIntro(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|