transferFunction 176 Source/core/rendering/FilterEffectRenderer.cpp ComponentTransferFunction transferFunction; transferFunction 177 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.type = FECOMPONENTTRANSFER_TYPE_TABLE; transferFunction 181 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.tableValues = transferParameters; transferFunction 184 Source/core/rendering/FilterEffectRenderer.cpp effect = FEComponentTransfer::create(this, transferFunction, transferFunction, transferFunction, nullFunction); transferFunction 188 Source/core/rendering/FilterEffectRenderer.cpp ComponentTransferFunction transferFunction; transferFunction 189 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.type = FECOMPONENTTRANSFER_TYPE_TABLE; transferFunction 193 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.tableValues = transferParameters; transferFunction 196 Source/core/rendering/FilterEffectRenderer.cpp effect = FEComponentTransfer::create(this, nullFunction, nullFunction, nullFunction, transferFunction); transferFunction 200 Source/core/rendering/FilterEffectRenderer.cpp ComponentTransferFunction transferFunction; transferFunction 201 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.type = FECOMPONENTTRANSFER_TYPE_LINEAR; transferFunction 202 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.slope = narrowPrecisionToFloat(toBasicComponentTransferFilterOperation(filterOperation)->amount()); transferFunction 203 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.intercept = 0; transferFunction 206 Source/core/rendering/FilterEffectRenderer.cpp effect = FEComponentTransfer::create(this, transferFunction, transferFunction, transferFunction, nullFunction); transferFunction 210 Source/core/rendering/FilterEffectRenderer.cpp ComponentTransferFunction transferFunction; transferFunction 211 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.type = FECOMPONENTTRANSFER_TYPE_LINEAR; transferFunction 213 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.slope = amount; transferFunction 214 Source/core/rendering/FilterEffectRenderer.cpp transferFunction.intercept = -0.5 * amount + 0.5; transferFunction 217 Source/core/rendering/FilterEffectRenderer.cpp effect = FEComponentTransfer::create(this, transferFunction, transferFunction, transferFunction, nullFunction); transferFunction 36 Source/core/svg/SVGComponentTransferFunctionElement.h ComponentTransferFunction transferFunction() const; transferFunction 88 Source/core/svg/SVGFEComponentTransferElement.cpp red = toSVGFEFuncRElement(*element).transferFunction(); transferFunction 90 Source/core/svg/SVGFEComponentTransferElement.cpp green = toSVGFEFuncGElement(*element).transferFunction(); transferFunction 92 Source/core/svg/SVGFEComponentTransferElement.cpp blue = toSVGFEFuncBElement(*element).transferFunction(); transferFunction 94 Source/core/svg/SVGFEComponentTransferElement.cpp alpha = toSVGFEFuncAElement(*element).transferFunction(); transferFunction 102 Source/platform/graphics/filters/FEComponentTransfer.cpp static void table(unsigned char* values, const ComponentTransferFunction& transferFunction) transferFunction 104 Source/platform/graphics/filters/FEComponentTransfer.cpp const Vector<float>& tableValues = transferFunction.tableValues; transferFunction 119 Source/platform/graphics/filters/FEComponentTransfer.cpp static void discrete(unsigned char* values, const ComponentTransferFunction& transferFunction) transferFunction 121 Source/platform/graphics/filters/FEComponentTransfer.cpp const Vector<float>& tableValues = transferFunction.tableValues; transferFunction 134 Source/platform/graphics/filters/FEComponentTransfer.cpp static void linear(unsigned char* values, const ComponentTransferFunction& transferFunction) transferFunction 137 Source/platform/graphics/filters/FEComponentTransfer.cpp double val = transferFunction.slope * i + 255 * transferFunction.intercept; transferFunction 143 Source/platform/graphics/filters/FEComponentTransfer.cpp static void gamma(unsigned char* values, const ComponentTransferFunction& transferFunction) transferFunction 146 Source/platform/graphics/filters/FEComponentTransfer.cpp double exponent = transferFunction.exponent; // RCVT doesn't like passing a double and a float to pow, so promote this to double transferFunction 147 Source/platform/graphics/filters/FEComponentTransfer.cpp double val = 255.0 * (transferFunction.amplitude * pow((i / 255.0), exponent) + transferFunction.offset); transferFunction 221 Source/platform/graphics/filters/FEComponentTransfer.cpp ComponentTransferFunction transferFunction[] = {m_redFunc, m_greenFunc, m_blueFunc, m_alphaFunc}; transferFunction 225 Source/platform/graphics/filters/FEComponentTransfer.cpp ASSERT_WITH_SECURITY_IMPLICATION(static_cast<size_t>(transferFunction[channel].type) < WTF_ARRAY_LENGTH(callEffect)); transferFunction 226 Source/platform/graphics/filters/FEComponentTransfer.cpp (*callEffect[transferFunction[channel].type])(tables[channel], transferFunction[channel]);