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

1 2 3 4 5 67 8 910

  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_idct.c 54 * The DCT matrix stored as hex representation of floats. Equal to the following equation:
684 struct pipe_resource tex_templ, *matrix; local
712 matrix = pipe->screen->resource_create(pipe->screen, &tex_templ);
713 if (!matrix)
718 pipe, matrix,
740 u_sampler_view_default_template(&sv_templ, matrix, matrix->format);
741 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ);
742 pipe_resource_reference(&matrix, NULL);
752 pipe_resource_reference(&matrix, NULL)
    [all...]
vl_mpeg12_decoder.c 881 struct pipe_sampler_view *matrix = NULL; local
928 if (!(matrix = vl_idct_upload_matrix(dec->base.context, format_config->idct_scale)))
932 nr_of_idct_render_targets, matrix, matrix))
936 nr_of_idct_render_targets, matrix, matrix))
939 pipe_sampler_view_reference(&matrix, NULL);
947 pipe_sampler_view_reference(&matrix, NULL);
    [all...]
  /external/chromium_org/third_party/skia/src/animator/
SkDrawExtraPathEffect.cpp 52 SkDrawMatrix* matrix; member in class:SkDrawShape2DPathEffect
119 SkDrawMatrix* matrix; local
121 matrix = (SkDrawMatrix*) fDraw->addMatrix;
127 matrix = (SkDrawMatrix*) apply->getScope();
129 if (matrix) {
130 m = matrix->getMatrix();
169 SK_MEMBER(addMatrix, Drawable), // either matrix or apply
228 const SkMatrix& matrix) : Sk2DPathEffect(matrix), fDraw(draw), fMaker(maker) {
263 if (fDraw->matrix) {
264 SkDrawMatrix* matrix; local
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkPicturePlayback.cpp 240 SkMatrix matrix; local
241 reader->readMatrix(&matrix);
242 canvas->concat(matrix);
263 SkMatrix matrix; local
264 reader->readMatrix(&matrix);
265 canvas->drawBitmapMatrix(bitmap, matrix, paint);
342 SkMatrix matrix; local
343 reader->readMatrix(&matrix);
345 canvas->drawPicture(pic, &matrix, paint);
446 SkMatrix matrix; local
505 SkMatrix matrix; local
    [all...]
SkScalerContext.cpp 207 SkMatrix matrix; local
210 fRec.getMatrixFrom2x2(&matrix);
213 if (fMaskFilter->filterMask(&dst, src, matrix, NULL)) {
409 SkMatrix matrix; local
410 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft),
424 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft + 1),
426 matrix.postScale(SkIntToScalar(4), SK_Scalar1);
453 draw.fMatrix = &matrix;
571 SkMatrix matrix; local
590 fRec.getMatrixFrom2x2(&matrix);
656 SkMatrix matrix, inverse; local
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkColorMatrixFilter.cpp 287 // expand to 8bit components (since our matrix translate is 8bit biased
320 SkColorMatrix matrix; local
321 if (buffer.readScalarArray(matrix.fMat, 20)) {
322 return Create(matrix);
327 bool SkColorMatrixFilter::asColorMatrix(SkScalar matrix[20]) const {
328 if (matrix) {
329 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar));
342 static GrFragmentProcessor* Create(const SkColorMatrix& matrix) {
343 return SkNEW_ARGS(ColorMatrixEffect, (matrix));
346 static const char* Name() { return "Color Matrix"; }
    [all...]
SkDisplacementMapEffect.cpp 444 SkMatrix matrix; local
445 matrix.setTranslate(-SkIntToScalar(colorBounds.x()),
447 context->concatMatrix(matrix);
  /external/chromium_org/third_party/skia/src/utils/
SkCamera.cpp 249 void SkCamera3D::patchToMatrix(const SkPatch3D& quilt, SkMatrix* matrix) const {
268 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
269 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
270 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
273 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
274 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
275 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
278 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
279 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
280 matrix->set(SkMatrix::kMPersp2, SK_Scalar1)
369 SkMatrix matrix; local
    [all...]
  /external/chromium_org/third_party/skia/tests/
RoundRectTest.cpp 385 // Called for a matrix that should cause SkRRect::transform to fail.
387 const SkMatrix& matrix) {
395 bool success = orig.transform(matrix, &dst);
420 // The identity matrix will duplicate the rrect.
426 SkMatrix matrix; local
427 matrix.reset();
428 matrix.setSkewX(SkIntToScalar(2));
429 assert_transform_failure(reporter, orig, matrix);
431 matrix.reset();
432 matrix.setSkewY(SkIntToScalar(3))
    [all...]
  /external/chromium_org/ui/gfx/
canvas.cc 403 // 1. Get the matrix transform from the canvas.
404 // 2. Set the scale in the matrix to 1.0 while honoring the direction of the
406 // 3. Round off the X and Y translation components in the matrix. This is to
410 // 5. Set the modified matrix in the canvas. This ensures that no scaling
413 // 7. Restore the state of the canvas and the SkCanvas matrix stack.
414 SkMatrix matrix = canvas_->getTotalMatrix(); local
418 matrix.getScaleX() > 0 ? matrix.setScaleX(1.0f) : matrix.setScaleX(-1.0f);
419 matrix.getScaleY() > 0 ? matrix.setScaleY(1.0f) : matrix.setScaleY(-1.0f)
    [all...]
  /external/deqp/framework/common/
tcuMatrix.hpp 23 * \brief Templatized matrix class.
49 // Templated matrix class.
51 class Matrix
64 Matrix (void);
65 explicit Matrix (const T& src);
66 explicit Matrix (const T src[Rows*Cols]);
67 Matrix (const Vector<T, Rows>& src);
68 Matrix (const Matrix<T, Rows, Cols>& src);
69 ~Matrix (void)
138 namespace matrix namespace in namespace:tcu
    [all...]
  /external/freetype/src/cff/
cffobjs.c 632 /* Normalize the font matrix so that `matrix->xx' is 1; the */
635 /* normalization of the matrix). */
641 FT_Matrix* matrix = &dict->font_matrix; local
644 FT_Fixed temp = FT_ABS( matrix->yy );
651 matrix->xx = FT_DivFix( matrix->xx, temp );
652 matrix->yx = FT_DivFix( matrix->yx, temp );
653 matrix->xy = FT_DivFix( matrix->xy, temp )
668 FT_Matrix* matrix; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_idct.c 54 * The DCT matrix stored as hex representation of floats. Equal to the following equation:
684 struct pipe_resource tex_templ, *matrix; local
712 matrix = pipe->screen->resource_create(pipe->screen, &tex_templ);
713 if (!matrix)
718 pipe, matrix,
740 u_sampler_view_default_template(&sv_templ, matrix, matrix->format);
741 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ);
742 pipe_resource_reference(&matrix, NULL);
752 pipe_resource_reference(&matrix, NULL)
    [all...]
  /external/opencv/cvaux/src/
cvtexture.cpp 44 Calculation of a texture descriptors from GLCM (Grey Level Co-occurrence Matrix'es)
429 double** matrix = destGLCM->matrices[ matrixIndex ]; local
446 double entryValue = matrix[ sideLoop1 ][ sideLoop2 ];
493 double entryValue = matrix[ sideLoop1 ][ sideLoop2 ];
  /cts/tests/tests/graphics/src/android/graphics/cts/
MatrixTest.java 18 import android.graphics.Matrix;
20 import android.graphics.Matrix.ScaleToFit;
24 private Matrix mMatrix;
30 mMatrix = new Matrix();
35 new Matrix();
36 new Matrix(mMatrix);
54 Matrix matrix = new Matrix(); local
55 matrix.set(mMatrix)
64 Matrix matrix = new Matrix(); local
203 Matrix matrix = new Matrix(); local
255 Matrix matrix = new Matrix(); local
300 Matrix matrix = new Matrix(); local
463 Matrix matrix = new Matrix(); local
    [all...]
PathTest.java 20 import android.graphics.Matrix;
111 path.transform(new Matrix(), dst);
288 Matrix matrix = new Matrix(); local
289 path.addPath(src, matrix);
  /external/chromium_org/cc/output/
gl_renderer_unittest.cc 1352 SkScalar matrix[20]; local
    [all...]
shader.cc 161 "matrix",
178 uniform mat4 matrix; local
181 gl_Position = matrix * a_position;
194 "matrix",
216 uniform mat4 matrix; local
221 gl_Position = matrix * a_position;
234 "matrix",
250 uniform mat4 matrix;
252 gl_Position = matrix * a_position;
266 "matrix",
288 uniform mat4 matrix[8]; local
345 uniform mat4 matrix; local
402 uniform mat4 matrix; local
461 uniform mat4 matrix; local
517 uniform mat4 matrix; local
565 uniform mat4 matrix; local
618 uniform mat4 matrix; local
    [all...]
software_renderer.cc 41 bool IsScaleAndIntegerTranslate(const SkMatrix& matrix) {
42 return IsScalarNearlyInteger(matrix[SkMatrix::kMTransX]) &&
43 IsScalarNearlyInteger(matrix[SkMatrix::kMTransY]) &&
44 SkScalarNearlyZero(matrix[SkMatrix::kMSkewX]) &&
45 SkScalarNearlyZero(matrix[SkMatrix::kMSkewY]) &&
46 SkScalarNearlyZero(matrix[SkMatrix::kMPersp0]) &&
47 SkScalarNearlyZero(matrix[SkMatrix::kMPersp1]) &&
48 SkScalarNearlyZero(matrix[SkMatrix::kMPersp2] - 1.0f);
180 // Skia applies the current matrix to clip rects so we reset it temporary.
314 // We need to apply the matrix manually to have pixel-sized stroke width
409 SkMatrix matrix; local
    [all...]
  /external/chromium_org/gpu/tools/compositor_model_bench/
shaders.cc 20 // Store a pointer to the transform matrix of the active layer (the complete
131 uniform mat4 matrix; local
137 gl_Position = matrix * a_position;
148 uniform mat4 matrix; local
151 gl_Position = matrix * a_position;
159 uniform mat4 matrix; local
163 gl_Position = matrix * a_position;
322 // Set YUV matrix.
405 "matrix");
445 GLint mat = glGetUniformLocationARB(prog, "matrix");
    [all...]
  /external/chromium_org/skia/ext/
vector_platform_device_emf_win.cc 44 // functions works with integers. The idea is to premultiply the matrix
118 // TODO(maruel): Bypass the current transformation matrix.
269 SkMatrix matrix; local
275 // Compute matrix from the two rectangles
281 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit);
293 matrix.mapRect(&tmpDst, tmpSrc);
306 // Since we did an extract, we need to adjust the matrix accordingly
315 matrix.preTranslate(dx, dy);
318 this->drawBitmap(draw, *bitmapPtr, matrix, paint);
323 const SkMatrix& matrix,
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
matrix.h 79 struct matrix { struct
83 static INLINE void matrix_init(struct matrix *mat,
89 static INLINE void matrix_inits(struct matrix *mat,
99 static INLINE void matrix_load_identity(struct matrix *matrix)
104 memcpy(matrix->m, identity, sizeof(identity));
107 static INLINE VGboolean matrix_is_identity(struct matrix *matrix)
109 return floatsEqual(matrix->m[0], 1) && floatIsZero(matrix->m[1]) &
    [all...]
  /external/chromium_org/third_party/skia/samplecode/
SampleAll.cpp 165 Dot2DPathEffect(SkScalar radius, const SkMatrix& matrix)
166 : Sk2DPathEffect(matrix), fRadius(radius) {}
338 SkMatrix matrix; matrix.reset(); local
480 matrix.setTranslate(SkIntToScalar(10), SkIntToScalar(10));
481 canvas->drawTextOnPath((void*) utf16, sizeof(utf16), path, &matrix, paint);
483 canvas->drawTextOnPath((void*) utf16simple, sizeof(utf16simple), path, &matrix, paint);
  /external/chromium_org/third_party/skia/src/effects/gradients/
SkLinearGradient.cpp 42 static void pts_to_unit_matrix(const SkPoint pts[2], SkMatrix* matrix) {
48 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
49 matrix->postTranslate(-pts[0].fX, -pts[0].fY);
50 matrix->postScale(inv, inv);
271 SkMatrix* matrix,
276 if (matrix) {
277 matrix->preConcat(fPtsToUnit);
500 const SkMatrix& matrix,
502 return SkNEW_ARGS(GrLinearGradient, (ctx, shader, matrix, tm));
517 const SkMatrix& matrix,
574 SkMatrix matrix; local
    [all...]
SkRadialGradient.cpp 59 SkMatrix* matrix) {
62 matrix->setTranslate(-center.fX, -center.fY);
63 matrix->postScale(inv, inv);
230 SkMatrix* matrix, SkShader::TileMode* xy) const {
234 if (matrix) {
235 matrix->setScale(SkIntToScalar(kCache32Count),
237 matrix->preConcat(fPtsToUnit);
507 const SkMatrix& matrix,
509 return SkNEW_ARGS(GrRadialGradient, (ctx, shader, matrix, tm));
524 const SkMatrix& matrix,
584 SkMatrix matrix; local
    [all...]

Completed in 1667 milliseconds

1 2 3 4 5 67 8 910