HomeSort by relevance Sort by last modified time
    Searched defs:matrix (Results 51 - 75 of 244) sorted by null

1 23 4 5 6 7 8 910

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FEColorMatrix.cpp 76 static void saturateMatrix(float s, SkScalar matrix[20])
78 matrix[0] = 0.213f + 0.787f * s;
79 matrix[1] = 0.715f - 0.715f * s;
80 matrix[2] = 0.072f - 0.072f * s;
81 matrix[3] = matrix[4] = 0;
82 matrix[5] = 0.213f - 0.213f * s;
83 matrix[6] = 0.715f + 0.285f * s;
84 matrix[7] = 0.072f - 0.072f * s;
85 matrix[8] = matrix[9] = 0
126 SkScalar matrix[20]; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_idct.h 54 struct pipe_sampler_view *matrix; member in struct:vl_idct
72 struct pipe_sampler_view *source, *matrix; member in struct:vl_idct_buffer::__anon18417::__anon18418
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/skia/bench/
PictureRecordBench.cpp 81 // 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/
downsamplebitmap.cpp 73 SkMatrix matrix; variable
74 matrix.setScale( curScale, curScale );
81 canvas->drawBitmapMatrix( fBM, matrix, &paint );
imagefilterscropexpand.cpp 110 SkScalar matrix[20] = { 1, 0, 0, 0, 0, local
114 SkAutoTUnref<SkColorFilter> cf_alpha_trans(SkColorMatrixFilter::Create(matrix));
imagefiltersgraph.cpp 163 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local
168 SkAutoTUnref<SkColorFilter> matrixFilter(SkColorMatrixFilter::Create(matrix));
179 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local
183 SkAutoTUnref<SkColorMatrixFilter> matrixCF(SkColorMatrixFilter::Create(matrix));
tileimagefilter.cpp 104 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local
114 SkAutoTUnref<SkColorFilter> cf(SkColorMatrixFilter::Create(matrix));
  /external/chromium_org/third_party/skia/samplecode/
SampleCamera.cpp 38 SkMatrix matrix; local
39 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
44 &matrix);
SampleCircle.cpp 101 SkMatrix matrix; local
102 matrix.setScale(SkIntToScalar(100), SkIntToScalar(100));
103 matrix.postTranslate(SkIntToScalar(200), SkIntToScalar(200));
104 canvas->concat(matrix);
SamplePolyToPoly.cpp 16 extern bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
87 SkMatrix matrix; local
96 matrix.setPolyToPoly(src, dst, count);
97 canvas->concat(matrix);
SampleTextOnPath.cpp 54 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/effects/
Sk1DPathEffect.cpp 94 SkMatrix matrix; local
98 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0);
99 matrix.preTranslate(-sx, 0);
100 matrix.postTranslate(pos.fX, pos.fY);
101 matrix.mapPoints(&dst[i], &pt, 1);
201 SkMatrix matrix; local
202 if (meas.getMatrix(distance, &matrix)) {
203 dst->addPath(fPath, matrix);
Sk2DPathEffect.cpp 114 SkMatrix matrix; local
115 buffer.readMatrix(&matrix);
117 return SkLine2DPathEffect::Create(width, matrix);
138 SkMatrix matrix; local
139 buffer.readMatrix(&matrix);
142 return SkPath2DPathEffect::Create(matrix, path);
SkMatrixImageFilter.cpp 44 SkMatrix matrix; local
45 buffer.readMatrix(&matrix);
47 return Create(matrix, level, common.getInput(0), common.uniqueID());
75 SkMatrix matrix; local
76 if (!ctx.ctm().invert(&matrix)) {
79 matrix.postConcat(fTransform);
80 matrix.postConcat(ctx.ctm());
81 matrix.mapRect(&dstRect, srcRect);
91 canvas.concat(matrix);
109 SkMatrix matrix; local
122 SkMatrix matrix; local
    [all...]
  /external/chromium_org/third_party/skia/src/views/animated/
SkImageView.cpp 72 bool SkImageView::getImageMatrix(SkMatrix* matrix) const
77 if (matrix)
78 *matrix = *fMatrix;
83 if (matrix)
84 matrix->reset();
89 void SkImageView::setImageMatrix(const SkMatrix* matrix)
93 if (matrix && !matrix->isIdentity())
97 *fMatrix = *matrix;
111 // only redraw if we changed our matrix and we're not in scaleToFit mod
152 SkMatrix matrix; local
    [all...]
  /external/chromium_org/third_party/skia/tests/
ImageNewShaderTest.cpp 73 SkMatrix matrix; local
74 matrix.setTranslate(SkIntToScalar(-1), SkIntToScalar(0));
79 &matrix));
  /external/chromium_org/ui/gfx/
transform.h 24 // 4x4 transformation matrix. Transform is cheap and explicitly allows
35 // Skips initializing this matrix to avoid overhead, when we know it will be
43 // Constructs a transform from explicit 16 matrix elements. Elements
61 // Constructs a transform from explicit 2d elements. All other matrix
63 // matrix.
119 // Returns true if this is the identity matrix.
122 // Returns true if the matrix is either identity or pure translation.
125 // Returns true if the matrix is either identity or pure translation,
129 // Returns true if the matrix is either a positive scale and/or a translation.
137 // Returns true if the matrix is either identity or pure, non-fractiona
248 const SkMatrix44& matrix() const { return matrix_; } function in class:gfx::Transform
249 SkMatrix44& matrix() { return matrix_; } function in class:gfx::Transform
    [all...]
  /external/eigen/Eigen/src/Core/
ArrayBase.h 22 * 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*/
146 /** \returns an \link Eigen::MatrixBase Matrix \endlink expression of this array
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(); }
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_idct.h 54 struct pipe_sampler_view *matrix; member in struct:vl_idct
72 struct pipe_sampler_view *source, *matrix; member in struct:vl_idct_buffer::__anon6755::__anon6756
78 /* upload the idct matrix, which can be shared by all idct instances of a pipe */
95 struct pipe_sampler_view *matrix,
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 8 import android.graphics.Matrix;
45 Matrix m = new Matrix();
91 // take the floor of the target width/height, not round. If the matrix
118 Matrix matrix = new Matrix(); local
119 matrix.setScale(minPercentage, minPercentage);
121 canvas.drawBitmap(toFit, matrix, paint);
127 * Returns a matrix with rotation set based on Exif orientation tag
178 Matrix matrix = new Matrix(); local
235 final Matrix matrix = new Matrix(); local
    [all...]
  /development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
NDKHelper.java 28 import android.graphics.Matrix;
64 // create a matrix for the manipulation
65 Matrix matrix = new Matrix(); local
68 matrix.postScale(newWidth / width, newHeight / height);
72 bitmapToScale.getHeight(), matrix, true);
95 // Matrix matrix = new Matrix();
    [all...]
  /development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
NDKHelper.java 28 import android.graphics.Matrix;
64 // create a matrix for the manipulation
65 Matrix matrix = new Matrix(); local
68 matrix.postScale(newWidth / width, newHeight / height);
72 bitmapToScale.getHeight(), matrix, true);
95 // Matrix matrix = new Matrix();
    [all...]
  /external/chromium_org/ash/display/
root_window_transformers.cc 39 SkMatrix44& matrix = transform->matrix(); local
42 if (std::abs(SkMScalarToFloat(matrix.get(x, y))) < kEpsilon)
43 matrix.set(x, y, SkFloatToMScalar(0.0f));
  /external/chromium_org/content/renderer/media/android/
stream_texture_factory_synchronous_impl.cc 128 float matrix[16]; local
129 surface_texture_->GetTransformMatrix(matrix);
131 if (memcmp(current_matrix_, matrix, sizeof(matrix)) != 0) {
132 memcpy(current_matrix_, matrix, sizeof(matrix));
  /external/chromium_org/ppapi/shared_impl/
compositor_layer_data.h 23 matrix[0] = 1.0f;
24 matrix[1] = 0.0f;
25 matrix[2] = 0.0f;
26 matrix[3] = 0.0f;
27 matrix[4] = 0.0f;
28 matrix[5] = 1.0f;
29 matrix[6] = 0.0f;
30 matrix[7] = 0.0f;
31 matrix[8] = 0.0f;
32 matrix[9] = 0.0f
41 float matrix[16]; member in struct:ppapi::CompositorLayerData::Transform
    [all...]

Completed in 2016 milliseconds

1 23 4 5 6 7 8 910