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

1234567891011>>

/external/chromium_org/skia/ext/
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/svg/
H A DSVGTransformTearOff.cpp49 SVGMatrixTearOff* SVGTransformTearOff::matrix() function in class:WebCore::SVGTransformTearOff
58 void SVGTransformTearOff::setMatrix(PassRefPtr<SVGMatrixTearOff> matrix, ExceptionState& exceptionState) argument
65 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:WebCore::MatrixTransformOperation
68 TransformationMatrix matrix(m_a, m_b, m_c, m_d, m_e, m_f);
69 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::__anon12792::__anon12793
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 Dimagefiltersgraph.cpp141 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local
146 SkAutoTUnref<SkColorFilter> matrixFilter(SkColorMatrixFilter::Create(matrix));
157 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local
161 SkAutoTUnref<SkColorMatrixFilter> matrixCF(SkColorMatrixFilter::Create(matrix));
H A Dpictureshader.cpp121 void drawScene(SkCanvas* canvas, const SkMatrix& matrix, const SkMatrix& localMatrix, argument
130 canvas->concat(matrix);
H A Dresizeimagefilter.cpp45 SkMatrix matrix; local
46 matrix.setScale(SkScalarInvert(deviceScaleX),
49 SkMatrixImageFilter::Create(matrix, filterLevel, input));
H A Dtileimagefilter.cpp103 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local
113 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.cpp46 const SkMatrix& matrix,
66 matrix.mapRect(&pathSBounds, path.getBounds());
44 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);
/external/chromium_org/ui/android/java/src/org/chromium/ui/gl/
H A DSurfaceTexturePlatformWrapper.java69 private static void getTransformMatrix(SurfaceTexture surfaceTexture, float[] matrix) { argument
70 surfaceTexture.getTransformMatrix(matrix);
/external/eigen/Eigen/src/Core/
H A DArrayBase.h22 * An array is similar to a dense vector or matrix. While matrices are mathematical
88 /** \internal the plain matrix type corresponding to this expression. Note that is not necessarily
90 * reference to a matrix, not a matrix! It is however guaranteed that the return type of eval() is either
102 /** \internal Represents a matrix with all coefficients equal to one another*/
148 MatrixWrapper<Derived> matrix() { return derived(); } function in class:Eigen::ArrayBase
149 const MatrixWrapper<const Derived> matrix() const { return derived(); } function in class:Eigen::ArrayBase
152 // inline void evalTo(Dest& dst) const { dst = matrix(); }
H A DFlagged.h51 inline Flagged(const ExpressionType& matrix) : m_matrix(matrix) {} argument
H A DForceAlignedAccess.h42 inline ForceAlignedAccess(const ExpressionType& matrix) : m_expression(matrix) {} argument

Completed in 2544 milliseconds

1234567891011>>