/external/ceres-solver/internal/ceres/ |
H A D | partitioned_matrix_view_impl.h | 48 const BlockSparseMatrix& matrix, 50 : matrix_(matrix), 58 // in E maybe less than the number of row blocks in the input matrix 93 // input matrix is constructed. These methods will benefit from 228 // Given a range of columns blocks of a matrix m, compute the block 229 // structure of the block diagonal of the matrix m(:, 292 // Similar to the code in RightMultiplyE, except instead of the matrix 325 // Similar to the code in RightMultiplyF, except instead of the matrix 47 PartitionedMatrixView( const BlockSparseMatrix& matrix, int num_col_blocks_e) argument
|
/external/chromium_org/cc/output/ |
H A D | filter_operation.cc | 62 FilterOperation::FilterOperation(FilterType type, SkScalar matrix[20]) argument 70 memcpy(matrix_, matrix, sizeof(matrix_)); 152 SkScalar matrix[20]; local 153 memset(matrix, 0, 20 * sizeof(SkScalar)); 154 matrix[0] = matrix[6] = matrix[12] = matrix[18] = 1.f; 155 return FilterOperation::CreateColorMatrixFilter(matrix); 281 value->BeginArray("matrix"); [all...] |
H A D | filter_operations.cc | 127 const SkScalar* matrix = op.matrix(); local 128 if (matrix[15] || 129 matrix[16] || 130 matrix[17] || 131 matrix[18] != 1 || 132 matrix[19])
|
/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/content/browser/renderer_host/ |
H A D | font_utils_linux.cc | 218 FcValue matrix; local 219 bool have_matrix = FcPatternGet(current, FC_MATRIX, 0, &matrix) == 0; 223 // non-italic font with a transformation matrix.
|
/external/chromium_org/content/renderer/media/android/ |
H A D | stream_texture_factory_impl.cc | 32 virtual void OnMatrixChanged(const float matrix[16]) OVERRIDE; 103 void StreamTextureProxyImpl::OnMatrixChanged(const float matrix[16]) { argument 106 client_->DidUpdateMatrix(matrix);
|
/external/chromium_org/ppapi/cpp/ |
H A D | compositor_layer.cc | 124 int32_t CompositorLayer::SetTransform(const float matrix[16]) { argument 127 pp_resource(), matrix); 131 pp_resource(), matrix);
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | 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[ 41 float matrix[16]; member in struct:ppapi::CompositorLayerData::Transform [all...] |
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_compositor_layer_thunk.cc | 92 int32_t SetTransform(PP_Resource layer, const float matrix[16]) { argument 97 return enter.object()->SetTransform(matrix);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | DOMMatrixReadOnly.h | 57 const TransformationMatrix& matrix() const { return m_matrix; } function in class:blink::DOMMatrixReadOnly
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGMatrixTearOff.cpp | 58 return m_contextTransform ? m_contextTransform->target()->matrix() : m_staticValue; 97 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 98 matrix->mutableValue()->translate(tx, ty); 99 return matrix.release(); 104 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 105 matrix->mutableValue()->scale(s, s); 106 return matrix.release(); 111 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 112 matrix->mutableValue()->scale(sx, sy); 113 return matrix 118 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 125 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 132 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 139 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 146 RefPtr<SVGMatrixTearOff> matrix = create(value()); local 153 RefPtr<SVGMatrixTearOff> matrix = create(value()); local [all...] |
H A D | SVGTransform.cpp | 47 SVGTransform::SVGTransform(const AffineTransform& matrix) argument 51 , m_matrix(matrix) 55 SVGTransform::SVGTransform(SVGTransformType transformType, float angle, const FloatPoint& center, const AffineTransform& matrix) argument 60 , m_matrix(matrix) 80 void SVGTransform::setMatrix(const AffineTransform& matrix) argument 83 m_matrix = matrix; 160 DEFINE_STATIC_LOCAL(String, matrixString, ("matrix("));
|
H A D | SVGTransform.h | 75 const AffineTransform& matrix() const { return m_matrix; } function in class:blink::SVGTransform
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEColorMatrix.cpp | 76 static void saturateMatrix(float s, SkScalar matrix[20]) argument 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[ 95 hueRotateMatrix(float hue, SkScalar matrix[20]) argument 116 luminanceToAlphaMatrix(SkScalar matrix[20]) argument 126 SkScalar matrix[20]; local [all...] |
/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/freetype/src/base/ |
H A D | ftglyph.c | 219 const FT_Matrix* matrix, 225 if ( matrix ) 226 FT_Outline_Transform( &glyph->outline, matrix ); 424 FT_Matrix* matrix, 439 clazz->glyph_transform( glyph, matrix, delta ); 442 if ( matrix ) 443 FT_Vector_Transform( &glyph->advance, matrix ); 218 ft_outline_glyph_transform( FT_Glyph outline_glyph, const FT_Matrix* matrix, const FT_Vector* delta ) argument
|
/external/chromium_org/third_party/skia/bench/ |
H A D | ColorFilterBench.cpp | 32 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local 36 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix)); 41 SkScalar matrix[20]; local 42 memset(matrix, 0, 20 * sizeof(SkScalar)); 43 matrix[0] = matrix[5] = matrix[10] = 0.2126f; 44 matrix[1] = matrix[6] = matrix[1 [all...] |
/external/chromium_org/third_party/skia/experimental/ |
H A D | SkSetPoly3To3.cpp | 11 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]); 33 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument 59 matrix->reset(); 60 matrix->setScaleX(dot(srcOP0, srcOP1, dstOP[0], dstOP[2])); 61 matrix->setSkewX( dot(srcOP2, srcOP3, dstOP[0], dstOP[2])); 62 matrix->setSkewY (dot(srcOP0, srcOP1, dstOP[1], dstOP[3])); 63 matrix->setScaleY(dot(srcOP2, srcOP3, dstOP[1], dstOP[3])); 64 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY, 65 matrix->getScaleX(), matrix [all...] |
H A D | SkSetPoly3To3_A.cpp | 11 bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]); 50 bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument 74 matrix->reset(); 75 matrix->setScaleX(divide(M[0], det)); 76 matrix->setSkewX( divide(M[1], det)); 77 matrix->setSkewY (divide(M[2], det)); 78 matrix->setScaleY(divide(M[3], det)); 79 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY, 80 matrix->getScaleX(), matrix [all...] |
H A D | SkSetPoly3To3_D.cpp | 11 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]); 26 static void computeOuterProduct(SkMatrix* matrix, argument 42 matrix->reset(); 43 matrix->setScaleX(SkDScalar_toScalar(tmp[0])); 44 matrix->setSkewY( SkDScalar_toScalar(tmp[1])); 45 matrix->setSkewX( SkDScalar_toScalar(tmp[2])); 46 matrix->setScaleY(SkDScalar_toScalar(tmp[3])); 54 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument 68 matrix->setConcat(dstOP, srcOP); 69 matrix [all...] |
/external/chromium_org/third_party/skia/gm/ |
H A D | colormatrix.cpp | 31 static void setColorMatrix(SkPaint* paint, const SkColorMatrix& matrix) { argument 32 paint->setColorFilter(SkColorMatrixFilter::Create(matrix))->unref(); 100 SkColorMatrix matrix; local 107 matrix.setIdentity(); 108 setColorMatrix(&paint, matrix); 111 matrix.setRotate(SkColorMatrix::kR_Axis, 90); 112 setColorMatrix(&paint, matrix); 115 matrix.setRotate(SkColorMatrix::kG_Axis, 90); 116 setColorMatrix(&paint, matrix); 119 matrix [all...] |
H A D | downsamplebitmap.cpp | 73 SkMatrix matrix; variable 74 matrix.setScale( curScale, curScale ); 81 canvas->drawBitmapMatrix( fBM, matrix, &paint );
|
H A D | imagefilterscropexpand.cpp | 110 SkScalar matrix[20] = { 1, 0, 0, 0, 0, local 114 SkAutoTUnref<SkColorFilter> cf_alpha_trans(SkColorMatrixFilter::Create(matrix));
|
H A D | 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));
|
H A D | texteffects.cpp | 98 static SkPathEffect* MakeDotEffect(SkScalar radius, const SkMatrix& matrix) { argument 101 return SkPath2DPathEffect::Create(matrix, path);
|