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/core/platform/graphics/filters/
FEComponentTransfer.cpp 107 static void table(unsigned char* values, const ComponentTransferFunction& transferFunction)
109 const Vector<float>& tableValues = transferFunction.tableValues;
124 static void discrete(unsigned char* values, const ComponentTransferFunction& transferFunction)
126 const Vector<float>& tableValues = transferFunction.tableValues;
139 static void linear(unsigned char* values, const ComponentTransferFunction& transferFunction)
142 double val = transferFunction.slope * i + 255 * transferFunction.intercept;
148 static void gamma(unsigned char* values, const ComponentTransferFunction& transferFunction)
151 double exponent = transferFunction.exponent; // RCVT doesn't like passing a double and a float to pow, so promote this to double
152 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 205 ComponentTransferFunction transferFunction;
206 transferFunction.type = FECOMPONENTTRANSFER_TYPE_TABLE;
210 transferFunction.tableValues = transferParameters;
213 effect = FEComponentTransfer::create(this, transferFunction, transferFunction, transferFunction, nullFunction);
218 ComponentTransferFunction transferFunction;
219 transferFunction.type = FECOMPONENTTRANSFER_TYPE_TABLE;
223 transferFunction.tableValues = transferParameters;
226 effect = FEComponentTransfer::create(this, nullFunction, nullFunction, nullFunction, transferFunction);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFEComponentTransferElement.cpp 93 red = static_cast<SVGFEFuncRElement*>(node)->transferFunction();
95 green = static_cast<SVGFEFuncGElement*>(node)->transferFunction();
97 blue = static_cast<SVGFEFuncBElement*>(node)->transferFunction();
99 alpha = static_cast<SVGFEFuncAElement*>(node)->transferFunction();
SVGComponentTransferFunctionElement.h 74 ComponentTransferFunction transferFunction() const;
SVGComponentTransferFunctionElement.cpp 140 ComponentTransferFunction SVGComponentTransferFunctionElement::transferFunction() const

Completed in 68 milliseconds