Overlay_options_setuseoverlay – Google Flix Engine Linux Reference Manual User Manual
Page 138

132
Flix Engine Linux Module Documentation
5.31.4.10
on2sc overlay_options_SetOverlayPosition (FLIX2HANDLE flix,
FE2_OverlayPositionMode mode, uint32_t x, uint32_t y)
Set the overlay position.
Parameters:
← flix Handle to the flix engine returned from
or
→ mode the position mode
→ x the x coordinate value
→ y the y coordinate value
Return values:
success
the precondition failed
the underlying communication layer failed
Precondition:
flix
is not NULL
Remarks:
The x and y values are ignored unless mode is equal to
If mode is equal to
, and either coordinate value is invalid (x >
video width or y > video height), the invalid coordinate will be set to 0.
If the the value of the x and/or y coordinates cause any portion of the overlay to be outside of the video
image bounds, the portion of the overlay image that is out of bounds will be cropped.
Use the
along with
and the
parameters. This function will be removed in a future
release.
5.31.4.11
on2sc overlay_options_SetUseOverlay (FLIX2HANDLE flix, const on2bool bUseOverlay)
Enables or disables overlay usage.
Parameters:
← flix Handle to the flix engine returned from
or
← bUseOverlay
value set to the desired overlay state
Return values:
the overlay status was changed successfully
the precondition failed
the underlying communication layer failed
Precondition:
flix
is NULL
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen