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

  /external/skia/include/effects/
SkColorMatrix.h 13 class SK_API SkColorMatrix {
52 void setConcat(const SkColorMatrix& a, const SkColorMatrix& b);
53 void preConcat(const SkColorMatrix& mat) { this->setConcat(*this, mat); }
54 void postConcat(const SkColorMatrix& mat) { this->setConcat(mat, *this); }
60 bool operator==(const SkColorMatrix& other) const {
64 bool operator!=(const SkColorMatrix& other) const { return !((*this) == other); }
SkColorMatrixFilter.h 12 #include "SkColorMatrix.h"
16 static SkColorMatrixFilter* Create(const SkColorMatrix& cm) {
42 explicit SkColorMatrixFilter(const SkColorMatrix&);
47 SkColorMatrix fMatrix;
48 float fTranspose[SkColorMatrix::kCount]; // for Sk4s
  /external/skia/src/effects/
SkColorMatrix.cpp 7 #include "SkColorMatrix.h"
31 bool SkColorMatrix::NeedsClamping(const SkScalar matrix[20]) {
38 void SkColorMatrix::SetConcat(SkScalar result[20],
71 void SkColorMatrix::setIdentity() {
76 void SkColorMatrix::setScale(SkScalar rScale, SkScalar gScale, SkScalar bScale,
85 void SkColorMatrix::postTranslate(SkScalar dr, SkScalar dg, SkScalar db,
95 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) {
103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) {
120 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) {
121 SkColorMatrix tmp
    [all...]
SkColorMatrixFilter.cpp 9 #include "SkColorMatrix.h"
99 result[0] = (array[SkColorMatrix::kR_Scale] * (int)r + array[4]) >> shift;
100 result[1] = (array[SkColorMatrix::kG_Scale] * (int)g + array[9]) >> shift;
101 result[2] = (array[SkColorMatrix::kB_Scale] * (int)b + array[14]) >> shift;
111 result[0] = (array[SkColorMatrix::kR_Scale] * (int)r + array[4]) >> 16;
112 result[1] = (array[SkColorMatrix::kG_Scale] * (int)g + array[9]) >> 16;
113 result[2] = (array[SkColorMatrix::kB_Scale] * (int)b + array[14]) >> 16;
123 result[0] = r + (array[SkColorMatrix::kR_Trans] >> shift);
124 result[1] = g + (array[SkColorMatrix::kG_Trans] >> shift);
125 result[2] = b + (array[SkColorMatrix::kB_Trans] >> shift)
    [all...]
SkColorFilters.cpp 464 SkColorMatrix matrix;
  /external/skia/gm/
colormatrix.cpp 31 static void setColorMatrix(SkPaint* paint, const SkColorMatrix& matrix) {
100 SkColorMatrix matrix;
110 matrix.setRotate(SkColorMatrix::kR_Axis, 90);
114 matrix.setRotate(SkColorMatrix::kG_Axis, 90);
118 matrix.setRotate(SkColorMatrix::kB_Axis, 90);
  /external/skia/samplecode/
SampleEffects.cpp 90 SkColorMatrix cm;
91 cm.setRotate(SkColorMatrix::kG_Axis, 180);
  /external/skia/tests/
ColorFilterTest.cpp 197 SkColorMatrix m0, m1;
204 SkColorMatrix m0, m1;
PaintTest.cpp 362 SkColorMatrix cm;
  /external/skia/
Android.mk 295 src/effects/SkColorMatrix.cpp \

Completed in 165 milliseconds