Overlay_options_getmaskpixelxy, Overlay_options_getmaskpixelrgb, 4 function documentation – Google Flix Engine Linux Reference Manual User Manual
Page 132

126
Flix Engine Linux Module Documentation
5.31.4
Function Documentation
5.31.4.1
on2sc overlay_options_GetMaskPixelRGB (FLIX2HANDLE flix, uint8_t ∗ pMaskPixelR,
uint8_t ∗ pMaskPixelG, uint8_t ∗ pMaskPixelB)
Return the Red, Green, and Blue component values of the mask pixel.
Parameters:
← flix Handle to the flix engine returned from
or
→ pMaskPixelR pointer to variable that will receive the R value
→ pMaskPixelG pointer to variable that will receive the G value
→ pMaskPixelB pointer to variable that will receive the B value
Return values:
the color component values were retrieved successfully
a precondition failed
the underlying communication layer failed
Precondition:
flix
is not NULL
pMaskPixelR
is not NULL
pMaskPixelG
is not NULL
pMaskPixelB
is not NULL
Remarks:
This method returns the values set in previous call to
overlay_options_SetMaskPixelRGB()
, if no
coordinates were previously set, the Red, Green, and Blue component values will be set to 0.
Use the
along with
and the
and
parameters. This function will be re-
moved in a future release.
5.31.4.2
on2sc overlay_options_GetMaskPixelXY (const FLIX2HANDLE flix, int32_t ∗
pMaskPixelX, int32_t ∗ pMaskPixelY)
Return the X and Y coordinates of the mask pixel.
Parameters:
← flix Handle to the flix engine returned from
or
→ pMaskPixelX pointer to variable that will receive the X value
→ pMaskPixelY pointer to variable that will receive the Y value
Return values:
the coordinate values were retrieved successfully
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen