Home | History | Annotate | Download | only in output

Lines Matching defs:matrix

771   SkScalar matrix[20];
773 matrix[0] = 0.213f + 0.787f * amount;
774 matrix[1] = 0.715f - 0.715f * amount;
775 matrix[2] = 1.f - (matrix[0] + matrix[1]);
776 matrix[3] = matrix[4] = 0;
777 matrix[5] = 0.213f - 0.213f * amount;
778 matrix[6] = 0.715f + 0.285f * amount;
779 matrix[7] = 1.f - (matrix[5] + matrix[6]);
780 matrix[8] = matrix[9] = 0;
781 matrix[10] = 0.213f - 0.213f * amount;
782 matrix[11] = 0.715f - 0.715f * amount;
783 matrix[12] = 1.f - (matrix[10] + matrix[11]);
784 matrix[13] = matrix[14] = 0;
785 matrix[15] = matrix[16] = matrix[17] = matrix[19] = 0;
786 matrix[18] = 1;
788 skia::AdoptRef(SkColorMatrixFilter::Create(matrix)));
1001 SkScalar matrix[20];
1003 matrix[0] = 0.213f + 0.787f * amount;
1004 matrix[1] = 0.715f - 0.715f * amount;
1005 matrix[2] = 1.f - (matrix[0] + matrix[1]);
1006 matrix[3] = 0;
1007 matrix[4] = 20.f;
1008 matrix[5] = 0.213f - 0.213f * amount;
1009 matrix[6] = 0.715f + 0.285f * amount;
1010 matrix[7] = 1.f - (matrix[5] + matrix[6]);
1011 matrix[8] = 0;
1012 matrix[9] = 200.f;
1013 matrix[10] = 0.213f - 0.213f * amount;
1014 matrix[11] = 0.715f - 0.715f * amount;
1015 matrix[12] = 1.f - (matrix[10] + matrix[11]);
1016 matrix[13] = 0;
1017 matrix[14] = 1.5f;
1018 matrix[15] = matrix[16] = matrix[17] = matrix[19] = 0;
1019 matrix[18] = 1;
1021 skia::AdoptRef(SkColorMatrixFilter::Create(matrix)));