beautypg.com

Flixengine2/filters/overlay.h file reference, 27 flixengine2/filters/overlay.h file reference, Engine2/filters – Google Flix Engine Linux Reference Manual User Manual

Page 303: Overlay.h, 1 detailed description, Defines

background image

6.27 flixengine2/filters/overlay.h File Reference

297

6.27

flixengine2/filters/overlay.h File Reference

6.27.1

Detailed Description

Reference module(s):

Overlay (Watermark)

.

Definition in file

overlay.h

.

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

Blue component of the transparency color.

• #define

FE2_OVERLAY_POS

Set the overlay position. Valid modes are defined by

FE2_OverlayPositionMode

.

• #define

FE2_OVERLAY_POS_X

X coordinate of overlay top left on video.

• #define

FE2_OVERLAY_POS_Y

Y coordinate of overlay top left on video.

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