HomeSort by relevance Sort by last modified time
    Searched refs:PaintingData (Results 1 - 13 of 13) sorted by null

  /external/webkit/Source/WebCore/platform/graphics/filters/
FETurbulence.h 72 struct PaintingData {
83 PaintingData(long paintingSeed, const IntSize& paintingSize);
89 inline void initPaint(PaintingData&);
90 float noise2D(PaintingData&, const FloatPoint&);
91 unsigned char calculateTurbulenceValueForPoint(PaintingData&, const FloatPoint&);
PointLightSource.h 43 virtual void initPaintingData(PaintingData&);
44 virtual void updatePaintingData(PaintingData&, int x, int y, float z);
FEConvolveMatrix.h 86 struct PaintingData {
95 ALWAYS_INLINE void fastSetInteriorPixels(PaintingData&, int clipRight, int clipBottom);
97 ALWAYS_INLINE int getPixelValue(PaintingData&, int x, int y);
100 void fastSetOuterPixels(PaintingData&, int x1, int y1, int x2, int y2);
103 ALWAYS_INLINE void setInteriorPixels(PaintingData& paintingData, int clipRight, int clipBottom);
104 ALWAYS_INLINE void setOuterPixels(PaintingData& paintingData, int x1, int y1, int x2, int y2);
LightSource.h 50 struct PaintingData {
72 virtual void initPaintingData(PaintingData&) = 0;
75 virtual void updatePaintingData(PaintingData&, int x, int y, float z) = 0;
DistantLightSource.h 43 virtual void initPaintingData(PaintingData&);
44 virtual void updatePaintingData(PaintingData&, int x, int y, float z);
DistantLightSource.cpp 40 void DistantLightSource::initPaintingData(PaintingData& paintingData)
44 paintingData.lightVector.setX(cosf(azimuth) * cosf(elevation));
45 paintingData.lightVector.setY(sinf(azimuth) * cosf(elevation));
46 paintingData.lightVector.setZ(sinf(elevation));
47 paintingData.lightVectorLength = 1;
50 void DistantLightSource::updatePaintingData(PaintingData&, int, int, float)
SpotLightSource.h 53 virtual void initPaintingData(PaintingData&);
54 virtual void updatePaintingData(PaintingData&, int x, int y, float z);
FELighting.h 76 inline void inlineSetPixel(int offset, LightingData&, LightSource::PaintingData&,
80 void setPixel(int offset, LightingData&, LightSource::PaintingData&,
84 void drawInteriorPixels(LightingData&, LightSource::PaintingData&);
PointLightSource.cpp 40 void PointLightSource::initPaintingData(PaintingData&)
44 void PointLightSource::updatePaintingData(PaintingData& paintingData, int x, int y, float z)
46 paintingData.lightVector.setX(m_position.x() - x);
47 paintingData.lightVector.setY(m_position.y() - y);
48 paintingData.lightVector.setZ(m_position.z() - z);
49 paintingData.lightVectorLength = paintingData.lightVector.length();
FETurbulence.cpp 149 FETurbulence::PaintingData::PaintingData(long paintingSeed, const IntSize& paintingSize)
161 inline long FETurbulence::PaintingData::random()
180 inline void FETurbulence::initPaint(PaintingData& paintingData)
185 if (paintingData.seed <= 0)
186 paintingData.seed = -(paintingData.seed % (s_randMaximum - 1)) + 1;
187 if (paintingData.seed > s_randMaximum - 1)
188 paintingData.seed = s_randMaximum - 1
    [all...]
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...]
SpotLightSource.cpp 45 void SpotLightSource::initPaintingData(PaintingData& paintingData)
47 paintingData.privateColorVector = paintingData.colorVector;
48 paintingData.directionVector.setX(m_direction.x() - m_position.x());
49 paintingData.directionVector.setY(m_direction.y() - m_position.y());
50 paintingData.directionVector.setZ(m_direction.z() - m_position.z());
51 paintingData.directionVector.normalize();
54 paintingData.coneCutOffLimit = 0.0f;
55 paintingData.coneFullLight = -antiAliasTreshold
    [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 79 milliseconds