next up previous contents index
Next: FMPSetVisibleSource Up: Picture placement Previous: FMPSetDestination   Contents   Index

FMPSetSource

This function allows the user to set a small rectangle area inside the source area as the play back source area. The coordinates are relative to the source window (usually 720*480 for MPEG2 NTSC).
(Linux, Windows CE and VxWorks)

DWORD FMPSetSource(DWORD dwX, DWORD dwY, DWORD dwcX, DWORD dwcY);

Arguments
DWORD dwX- Left horizontal coordinate
DWORD dwY- Top vertical coordinate
DWORD dwcX- Horizontal length
DWORD dwcY- Vertical length

Remarks
Usually dwX, dwY are ignored. They are considered always 0. dwcX, dwcY should be the width, height of Mpeg clip decoded. The settings are used only for zoom feature. By default the source size is (dwX, dwY, dwcX, dwcY) = (0, 0, 720, 480), for Mpeg2 Ntsc.

See also
FMPSet with FMPI_SOURCE_WINDOW (1.5.9)

mabelsha 2002-03-26