Defines – Google Flix Engine Linux Reference Manual User Manual

Page 127

Advertising
background image

5.31 Overlay (Watermark)

121

on2sc overlay_options_SetMaskPixelXY

(

FLIX2HANDLE

flix,

int32_t

maskPixelX,

int32_-

t

maskPixelY)

Set the X and Y coordinates of the mask pixel.

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.

on2sc overlay_options_SetMaskPixelRGB

(

FLIX2HANDLE

flix,

uint8_t

maskPixelR,

uint8_-

t

maskPixelG,

uint8_t

maskPixelB)

Set the Red, Green, and Blue component values of the mask pixel.

on2sc overlay_options_GetOverlayPosition

(

FLIX2HANDLE

flix,

FE2_OverlayPositionMode

∗pMode,

uint32_t

∗pX,

uint32_t

∗pY)

Return the overlay position.

on2sc overlay_options_SetOverlayPosition

(

FLIX2HANDLE

flix,

FE2_OverlayPositionMode

mode,

uint32_t

x,

uint32_t

y)

Set the overlay position.

Defines

• #define

FE2_FILTER_OVERLAY

Filter name for use with

Flix2_AddFilter()

.

• #define

FE2_OVERLAY_FILE

Set the path to the overlay image file.

• #define

FE2_OVERLAY_MASK_XY

Use the pixel at coordinates (

FE2_OVERLAY_MASK_X

,

FE2_OVERLAY_MASK_Y

) to determine the trans-

parent color.

• #define

FE2_OVERLAY_MASK_X

X coordinate of pixel to use for transparency.

• #define

FE2_OVERLAY_MASK_Y

Y coordinate of pixel to use for transparency.

• #define

FE2_OVERLAY_MASK_RGB

Use the RGB value (

FE2_OVERLAY_MASK_R

,

FE2_OVERLAY_MASK_G

,

FE2_OVERLAY_MASK_B

) as

the transparency color.

• #define

FE2_OVERLAY_MASK_R

Red component of the transparency color.

• #define

FE2_OVERLAY_MASK_G

Green component of the transparency color.

• #define

FE2_OVERLAY_MASK_B

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising