Overlay_options_setmaskpixelxy, Overlay_options_setmaskpixelxy() – Google Flix Engine Linux Reference Manual User Manual
Page 136
130
Flix Engine Linux Module Documentation
Return values:
the component values were set successfully
the precondition failed
the underlying communication layer failed
Precondition:
flix
is not NULL
Remarks:
The color specified will become transparent when the overlay image is drawn on the video image.
Once this function has been called successfully,
must be called to turn trans-
parency off.
Calling this method will disable masking based on XY coordinate.
Using a PNG or bitmap with full alpha channel will produce better results than using a transparency
color.
If using this method to add an overlay to video with an existing alpha channel, the transparent portions
of the overlay will be transparent in the output video. Opaque portions of the overlay will be averaged
with the existing alpha data.
Use the
along with
and the
and
parameters. This function will be re-
moved in a future release.
5.31.4.8
on2sc overlay_options_SetMaskPixelXY (FLIX2HANDLE flix, int32_t maskPixelX,
int32_t maskPixelY)
Set the X and Y coordinates of the mask pixel.
Parameters:
← flix Handle to the flix engine returned from
or
← maskPixelX the X coordinate value
← maskPixelY the Y coordinate value
Return values:
the coordinate values were set successfully
the precondition failed
the underlying communication layer failed
Precondition:
flix
is not NULL
Remarks:
The color at the specified coordinate will become transparent when the overlay image is drawn on the
video image.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen