Editor_options_getusebrightness, Editor_options_getsaturation – Google Flix Engine Linux Reference Manual User Manual

Page 92

Advertising
background image

86

Flix Engine Linux Module Documentation

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pHue Hue factor (-180..180)

Return values:

ON2_OK

The hue value was successfully retrieved from the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

If a value other than ON2_OK is returned, the output variables should not be considered valid.

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_BCHS

and the

FE2_BCHS_HUE

parameter. This

function will be removed in a future release.

5.22.3.4

on2sc editor_options_GetSaturation (const FLIX2HANDLE flix, double ∗ pSaturation)

Get the current saturation adjustment factor.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pSaturation Saturation factor (-255..255)

Return values:

ON2_OK

The saturation value was successfully retrieved from the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

If a value other than ON2_OK is returned, the output variables should not be considered valid.

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_BCHS

and the

FE2_BCHS_SATURATION

param-

eter. This function will be removed in a future release.

5.22.3.5

on2sc editor_options_GetUseBrightness (const FLIX2HANDLE flix, on2bool ∗
pUseBrightness)

Determine if the brightness filter is enabled.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pUseBrightness Variable to update with the current brightness enable status

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

Advertising