/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | arc.c | 29 #include "matrix.h" 141 /* Pre-compute rotation matrix entries */ 173 /* Pre-compute rotation matrix entries */ 231 struct matrix matrix; local 237 matrix_load_identity(&matrix); 238 matrix_scale(&matrix, 1.f, arc->a/arc->b); 239 matrix_rotate(&matrix, -arc->theta); 240 matrix_map_point(&matrix, 243 matrix_map_point(&matrix, 553 arc_to_beziers(struct arc *arc, struct arc_cb cb, struct matrix *matrix) argument 655 arc_add_to_polygon(struct arc *arc, struct polygon *poly, struct matrix *matrix) argument 669 arc_stroke_cb(struct arc *arc, struct stroker *stroke, struct matrix *matrix) argument 683 arc_stroker_emit(struct arc *arc, struct stroker *stroker, struct matrix *matrix) argument 697 arc_to_path(struct arc *arc, struct path *path, struct matrix *matrix) argument [all...] |
H A D | vgu.c | 30 #include "matrix.h" 364 VGfloat * matrix) 366 struct matrix mat; 368 if (!matrix || !is_aligned(matrix)) 381 memcpy(matrix, mat.m, sizeof(VGfloat) * 9); 390 VGfloat * matrix) 392 struct matrix mat; 394 if (!matrix || !is_aligned(matrix)) 360 vguComputeWarpQuadToSquare(VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, VGfloat * matrix) argument 386 vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat * matrix) argument 412 vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, VGfloat * matrix) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | arc.c | 29 #include "matrix.h" 141 /* Pre-compute rotation matrix entries */ 173 /* Pre-compute rotation matrix entries */ 231 struct matrix matrix; local 237 matrix_load_identity(&matrix); 238 matrix_scale(&matrix, 1.f, arc->a/arc->b); 239 matrix_rotate(&matrix, -arc->theta); 240 matrix_map_point(&matrix, 243 matrix_map_point(&matrix, 553 arc_to_beziers(struct arc *arc, struct arc_cb cb, struct matrix *matrix) argument 655 arc_add_to_polygon(struct arc *arc, struct polygon *poly, struct matrix *matrix) argument 669 arc_stroke_cb(struct arc *arc, struct stroker *stroke, struct matrix *matrix) argument 683 arc_stroker_emit(struct arc *arc, struct stroker *stroker, struct matrix *matrix) argument 697 arc_to_path(struct arc *arc, struct path *path, struct matrix *matrix) argument [all...] |
H A D | vgu.c | 30 #include "matrix.h" 364 VGfloat * matrix) 366 struct matrix mat; 368 if (!matrix || !is_aligned(matrix)) 381 memcpy(matrix, mat.m, sizeof(VGfloat) * 9); 390 VGfloat * matrix) 392 struct matrix mat; 394 if (!matrix || !is_aligned(matrix)) 360 vguComputeWarpQuadToSquare(VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, VGfloat * matrix) argument 386 vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat * matrix) argument 412 vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, VGfloat * matrix) argument [all...] |
/external/eigen/Eigen/src/LU/arch/ |
H A D | Inverse_SSE.h | 12 // The SSE code for the 4x4 float and double matrix inverse in this file 14 // http://software.intel.com/en-us/articles/optimized-matrix-library-for-use-with-the-intel-pentiumr-4-processors-sse2-instructions/ 43 static void run(const MatrixType& matrix, ResultType& result) argument 47 // Load the full matrix into registers 48 __m128 _L1 = matrix.template packet<MatrixAlignment>( 0); 49 __m128 _L2 = matrix.template packet<MatrixAlignment>( 4); 50 __m128 _L3 = matrix.template packet<MatrixAlignment>( 8); 51 __m128 _L4 = matrix.template packet<MatrixAlignment>(12); 54 // original matrix is divide into four 2x2 sub-matrices. Since each 55 // register holds four matrix elemen 170 run(const MatrixType& matrix, ResultType& result) argument [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | rotation_test.cc | 150 // double matrix[9]; 151 // EXPECT_THAT(matrix, IsOrthonormal()); 154 *result_listener << "Null matrix"; 183 *result_listener << "Null matrix"; 370 // Transforms a zero axis/angle to a rotation matrix. 373 double matrix[9]; local 375 AngleAxisToRotationMatrix(axis_angle, matrix); 376 EXPECT_THAT(matrix, IsOrthonormal()); 377 EXPECT_THAT(matrix, IsNear3x3Matrix(expected)); 382 double matrix[ local 392 double matrix[9]; local 407 double matrix[9]; local 420 double matrix[9]; local 504 double matrix[9]; local 539 double matrix[9]; local 572 double matrix[9]; local [all...] |
/external/chromium_org/chrome/renderer/pepper/ |
H A D | pepper_flash_renderer_host.cc | 243 // Convert & set the matrix. 244 SkMatrix matrix; local 245 matrix.set(SkMatrix::kMScaleX, SkFloatToScalar(params.transformation[0][0])); 246 matrix.set(SkMatrix::kMSkewX, SkFloatToScalar(params.transformation[0][1])); 247 matrix.set(SkMatrix::kMTransX, SkFloatToScalar(params.transformation[0][2])); 248 matrix.set(SkMatrix::kMSkewY, SkFloatToScalar(params.transformation[1][0])); 249 matrix.set(SkMatrix::kMScaleY, SkFloatToScalar(params.transformation[1][1])); 250 matrix.set(SkMatrix::kMTransY, SkFloatToScalar(params.transformation[1][2])); 251 matrix.set(SkMatrix::kMPersp0, SkFloatToScalar(params.transformation[2][0])); 252 matrix [all...] |
/external/chromium_org/cc/base/ |
H A D | math_util.cc | 33 if (!transform.matrix().get(2, 2)) 36 SkMScalar z = -(transform.matrix().get(2, 0) * p.x() + 37 transform.matrix().get(2, 1) * p.y() + 38 transform.matrix().get(2, 3)) / 39 transform.matrix().get(2, 2); 41 transform.matrix().mapMScalars(result.vec, result.vec); 58 transform.matrix().mapMScalars(result.vec, result.vec); 124 gfx::Vector2d offset(static_cast<int>(transform.matrix().getFloat(0, 3)), 125 static_cast<int>(transform.matrix().getFloat(1, 3))); 134 gfx::Vector2dF offset(transform.matrix() [all...] |
/external/chromium_org/cc/trees/ |
H A D | layer_tree_host_pixeltest_filters.cc | 248 SkScalar matrix[20]; local 249 memset(matrix, 0, 20 * sizeof(matrix[0])); 251 matrix[2] = matrix[6] = matrix[10] = matrix[18] = SK_Scalar1; 253 skia::AdoptRef(SkColorMatrixFilter::Create(matrix)));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | SourceAlpha.cpp | 80 SkScalar matrix[20] = { local 86 RefPtr<SkColorFilter> colorFilter(adoptRef(SkColorMatrixFilter::Create(matrix)));
|
/external/chromium_org/third_party/freetype/include/freetype/ |
H A D | ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 572 /* Perform the matrix operation `b = a*b'. */ 575 /* a :: A pointer to matrix `a'. */ 578 /* b :: A pointer to matrix `b'. */ 594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */ 597 /* matrix :: A pointer to the target matrix 604 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/chromium_org/third_party/skia/bench/ |
H A D | tile_analyze.py | 131 """For the given tile layout and per-tile bench values, returns a matrix of 141 Returns [sum, matrix] where sum is the total bench tile time that covers the 142 viewport, and matrix is used for visualizing the tiles. 152 matrix = [[0 for y in range(tile_cols)] for x in range(truncated_tile_rows)] 155 matrix[x][y] = values[x * tile_cols + y] 158 return [viewport_tile_sum, matrix] 160 def GetTileVisCodes(suffix, matrix): 162 visualizing the benches from the given tile config and matrix data. 167 for i in range(len(matrix[0])): 169 this_js += 'data_%s.addRows(%s);' % (suffix, str(matrix)) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkLocalMatrixShader.h | 26 virtual BitmapType asABitmap(SkBitmap* bitmap, SkMatrix* matrix, 28 return fProxyShader->asABitmap(bitmap, matrix, mode);
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | 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);
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrDrawState.h | 48 * Copies another draw state with a preconcat to the view matrix. 62 * Initializes the GrDrawState based on a GrPaint, view matrix and render target. Note that 227 void addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { argument 228 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); 231 void addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { argument 232 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); 236 const SkMatrix& matrix, 238 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref(); 242 const SkMatrix& matrix, 244 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix, param 235 addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) argument 241 addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) argument [all...] |
H A D | GrSWMaskHelper.h | 54 bool init(const SkIRect& resultBounds, const SkMatrix* matrix, bool allowCompression = true); 83 SkMatrix* matrix);
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrSimpleTextureEffect.cpp | 80 const SkMatrix& matrix = GrProcessorUnitTest::TestMatrix(random); local 81 return GrSimpleTextureEffect::Create(textures[texIdx], matrix, coordSet);
|
/external/chromium_org/third_party/skia/src/pdf/ |
H A D | SkPDFUtils.h | 39 static SkPDFArray* MatrixToArray(const SkMatrix& matrix); 40 static void AppendTransform(const SkMatrix& matrix, SkWStream* content);
|
/external/freetype/include/ |
H A D | ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 572 /* Perform the matrix operation `b = a*b'. */ 575 /* a :: A pointer to matrix `a'. */ 578 /* b :: A pointer to matrix `b'. */ 594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */ 597 /* matrix :: A pointer to the target matrix 604 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/pdfium/core/include/thirdparties/freetype/freetype/ |
H A D | ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 572 /* Perform the matrix operation `b = a*b'. */ 575 /* a :: A pointer to matrix `a'. */ 578 /* b :: A pointer to matrix `b'. */ 594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */ 597 /* matrix :: A pointer to the target matrix 604 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_path.cpp | 19 void CPDF_PathObject::Transform(const CPDF_Matrix& matrix)
argument 21 m_Matrix.Concat(matrix);
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ |
H A D | ftglyph.h | 275 /* matrix :: A pointer to a 2x2 matrix to apply. */ 284 /* The 2x2 transformation matrix is also applied to the glyph's */ 289 FT_Matrix* matrix, 572 /* Perform the matrix operation `b = a*b'. */ 575 /* a :: A pointer to matrix `a'. */ 578 /* b :: A pointer to matrix `b'. */ 594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */ 597 /* matrix :: A pointer to the target matrix 604 FT_Matrix_Invert( FT_Matrix* matrix ); variable [all...] |
/external/pixman/pixman/ |
H A D | Android.mk | 13 pixman-matrix.c
|
/external/skia/bench/ |
H A D | tile_analyze.py | 131 """For the given tile layout and per-tile bench values, returns a matrix of 141 Returns [sum, matrix] where sum is the total bench tile time that covers the 142 viewport, and matrix is used for visualizing the tiles. 152 matrix = [[0 for y in range(tile_cols)] for x in range(truncated_tile_rows)] 155 matrix[x][y] = values[x * tile_cols + y] 158 return [viewport_tile_sum, matrix] 160 def GetTileVisCodes(suffix, matrix): 162 visualizing the benches from the given tile config and matrix data. 167 for i in range(len(matrix[0])): 169 this_js += 'data_%s.addRows(%s);' % (suffix, str(matrix)) [all...] |
/external/skia/src/core/ |
H A D | SkLocalMatrixShader.h | 26 virtual BitmapType asABitmap(SkBitmap* bitmap, SkMatrix* matrix, 28 return fProxyShader->asABitmap(bitmap, matrix, mode);
|