Searched refs:matrix (Results 1 - 25 of 42) sorted by relevance

12

/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/
H A Djas_seq.c137 jas_matrix_t *matrix; local
139 if (!(matrix = jas_matrix_create(yend - ystart, xend - xstart))) {
142 matrix->xstart_ = xstart;
143 matrix->ystart_ = ystart;
144 matrix->xend_ = xend;
145 matrix->yend_ = yend;
146 return matrix;
151 jas_matrix_t *matrix; local
154 if (!(matrix = jas_malloc(sizeof(jas_matrix_t)))) {
157 matrix
197 jas_matrix_destroy(jas_matrix_t *matrix) argument
306 jas_matrix_divpow2(jas_matrix_t *matrix, int n) argument
325 jas_matrix_clip(jas_matrix_t *matrix, jas_seqent_t minval, jas_seqent_t maxval) argument
350 jas_matrix_asr(jas_matrix_t *matrix, int n) argument
369 jas_matrix_asl(jas_matrix_t *matrix, int n) argument
391 jas_matrix_resize(jas_matrix_t *matrix, int numrows, int numcols) argument
411 jas_matrix_output(jas_matrix_t *matrix, FILE *out) argument
431 jas_matrix_setall(jas_matrix_t *matrix, jas_seqent_t val) argument
451 jas_matrix_t *matrix; local
[all...]
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/jasper/
H A Djas_seq.h137 /* This matrix is a reference to another matrix. */
147 /* An element in a matrix. */
169 /* The number of rows in the matrix. */
172 /* The number of columns in the matrix. */
181 /* The matrix data buffer. */
193 * Functions/macros for matrix class.
197 #define jas_matrix_numrows(matrix) \
198 ((matrix)->numrows_)
201 #define jas_matrix_numcols(matrix) \
[all...]
/haiku-fatelf/src/apps/3dmov/
H A DGLUtility.cpp20 ARGUMENTS: m destination matrix
22 DESCRIPTION: Create identity matrix
40 DESCRIPTION: Perform a 4x4 matrix multiplication (product = m1 x m2)
66 ARGUMENTS: m destination matrix
101 ARGUMENTS: m destination matrix
194 ARGUMENTS: matrix
199 void Quaternion :: CreateRotatedQuaternion(float *matrix) argument
201 if (!matrix)
205 matrix[0] = 1.0f - 2.0f*(y*y + z*z);
206 matrix[
[all...]
H A DGLUtility.h44 void CreateRotatedQuaternion(float *matrix);
/haiku-fatelf/src/tests/kits/interface/picture/
H A DMatrix.h33 BMatrix &operator*=(const BMatrix &matrix);
41 BTransformIterator(BMatrix *matrix);
148 inline BMatrix &BMatrix::operator*=(const BMatrix &matrix) argument
152 m.a = a * matrix.a + c * matrix.b;
153 m.b = b * matrix.a + d * matrix.b;
154 m.c = a * matrix.c + c * matrix.d;
155 m.d = b * matrix
164 BTransformIterator(BMatrix *matrix) argument
[all...]
H A DSVGViewView.cpp373 void Svg2PictureView::GetMatrixAttribute(const XML_Char **attributes, const char *name, BMatrix *matrix) {
402 matrix->Translate(x, y);
409 matrix->Rotate(angle);
415 matrix->Scale(sx, sy);
419 matrix->Scale(sx, sx);
427 matrix->SkewX(angle);
434 matrix->SkewY(angle);
976 BMatrix matrix;
977 GetMatrixAttribute(attributes, "transform", &matrix);
978 fState.fMatrix *= matrix;
975 BMatrix matrix; local
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dprint-dither-matrices.c107 mat->matrix = stp_malloc(sizeof(unsigned) * mat->x_size * mat->y_size);
111 mat->matrix[x + y * mat->x_size] =
113 mat->matrix[x + y * mat->x_size] =
114 (double) mat->matrix[x + y * mat->x_size] * 65536.0 /
139 MATRIX_POINT(mat->matrix, i, j * (x_shear + 1), mat->x_size,
143 MATRIX_POINT(mat->matrix, i, j, mat->x_size, mat->y_size) =
186 mat->matrix = stp_malloc(sizeof(unsigned) * mat->x_size * mat->y_size);
191 mat->matrix[y + x * y_size] = vec[x + y * x_size];
193 mat->matrix[x + y * x_size] = vec[x + y * x_size];
216 mat->matrix
396 stp_dither_set_matrix(stp_vars_t *v, const stp_dither_matrix_generic_t *matrix, int transposed, int x_shear, int y_shear) argument
[all...]
H A Ddither-inlined-functions.h41 return mat->matrix[(mat->last_y_mod +
74 return mat->matrix[mat->index];
/haiku-fatelf/src/libs/icon/transformer/
H A DAffineTransformer.cpp44 const void* matrix; local
46 if (archive->FindData("matrix", B_DOUBLE_TYPE,
47 &matrix, &dataSize) == B_OK) {
49 load_from((const double*)matrix);
111 double matrix[6]; local
112 store_to(matrix);
113 ret = into->AddData("matrix", B_DOUBLE_TYPE,
114 matrix, 6 * sizeof(double));
/haiku-fatelf/src/libs/print/libgutenprint/src/xml/
H A DMakefile.am31 dither-matrix-1x1.xml \
32 dither-matrix-2x1.xml \
33 dither-matrix-4x1.xml \
/haiku-fatelf/src/libs/icon/transformable/
H A DTransformable.h32 void StoreTo(double matrix[matrix_size]) const;
33 void LoadFrom(const double matrix[matrix_size]);
35 // set to or combine with other matrix
H A DTransformable.cpp33 Transformable::StoreTo(double matrix[matrix_size]) const
35 store_to(matrix);
40 Transformable::LoadFrom(const double matrix[matrix_size]) argument
46 t.load_from(matrix);
48 load_from(matrix);
/haiku-fatelf/src/servers/app/drawing/Painter/
H A DTransformable.h5 * A handy front-end to agg::trans_affine transformation matrix.
27 // stores matrix directly to message, deep is ignored
30 void StoreTo(double matrix[6]) const;
31 void LoadFrom(double matrix[6]);
33 // set to or combine with other matrix
H A DTransformable.cpp5 * A handy front-end to agg::trans_affine transformation matrix.
50 ret = archive->FindDouble("affine matrix", i, &storage[i]);
73 ret = into->AddDouble("affine matrix", storage[i]);
86 Transformable::StoreTo(double matrix[6]) const
88 store_to(matrix);
93 Transformable::LoadFrom(double matrix[6]) argument
98 t.load_from(matrix);
100 load_from(matrix);
/haiku-fatelf/src/libs/tiff/
H A Dtif_color.c83 float *matrix = &cielab->display.d_mat[0][0]; local
85 /* Multiply through the matrix to get luminosity values. */
86 Yr = matrix[0] * X + matrix[1] * Y + matrix[2] * Z;
87 Yg = matrix[3] * X + matrix[4] * Y + matrix[5] * Z;
88 Yb = matrix[6] * X + matrix[
[all...]
/haiku-fatelf/src/apps/icon-o-matic/import_export/svg/
H A DSVGExporter.cpp232 // The transformation matrix is extracted again in order to
241 // start new shape and write transform matrix
457 string << "matrix(";
469 double matrix[Transformable::matrix_size]; local
470 object->StoreTo(matrix);
471 append_float(string, matrix[0]);
473 append_float(string, matrix[1]);
475 append_float(string, matrix[2]);
477 append_float(string, matrix[3]);
479 append_float(string, matrix[
[all...]
/haiku-fatelf/src/bin/gdb/bfd/
H A Dcpu-i960.c144 static const unsigned long matrix[MAX_ARCH+1][MAX_ARCH+1] = local
157 if (a->arch != b->arch || matrix[a->mach][b->mach] == ERROR)
163 return (a->mach == matrix[a->mach][b->mach]) ? a : b;
/haiku-fatelf/src/libs/linprog/
H A DLayoutOptimizer.h18 void free_matrix(double** matrix);
H A DLayoutOptimizer.cpp77 // #pragma mark - vector and matrix operations
124 double** matrix = new(nothrow) double*[m]; local
125 if (!matrix)
130 delete[] matrix;
136 matrix[i] = row;
138 return matrix;
144 free_matrix(double** matrix) argument
146 if (matrix) {
147 delete[] *matrix;
148 delete[] matrix;
462 operator ()(double** matrix) argument
[all...]
/haiku-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_type3.c137 memcpy(&newfont->t3font->matrix, &oldfont->t3font->matrix,
245 font->t3font->matrix.a = a;
246 font->t3font->matrix.b = b;
247 font->t3font->matrix.c = c;
248 font->t3font->matrix.d = d;
249 font->t3font->matrix.e = e;
250 font->t3font->matrix.f = f;
253 * so we use the font matrix to get an approximation instead.
255 * Writing the font matrix shoul
[all...]
/haiku-fatelf/src/libs/icon/shape/
H A DShape.cpp189 const void* matrix; local
192 &matrix, &dataSize);
194 LoadFrom((const double*)matrix);
247 double matrix[size]; local
248 StoreTo(matrix);
250 matrix, size * sizeof(double));
/haiku-fatelf/src/kits/interface/layouter/
H A DLayoutOptimizer.cpp63 // #pragma mark - vector and matrix operations
110 double** matrix = new(nothrow) double*[m]; local
111 if (!matrix)
116 delete[] matrix;
122 matrix[i] = row;
124 return matrix;
130 free_matrix(double** matrix) argument
132 if (matrix) {
133 delete[] *matrix;
134 delete[] matrix;
484 operator ()(double** matrix) argument
[all...]
/haiku-fatelf/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp189 double matrix[matrixSize]; local
190 transformable->StoreTo(matrix);
192 // if (!buffer.Write((float)matrix[i]))
194 if (!write_float_24(buffer, (float)matrix[i]))
434 double matrix[6]; local
435 affine->store_to(matrix);
437 if (!write_float_24(buffer, (float)matrix[i]))
/haiku-fatelf/src/libs/icon/flat_icon/
H A DFlatIconImporter.cpp147 double matrix[matrixSize]; local
152 matrix[i] = value;
154 transformable->LoadFrom(matrix);
451 double matrix[6]; local
458 matrix[i] = value;
460 affine->load_from(matrix);
/haiku-fatelf/src/libs/icon/style/
H A DGradientTransformable.cpp61 const void* matrix; local
64 &matrix, &dataSize) == B_OK
66 LoadFrom((const double*)matrix);
123 double matrix[size]; local
124 StoreTo(matrix);
126 matrix, size * sizeof(double));

Completed in 252 milliseconds

12