OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:transferFunction
(Results
1 - 2
of
2
) sorted by null
/external/webkit/Source/WebCore/svg/
SVGComponentTransferFunctionElement.cpp
144
ComponentTransferFunction SVGComponentTransferFunctionElement::
transferFunction
() const
/external/webkit/Source/WebCore/platform/graphics/filters/
FEComponentTransfer.cpp
101
static void table(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
103
const Vector<float>& tableValues =
transferFunction
.tableValues;
118
static void discrete(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
120
const Vector<float>& tableValues =
transferFunction
.tableValues;
133
static void linear(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
136
double val =
transferFunction
.slope * i + 255 *
transferFunction
.intercept;
142
static void gamma(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
145
double exponent =
transferFunction
.exponent; // RCVT doesn't like passing a double and a float to pow, so promote this to double
146
double val = 255.0 * (
transferFunction
.amplitude * pow((i / 255.0), exponent) + transferFunction.offset)
[
all
...]
Completed in 4351 milliseconds