Editor_options_setbrightness, Editor_options_setcontrast, Editor_options_getusesaturation – Google Flix Engine Linux Reference Manual User Manual

Page 94

Advertising
background image

88

Flix Engine Linux Module Documentation

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.8

on2sc editor_options_GetUseSaturation (const FLIX2HANDLE flix, on2bool ∗
pUseSaturation)

Determine if the saturation filter is enabled.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pUseSaturation Variable to update with the current saturation enable status

Return values:

ON2_OK

The saturation filter enable status 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.9

on2sc editor_options_SetBrightness (FLIX2HANDLE flix, const int32_t brightness)

Set 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.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← brightness Brightness Factor (-255 to 255)

Return values:

ON2_OK

The brightness value was successfully set in the engine.

ON2_INVALID_PARAMS

The value is out of range.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

This call will have no effect on the encoded video unless the brightness filter is enabled with

editor_-

options_SetUseBrightness()

. The default value is 0 (no change).

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_BCHS

and the

FE2_BCHS_BRIGHTNESS

param-

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

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

Advertising