HomeSort by relevance Sort by last modified time
    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 174 ComponentTransferFunction transferFunction;
175 transferFunction.type = FECOMPONENTTRANSFER_TYPE_TABLE;
179 transferFunction.tableValues = transferParameters;
182 effect = FEComponentTransfer::create(this, transferFunction, transferFunction, transferFunction, nullFunction);
186 ComponentTransferFunction transferFunction;
187 transferFunction.type = FECOMPONENTTRANSFER_TYPE_TABLE;
191 transferFunction.tableValues = transferParameters;
194 effect = FEComponentTransfer::create(this, nullFunction, nullFunction, nullFunction, transferFunction);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFEComponentTransferElement.cpp 85 red = toSVGFEFuncRElement(*element).transferFunction();
87 green = toSVGFEFuncGElement(*element).transferFunction();
89 blue = toSVGFEFuncBElement(*element).transferFunction();
91 alpha = toSVGFEFuncAElement(*element).transferFunction();
SVGComponentTransferFunctionElement.h 36 ComponentTransferFunction transferFunction() const;
SVGComponentTransferFunctionElement.cpp 120 ComponentTransferFunction SVGComponentTransferFunctionElement::transferFunction() const

Completed in 92 milliseconds