Defines, 2 define documentation – Google Flix Engine Linux Reference Manual User Manual

Page 89

Advertising
background image

5.22 Brightness/Contrast/Hue/Saturation

83

on2sc editor_options_SetHue

(

FLIX2HANDLE

flix, const

int32_t

hue)

Set the hue adjustment factor.

on2sc editor_options_GetUseHue

(const

FLIX2HANDLE

flix,

on2bool

∗pUseHue)

Determine if the hue filter is enabled.

on2sc editor_options_SetUseHue

(

FLIX2HANDLE

flix, const

on2bool

bUseHue)

Enable/disable the hue filter.

on2sc editor_options_GetSaturation

(const

FLIX2HANDLE

flix, double ∗pSaturation)

Get the current saturation adjustment factor.

on2sc editor_options_SetSaturation

(

FLIX2HANDLE

flix, const double saturation)

Set the saturation adjustment factor.

on2sc editor_options_GetUseSaturation

(const

FLIX2HANDLE

flix,

on2bool

∗pUseSaturation)

Determine if the saturation filter is enabled.

on2sc editor_options_SetUseSaturation

(

FLIX2HANDLE

flix, const

on2bool

bUseSaturation)

Enable/disable the saturation filter.

Defines

• #define

FE2_FILTER_BCHS

Filter name for use with

Flix2_AddFilter()

.

• #define

FE2_BCHS_BRIGHTNESS

Parameter for the brightness adjustment factor.

• #define

FE2_BCHS_CONTRAST

Parameter for the contrast adjustment factor.

• #define

FE2_BCHS_HUE

Parameter for the hue adjustment factor.

• #define

FE2_BCHS_SATURATION

Parameter for the saturation adjustment factor.

5.22.2

Define Documentation

5.22.2.1

#define FE2_BCHS_BRIGHTNESS

Parameter for the brightness adjustment factor.

Determines the level by which to adjust the brightness. Brightness is adjusted on a scale of -255 to 255,
with 0 indicating no change. To increase the relative brightness of the video, use a positive number. To
decrease the relative brightness of the video, use a negative number.

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

Advertising