Editor_options_sethue, Editor_options_setsaturation – Google Flix Engine Linux Reference Manual User Manual
Page 95

5.22 Brightness/Contrast/Hue/Saturation
89
5.22.3.10
on2sc editor_options_SetContrast (FLIX2HANDLE flix, const double contrast)
Set the contrast adjustment factor.
Determines the level by which to adjust the contrast. Contrast is adjusted on a scale of -255 to 255, with 0
indicating no change. To increase the relative contrast of the video, use a positive number. To decrease the
relative contrast of the video, use a negative number.
Parameters:
← flix Handle to the Flix Engine returned from
or
← contrast Contrast Factor (-255 to 255)
Return values:
The contrast 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 contrast filter is enabled with
. The default value is 1.
Use the
along with
and the
parameter.
This function will be removed in a future release.
5.22.3.11
on2sc editor_options_SetHue (FLIX2HANDLE flix, const int32_t hue)
Set the hue adjustment factor.
Determines the level by which to adjust the hue. Hue is adjusted on a scale of -180 to 180, with 0 indicating
no change. To adjust the hue of the video towards red, use a negative number. To adjust the hue of the
video towards green, use a positive number.
Parameters:
← flix Handle to the Flix Engine returned from
or
← hue Hue Factor (-180 to 180)
Return values:
The hue 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 hue filter is enabled with
. The default value is 0.
Use the
along with
and the
parameter. This
function will be removed in a future release.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen