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

88
Flix Engine Linux Module Documentation
Use the
along with
and the
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
or
→ pUseSaturation Variable to update with the current saturation enable status
Return values:
The saturation filter enable status was successfully retrieved from the engine.
The underlying communication layer failed.
Note:
If a value other than ON2_OK is returned, the output variables should not be considered valid.
Use the
along with
and the
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
or
← brightness Brightness Factor (-255 to 255)
Return values:
The brightness value was successfully set in the engine.
The value is out of range.
The underlying communication layer failed.
Note:
This call will have no effect on the encoded video unless the brightness filter is enabled with
. The default value is 0 (no change).
Use the
along with
and the
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