Searched defs:matrix (Results 76 - 100 of 654) sorted by relevance

1234567891011>>

/external/chromium_org/skia/ext/
H A Dplatform_device_mac.cc84 const SkMatrix& matrix) {
87 // the current transformation matrix identity and only then load the new one.
89 // Reset matrix to identity.
101 SkMatrix transformed_matrix = matrix;
102 SkScalar sy = matrix.getScaleY() * (SkScalar)-1;
105 SkScalar ty = -matrix.getTranslateY(); // y axis is flipped.
83 LoadTransformToCGContext(CGContextRef context, const SkMatrix& matrix) argument
H A Dplatform_device_win.cc131 void PlatformDevice::LoadTransformToDC(HDC dc, const SkMatrix& matrix) { argument
133 xf.eM11 = matrix[SkMatrix::kMScaleX];
134 xf.eM21 = matrix[SkMatrix::kMSkewX];
135 xf.eDx = matrix[SkMatrix::kMTransX];
136 xf.eM12 = matrix[SkMatrix::kMSkewY];
137 xf.eM22 = matrix[SkMatrix::kMScaleY];
138 xf.eDy = matrix[SkMatrix::kMTransY];
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMMatrix.cpp17 return new DOMMatrix(other->matrix(), other->is2D());
20 DOMMatrix::DOMMatrix(const TransformationMatrix& matrix, bool is2D) argument
22 m_matrix = matrix;
37 m_matrix = m_matrix * other->matrix();
47 m_matrix = other->matrix() * m_matrix;
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGPatternElement.cpp205 AffineTransform matrix; local
206 m_patternTransform->currentValue()->concatenate(matrix);
207 return matrix;
H A DSVGTransformTearOff.cpp48 SVGMatrixTearOff* SVGTransformTearOff::matrix() function in class:blink::SVGTransformTearOff
57 void SVGTransformTearOff::setMatrix(PassRefPtr<SVGMatrixTearOff> matrix, ExceptionState& exceptionState) argument
64 target()->setMatrix(matrix->value());
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DMatrixTransformOperation.h45 TransformationMatrix matrix() const { return TransformationMatrix(m_a, m_b, m_c, m_d, m_e, m_f); } function in class:blink::MatrixTransformOperation
66 TransformationMatrix matrix(m_a, m_b, m_c, m_d, m_e, m_f);
67 transform.multiply(matrix);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_csc.c41 * To calculate the color space conversion matrix csc with ProcAmp adjustments,
45 * Where cstd is a matrix corresponding to one of the color standards (BT.601, BT.709, etc)
47 * bias is a matrix corresponding to the kind of YCbCr -> RGB mapping wanted (1:1, full)
177 vl_csc_matrix *matrix)
191 assert(matrix);
206 memcpy(matrix, identity, sizeof(vl_csc_matrix));
210 (*matrix)[0][0] = c * (*cstd)[0][0];
211 (*matrix)[0][1] = c * (*cstd)[0][1] * s * cosf(h) - c * (*cstd)[0][2] * s * sinf(h);
212 (*matrix)[0][2] = c * (*cstd)[0][2] * s * cosf(h) + c * (*cstd)[0][1] * s * sinf(h);
213 (*matrix)[
174 vl_csc_get_matrix(enum VL_CSC_COLOR_STANDARD cs, struct vl_procamp *procamp, bool full_range, vl_csc_matrix *matrix) argument
[all...]
H A Dvl_idct.h54 struct pipe_sampler_view *matrix; member in struct:vl_idct
72 struct pipe_sampler_view *source, *matrix; member in struct:vl_idct_buffer::__anon13792::__anon13793
78 /* upload the idct matrix, which can be shared by all idct instances of a pipe */
95 struct pipe_sampler_view *matrix,
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dquerymatrix.c26 * mantissa[16] contains the contents of the current matrix in GLfixed
28 * matrix components, so that the internal representation of component i
101 GLfloat matrix[16]; local
112 /* This data structure defines the mapping between the current matrix
113 * mode and the desired matrix identifier.
124 /* Call Mesa to get the current matrix in floating-point form. First,
125 * we have to figure out what the current matrix mode is.
132 * returned mode to get the desired matrix; if we don't find it,
147 /* Now pull the matrix itself. */
148 _mesa_GetFloatv(desiredMatrix, matrix);
[all...]
/external/chromium_org/third_party/ots/test/
H A Dvalidator-checker.cc38 FT_Matrix matrix; local
39 matrix.xx = matrix.yy = 1 << 16;
40 matrix.xy = matrix.yx = 0 << 16;
43 FT_Set_Transform(face, &matrix, 0);
/external/chromium_org/third_party/skia/bench/
H A DPictureRecordBench.cpp81 // set a matrix on the canvas
82 SkMatrix matrix; variable
83 matrix.setRotate(SkIntToScalar(i % 360));
84 canvas->setMatrix(matrix);
96 canvas->drawBitmapMatrix(bitmap, matrix);
/external/chromium_org/third_party/skia/gm/
H A Dcolorfilterimagefilter.cpp27 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
31 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix));
36 SkScalar matrix[20]; local
37 memset(matrix, 0, 20 * sizeof(SkScalar));
38 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
39 matrix[1] = matrix[6] = matrix[1
[all...]
H A Dpictureshader.cpp119 void drawScene(SkCanvas* canvas, const SkMatrix& matrix, const SkMatrix& localMatrix, argument
128 canvas->concat(matrix);
H A Dresizeimagefilter.cpp48 SkMatrix matrix; local
49 matrix.setScale(SkScalarInvert(deviceScaleX),
52 SkMatrixImageFilter::Create(matrix, filterLevel, input));
H A Dtileimagefilter.cpp104 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local
114 SkAutoTUnref<SkColorFilter> cf(SkColorMatrixFilter::Create(matrix));
/external/chromium_org/third_party/skia/samplecode/
H A DSampleAARects.cpp78 SkMatrix matrix; local
126 matrix.setRotate(45.f);
127 canvas->concat(matrix);
159 matrix.setScale(-1.f, -1.f);
160 canvas->concat(matrix);
170 matrix.setScale(2.1f, 4.1f);
171 canvas->concat(matrix);
H A DSampleCamera.cpp38 SkMatrix matrix; local
39 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
44 &matrix);
H A DSampleDash.cpp27 SkMatrix matrix; local
28 matrix.setScale(SkIntToScalar(width), SK_Scalar1);
31 SkShader::kClamp_TileMode, &matrix);
H A DSampleTextOnPath.cpp54 SkMatrix matrix; local
77 matrix.setScale(-SK_Scalar1, SK_Scalar1);
78 matrix.postTranslate(pathLen, 0);
79 canvas->drawTextOnPath(text, len, path, &matrix, paint);
82 matrix.setScale(SK_Scalar1, -SK_Scalar1);
83 canvas->drawTextOnPath(text, len, path, &matrix, paint);
86 matrix.setScale(-SK_Scalar1, -SK_Scalar1);
87 matrix.postTranslate(pathLen, 0);
88 canvas->drawTextOnPath(text, len, path, &matrix, paint);
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawMatrix.h65 SkTDScalarArray matrix; member in class:SkDrawMatrix
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathRenderer.h143 static bool IsStrokeHairlineOrEquivalent(const SkStrokeRec& stroke, const SkMatrix& matrix, argument
152 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage);
197 const SkMatrix& matrix,
203 const SkMatrix& matrix,
205 GetPathDevBounds(path, device->width(), device->height(), matrix, bounds);
201 GetPathDevBounds(const SkPath& path, const GrSurface* device, const SkMatrix& matrix, SkRect* bounds) argument
H A DGrSoftwarePathRenderer.cpp40 const SkMatrix& matrix,
60 matrix.mapRect(&pathSBounds, path.getBounds());
38 get_path_and_clip_bounds(const GrDrawTarget* target, const SkPath& path, const SkMatrix& matrix, SkIRect* devPathBounds, SkIRect* devClipBounds) argument
/external/chromium_org/third_party/skia/src/utils/
H A DSkCanvasStack.cpp64 * We need to handle setMatrix specially as it overwrites the matrix in each
65 * canvas unlike all other matrix operations (i.e. translate, scale, etc) which
66 * just pre-concatenate with the existing matrix.
68 void SkCanvasStack::didSetMatrix(const SkMatrix& matrix) { argument
72 SkMatrix tempMatrix = matrix;
77 this->SkCanvas::didSetMatrix(matrix);
H A DSkPatchGrid.cpp163 SkMatrix matrix = canvas->getTotalMatrix(); local
164 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &matrix);
/external/chromium_org/third_party/skia/tests/
H A DImageNewShaderTest.cpp73 SkMatrix matrix; local
74 matrix.setTranslate(SkIntToScalar(-1), SkIntToScalar(0));
79 &matrix));

Completed in 2296 milliseconds

1234567891011>>