OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:transferFunction
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FEComponentTransfer.cpp
102
static void table(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
104
const Vector<float>& tableValues =
transferFunction
.tableValues;
119
static void discrete(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
121
const Vector<float>& tableValues =
transferFunction
.tableValues;
134
static void linear(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
137
double val =
transferFunction
.slope * i + 255 *
transferFunction
.intercept;
143
static void gamma(unsigned char* values, const ComponentTransferFunction&
transferFunction
)
146
double exponent =
transferFunction
.exponent; // RCVT doesn't like passing a double and a float to pow, so promote this to double
147
double val = 255.0 * (
transferFunction
.amplitude * pow((i / 255.0), exponent) + transferFunction.offset)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
FilterEffectRenderer.cpp
171
ComponentTransferFunction
transferFunction
;
172
transferFunction
.type = FECOMPONENTTRANSFER_TYPE_TABLE;
176
transferFunction
.tableValues = transferParameters;
179
effect = FEComponentTransfer::create(this,
transferFunction
,
transferFunction
,
transferFunction
, nullFunction);
183
ComponentTransferFunction
transferFunction
;
184
transferFunction
.type = FECOMPONENTTRANSFER_TYPE_TABLE;
188
transferFunction
.tableValues = transferParameters;
191
effect = FEComponentTransfer::create(this, nullFunction, nullFunction, nullFunction,
transferFunction
);
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFEComponentTransferElement.cpp
84
red = toSVGFEFuncRElement(*element).
transferFunction
();
86
green = toSVGFEFuncGElement(*element).
transferFunction
();
88
blue = toSVGFEFuncBElement(*element).
transferFunction
();
90
alpha = toSVGFEFuncAElement(*element).
transferFunction
();
SVGComponentTransferFunctionElement.h
37
ComponentTransferFunction
transferFunction
() const;
SVGComponentTransferFunctionElement.cpp
96
ComponentTransferFunction SVGComponentTransferFunctionElement::
transferFunction
() const
Completed in 304 milliseconds