
90 Flix Engine Linux Module Documentation
5.22.3.12 on2sc editor_options_SetSaturation (FLIX2HANDLE flix, const double saturation)
Set the saturation adjustment factor.
Determines the level by which to adjust the saturation. Saturation is adjusted on a scale of -255 to 255,
with 0 indicating no change. To increase the relative saturation of the video, use a positive number. To
decrease the relative saturation of the video, use a negative number.
Parameters:
← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
← saturation Saturation Factor (-255 to 255)
Return values:
ON2_OK The saturation 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 saturation filter is enabled with editor_-
options_SetUseSaturation(). The default value is 1.
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.13 on2sc editor_options_SetUseBrightness (FLIX2HANDLE flix, const on2bool
bUseBrightness)
Enable/disable the brightness filter.
Parameters:
← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
← bUseBrightness New brightness enable status. on2true to enable, on2false to disable.
Return values:
ON2_OK The brightness enable status was successfully set in the engine.
ON2_NET_ERROR The underlying communication layer failed.
Note:
By default, the brightness filter is disabled.
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
Komentarze do niniejszej Instrukcji