OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:paintingData
(Results
1 - 2
of
2
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/filters/
FEConvolveMatrix.cpp
240
ALWAYS_INLINE void FEConvolveMatrix::fastSetInteriorPixels(
PaintingData
&
paintingData
, int clipRight, int clipBottom)
243
int pixel = (m_targetOffset.y() *
paintingData
.width + m_targetOffset.x()) * 4;
266
totals[0] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->get(kernelPixel++));
267
totals[1] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->get(kernelPixel++));
268
totals[2] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->get(kernelPixel++));
270
totals[3] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->get(kernelPixel));
279
setDestinationPixels<preserveAlphaValues>(
paintingData
.dstPixelArray, pixel, totals, m_divisor,
paintingData
.bias,
paintingData
.srcPixelArray)
[
all
...]
FELighting.cpp
182
inline void FELighting::inlineSetPixel(int offset, LightingData& data, LightSource::
PaintingData
&
paintingData
,
185
m_lightSource->updatePaintingData(
paintingData
, lightX, lightY, static_cast<float>(data.pixels->get(offset + cAlphaChannelOffset)) * data.surfaceScale);
191
lightStrength = m_diffuseConstant *
paintingData
.lightVector.z() /
paintingData
.lightVectorLength;
193
FloatPoint3D halfwayVector =
paintingData
.lightVector;
194
halfwayVector.setZ(halfwayVector.z() +
paintingData
.lightVectorLength);
209
lightStrength = m_diffuseConstant * (normalVector *
paintingData
.lightVector) / (normalVectorLength *
paintingData
.lightVectorLength);
211
FloatPoint3D halfwayVector =
paintingData
.lightVector
[
all
...]
Completed in 26 milliseconds