HomeSort by: relevance | last modified time | path
    Searched defs:matrix (Results 1 - 25 of 48) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
querymatrix.c 28 * mantissa[16] contains the contents of the current matrix in GLfixed
30 * matrix components, so that the internal representation of component i
45 GLfloat matrix[16]; local
55 /* This data structure defines the mapping between the current matrix
56 * mode and the desired matrix identifier.
67 /* Call Mesa to get the current matrix in floating-point form. First,
68 * we have to figure out what the current matrix mode is.
75 * returned mode to get the desired matrix; if we don't find it,
90 /* Now pull the matrix itself. */
91 _mesa_GetFloatv(desiredMatrix, matrix);
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
querymatrix.c 28 * mantissa[16] contains the contents of the current matrix in GLfixed
30 * matrix components, so that the internal representation of component i
45 GLfloat matrix[16]; local
55 /* This data structure defines the mapping between the current matrix
56 * mode and the desired matrix identifier.
67 /* Call Mesa to get the current matrix in floating-point form. First,
68 * we have to figure out what the current matrix mode is.
75 * returned mode to get the desired matrix; if we don't find it,
90 /* Now pull the matrix itself. */
91 _mesa_GetFloatv(desiredMatrix, matrix);
    [all...]
  /xsrc/external/mit/MesaLib/dist/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::__anon1121::__anon1122
78 /* upload the idct matrix, which can be shared by all idct instances of a pipe */
95 struct pipe_sampler_view *matrix,
vl_idct.c 54 * The DCT matrix stored as hex representation of floats. Equal to the following equation:
689 struct pipe_resource tex_templ, *matrix; local
717 matrix = pipe->screen->resource_create(pipe->screen, &tex_templ);
718 if (!matrix)
721 f = pipe->texture_map(pipe, matrix, 0,
738 u_sampler_view_default_template(&sv_templ, matrix, matrix->format);
739 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ);
740 pipe_resource_reference(&matrix, NULL);
747 pipe_resource_reference(&matrix, NULL)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/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::__anon3628::__anon3629
78 /* upload the idct matrix, which can be shared by all idct instances of a pipe */
95 struct pipe_sampler_view *matrix,
vl_idct.c 54 * The DCT matrix stored as hex representation of floats. Equal to the following equation:
681 struct pipe_resource tex_templ, *matrix; local
709 matrix = pipe->screen->resource_create(pipe->screen, &tex_templ);
710 if (!matrix)
713 f = pipe->transfer_map(pipe, matrix, 0,
730 u_sampler_view_default_template(&sv_templ, matrix, matrix->format);
731 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ);
732 pipe_resource_reference(&matrix, NULL);
739 pipe_resource_reference(&matrix, NULL)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
lower_buffer_access.cpp 120 /* For a row-major matrix, the next column starts at the next
121 * element. Otherwise it is offset by the matrix stride.
144 /* We're dereffing a column out of a row-major matrix, so we
184 bool matrix = false; local
188 matrix = matrix || ir->type->without_array()->is_matrix();
217 return matrix || deref->type->without_array()->is_struct();
232 /* For interface block matrix variables we handle inherited
237 assert((var->is_in_buffer_block() && !matrix) ||
244 return matrix || deref->type->without_array()->is_struct()
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
lower_buffer_access.cpp 120 /* For a row-major matrix, the next column starts at the next
121 * element. Otherwise it is offset by the matrix stride.
144 /* We're dereffing a column out of a row-major matrix, so we
184 bool matrix = false; local
188 matrix = matrix || ir->type->without_array()->is_matrix();
217 return matrix || deref->type->without_array()->is_struct();
232 /* For interface block matrix variables we handle inherited
237 assert((var->is_in_buffer_block() && !matrix) ||
244 return matrix || deref->type->without_array()->is_struct()
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
prog_statevars.c 52 * but matrix queries may return as many as 16 values.
293 /* state[1] = which texture matrix or program matrix */
297 const GLmatrix *matrix; local
308 matrix = ctx->ModelviewMatrixStack.Top;
311 matrix = ctx->ProjectionMatrixStack.Top;
314 matrix = &ctx->_ModelProjectMatrix;
318 matrix = ctx->TextureMatrixStack[index].Top;
322 matrix = ctx->ProgramMatrixStack[index].Top;
325 _mesa_problem(ctx, "Bad matrix name in _mesa_fetch_state()")
    [all...]
  /xsrc/external/mit/freetype/dist/include/freetype/
ftglyph.h 325 * matrix ::
326 * A pointer to a 2x2 matrix to apply.
336 * The 2x2 transformation matrix is also applied to the glyph's advance
341 FT_Matrix* matrix,
612 * Perform the matrix operation `b = a*b`.
616 * A pointer to matrix `a`.
620 * A pointer to matrix `b`.
639 * Invert a 2x2 matrix. Return an error if it can't be inverted.
642 * matrix ::
643 * A pointer to the target matrix. Remains untouched in case of error
649 FT_Matrix_Invert( FT_Matrix* matrix ); variable
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/egl/openvg/
sp.c 15 VGfloat matrix[9]; member in struct:object
39 memcpy(object.matrix, identity_matrix, 9 * sizeof(VGfloat));
59 memcpy(object.matrix, identity_matrix, 9 * sizeof(VGfloat));
71 VGfloat *matrix)
81 memcpy(object.matrix, matrix, 9 * sizeof(VGfloat));
93 VGfloat *matrix)
100 memcpy(object.matrix, matrix, 9 * sizeof(VGfloat));
181 VGfloat matrix[] = local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/
mixer.c 527 float matrix[9]; local
531 matrix[0] = -1.0f; matrix[1] = -1.0f; matrix[2] = -1.0f;
532 matrix[3] = -1.0f; matrix[4] = 8.0f; matrix[5] = -1.0f;
533 matrix[6] = -1.0f; matrix[7] = -1.0f; matrix[8] = -1.0f
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/program/
prog_statevars.c 78 * but matrix queries may return as many as 16 values.
337 /* state[1] = which texture matrix or program matrix */
341 const GLmatrix *matrix = ctx->ModelviewMatrixStack.Top; local
342 copy_matrix(value, matrix->m, state[2], state[3]);
346 const GLmatrix *matrix = ctx->ModelviewMatrixStack.Top; local
347 copy_matrix(value, matrix->inv, state[2], state[3]);
351 const GLmatrix *matrix = ctx->ModelviewMatrixStack.Top; local
352 copy_matrix_transposed(value, matrix->m, state[2], state[3]);
356 const GLmatrix *matrix = ctx->ModelviewMatrixStack.Top local
361 const GLmatrix *matrix = ctx->ProjectionMatrixStack.Top; local
366 GLmatrix *matrix = ctx->ProjectionMatrixStack.Top; local
372 const GLmatrix *matrix = ctx->ProjectionMatrixStack.Top; local
377 GLmatrix *matrix = ctx->ProjectionMatrixStack.Top; local
383 const GLmatrix *matrix = &ctx->_ModelProjectMatrix; local
388 GLmatrix *matrix = &ctx->_ModelProjectMatrix; local
394 const GLmatrix *matrix = &ctx->_ModelProjectMatrix; local
399 GLmatrix *matrix = &ctx->_ModelProjectMatrix; local
407 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; local
414 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; local
421 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; local
428 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; local
435 const GLmatrix *matrix = ctx->ProgramMatrixStack[index].Top; local
442 const GLmatrix *matrix = ctx->ProgramMatrixStack[index].Top; local
450 const GLmatrix *matrix = ctx->ProgramMatrixStack[index].Top; local
457 const GLmatrix *matrix = ctx->ProgramMatrixStack[index].Top; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/vdpau/
mixer.c 526 float matrix[9]; local
530 matrix[0] = -1.0f; matrix[1] = -1.0f; matrix[2] = -1.0f;
531 matrix[3] = -1.0f; matrix[4] = 8.0f; matrix[5] = -1.0f;
532 matrix[6] = -1.0f; matrix[7] = -1.0f; matrix[8] = -1.0f
    [all...]
  /xsrc/external/mit/fontconfig/dist/test/
test-conf.c 54 FcMatrix matrix; local
233 fprintf (stderr, "E: array starting with number not range or matrix\n");
255 v.u.m = &matrix;
256 matrix.xx = values[0];
257 matrix.xy = values[1];
258 matrix.yx = values[2];
259 matrix.yy = values[3];
  /xsrc/external/mit/freetype/dist/include/freetype/internal/
ftcalc.h 295 * Check a matrix. If the transformation would lead to extreme shear or
299 * identify a degenerate matrix.
306 FT_Matrix_Check( const FT_Matrix* matrix ); variable
315 const FT_Matrix* matrix,
  /xsrc/external/mit/freetype/dist/src/cid/
cidload.c 169 FT_Matrix* matrix; local
175 matrix = &dict->font_matrix;
183 FT_ERROR(( "cid_parse_font_matrix: not enough matrix elements\n" ));
199 FT_ERROR(( "cid_parse_font_matrix: invalid font matrix\n" ));
217 matrix->xx = temp[0];
218 matrix->yx = temp[1];
219 matrix->xy = temp[2];
220 matrix->yy = temp[3];
222 if ( !FT_Matrix_Check( matrix ) )
224 FT_ERROR(( "t1_parse_font_matrix: invalid font matrix\n" ))
    [all...]
  /xsrc/external/mit/libXfont/dist/src/fontfile/
fontfile.c 176 double *matrix = 0, tempmatrix[4]; local
178 /* Use a matrix iff exactly one is defined */
182 matrix = tmpVals.pixel_matrix;
186 matrix = tmpVals.point_matrix;
188 /* If matrix given in the alias, compute new point
190 if (matrix)
197 matrix[0] * tmpVals2.point_matrix[0] +
198 matrix[1] * tmpVals2.point_matrix[2];
200 matrix[0] * tmpVals2.point_matrix[1] +
201 matrix[1] * tmpVals2.point_matrix[3]
    [all...]
  /xsrc/external/mit/libXfont/dist/src/util/
fontxlfd.c 273 double *matrix; local
276 matrix = vals->pixel_matrix;
278 matrix = vals->point_matrix;
284 /* This is a matrix containing real numbers. It would be nice
290 if ((ptr = readreal(++ptr, matrix + 0)) &&
291 (ptr = readreal(ptr, matrix + 1)) &&
292 (ptr = readreal(ptr, matrix + 2)) &&
293 (ptr = readreal(ptr, matrix + 3)))
321 matrix[3] = (double)value;
324 matrix[3] /= 10.0
    [all...]
  /xsrc/external/mit/libXfont2/dist/src/fontfile/
fontfile.c 174 double *matrix = 0, tempmatrix[4]; local
176 /* Use a matrix iff exactly one is defined */
180 matrix = tmpVals.pixel_matrix;
184 matrix = tmpVals.point_matrix;
186 /* If matrix given in the alias, compute new point
188 if (matrix)
195 matrix[0] * tmpVals2.point_matrix[0] +
196 matrix[1] * tmpVals2.point_matrix[2];
198 matrix[0] * tmpVals2.point_matrix[1] +
199 matrix[1] * tmpVals2.point_matrix[3]
    [all...]
  /xsrc/external/mit/libXfont2/dist/src/util/
fontxlfd.c 263 double *matrix; local
266 matrix = vals->pixel_matrix;
268 matrix = vals->point_matrix;
274 /* This is a matrix containing real numbers. It would be nice
280 if ((ptr = readreal(++ptr, matrix + 0)) &&
281 (ptr = readreal(ptr, matrix + 1)) &&
282 (ptr = readreal(ptr, matrix + 2)) &&
283 (ptr = readreal(ptr, matrix + 3)))
311 matrix[3] = (double)value;
314 matrix[3] /= 10.0
    [all...]
  /xsrc/external/mit/xf86-video-ati/xorg-server-copy/
msp3430.c 301 /* Write to DSP, register 0x0008, (loudspeaker channel source/matrix) */
414 /* Write to DSP, register 0x000E, (prescale FM/FM matrix) */
547 /*matrix source for Quasi-Peak Detector - stereo: ch2->L ch1->R*/
611 CARD8 matrix, fmmatrix, source, high, low; local
613 fmmatrix=0; /*no matrix*/
622 matrix=0x30; /*MONO*/
625 matrix=0x00; /*A*/
628 matrix=0x10; /*B*/
631 matrix=0x20; /*STEREO*/
637 matrix=0x00; /*A*
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/i2c/
msp3430.c 301 /* Write to DSP, register 0x0008, (loudspeaker channel source/matrix) */
414 /* Write to DSP, register 0x000E, (prescale FM/FM matrix) */
547 /*matrix source for Quasi-Peak Detector - stereo: ch2->L ch1->R*/
611 CARD8 matrix, fmmatrix, source, high, low; local
613 fmmatrix=0; /*no matrix*/
622 matrix=0x30; /*MONO*/
625 matrix=0x00; /*A*/
628 matrix=0x10; /*B*/
631 matrix=0x20; /*STEREO*/
637 matrix=0x00; /*A*
    [all...]
  /xsrc/external/mit/freetype/dist/src/cff/
cffobjs.c 745 /* Normalize the font matrix so that `matrix->yy' is 1; if */
746 /* it is zero, we use `matrix->yx' instead. The scaling is */
749 /* of the matrix). */
755 FT_Matrix* matrix = &dict->font_matrix; local
761 temp = matrix->yy ? FT_ABS( matrix->yy )
762 : FT_ABS( matrix->yx );
768 matrix->xx = FT_DivFix( matrix->xx, temp )
785 FT_Matrix* matrix; local
    [all...]
  /xsrc/external/mit/freetype/dist/src/type42/
t42parse.c 248 FT_Matrix* matrix = &face->type1.font_matrix; local
267 FT_ERROR(( "t42_parse_font_matrix: invalid font matrix\n" ));
283 matrix->xx = temp[0];
284 matrix->yx = temp[1];
285 matrix->xy = temp[2];
286 matrix->yy = temp[3];
288 if ( !FT_Matrix_Check( matrix ) )
290 FT_ERROR(( "t42_parse_font_matrix: invalid font matrix\n" ));

Completed in 29 milliseconds

1 2