Lines Matching refs:numrows
100 jas_matrix_t *jas_matrix_create(int numrows, int numcols) in jas_matrix_create() argument
109 matrix->numrows_ = numrows; in jas_matrix_create()
112 matrix->maxrows_ = numrows; in jas_matrix_create()
114 matrix->datasize_ = numrows * numcols; in jas_matrix_create()
132 for (i = 0; i < numrows; ++i) { in jas_matrix_create()
342 int jas_matrix_resize(jas_matrix_t *matrix, int numrows, int numcols) in jas_matrix_resize() argument
347 size = numrows * numcols; in jas_matrix_resize()
348 if (size > matrix->datasize_ || numrows > matrix->maxrows_) { in jas_matrix_resize()
352 matrix->numrows_ = numrows; in jas_matrix_resize()
355 for (i = 0; i < numrows; ++i) { in jas_matrix_resize()
386 int numrows; in jas_seq2d_input() local
393 if (fscanf(in, "%d %d", &numcols, &numrows) != 2) in jas_seq2d_input()
395 if (!(matrix = jas_seq2d_create(xoff, yoff, xoff + numcols, yoff + numrows))) in jas_seq2d_input()
398 if (jas_matrix_numrows(matrix) != numrows || jas_matrix_numcols(matrix) != numcols) { in jas_seq2d_input()