Brightness/contrast/hue/saturation, 22 brightness/contrast/hue/saturation, 1 detailed description – Google Flix Engine Linux Reference Manual User Manual
Page 88: Deprecated functions

82
Flix Engine Linux Module Documentation
5.22
Brightness/Contrast/Hue/Saturation
5.22.1
Detailed Description
The BCHS video filter is a filter used to modify the brightness, contrast, hue and/or saturation of the source
image.
Filter Parameters:
Name
|
Type
| Opt/Reqd |
Range
=======================================================================================
FE2_BCHS_BRIGHTNESS
| Numeric
| Optional | [-255,255]
FE2_BCHS_CONTRAST
| Numeric
| Optional | [-255,255]
FE2_BCHS_HUE
| Numeric
| Optional | [-180,180]
FE2_BCHS_SATURATION
| Numeric
| Optional | [-255,255]
Example Usage:
sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_BCHS);
//up the contrast by ~10%
if(sc == ON2_OK)
sc = Flix2_FilterSetParam(filter, FE2_BCHS_CONTRAST, 25.5);
Deprecated functions
•
on2sc editor_options_GetBrightness
(const
flix,
∗pBrightness)
Get the current brightness adjustment factor.
•
on2sc editor_options_SetBrightness
flix, const
brightness)
Set the brightness adjustment factor.
•
on2sc editor_options_GetUseBrightness
(const
flix,
∗pUseBrightness)
Determine if the brightness filter is enabled.
•
on2sc editor_options_SetUseBrightness
flix, const
bUseBrightness)
Enable/disable the brightness filter.
•
on2sc editor_options_GetContrast
(const
flix, double ∗pContrast)
Get the current contrast adjustment factor.
•
on2sc editor_options_SetContrast
flix, const double contrast)
Set the contrast adjustment factor.
•
on2sc editor_options_GetUseContrast
(const
flix,
∗pUseContrast)
Determine if the contrast filter is enabled.
•
on2sc editor_options_SetUseContrast
flix, const
bUseContrast)
Enable/disable the contrast filter.
•
(const
flix,
∗pHue)
Get the current hue adjustment factor.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen