next up previous contents index
Next: Push model functions Up: Picture placement Previous: FMPSetSource   Contents   Index

FMPSetVisibleSource

This function defines a rectangle inside the video source (smaller or equal), that will be zoomed (up-scaled) to the entire destination window. ( Linux, Windows CE and VxWorks)

DWORD FMPSetVisibleSource(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
This function is used to zoom the video, if the registry entry permits ( "ZoomEnable = 1" ). The following feature is to call when another way to enable/disable zoom and tvdestination.

FMPSet(FMPI_OVERLAY_FLAGS, flags);, where flags is a combination of:

VIDEO_ZOOM_ENABLE 0x0001
VIDEO_TV_DEST_ENABLE 0x0002
VIDEO_HDTV_DEST_ENABLE 0x0004
OSD_VIDEO_INDEPENDENT_DEST 0x0008

See also
FMPSet with FMPI_VISIBLE_SOURCE_WINDOW (1.5.9)

mabelsha 2002-03-26