HomeSort by relevance Sort by last modified time
    Searched refs:new_rows (Results 1 - 13 of 13) sorted by null

  /external/opencv3/modules/core/src/
cuda_host_mem.cpp 243 HostMem cv::cuda::HostMem::reshape(int new_cn, int new_rows) const
253 if ((new_cn > total_width || total_width % new_cn != 0) && new_rows == 0)
254 new_rows = rows * total_width / new_cn;
256 if (new_rows != 0 && new_rows != rows)
263 if ((unsigned)new_rows > (unsigned)total_size)
266 total_width = total_size / new_rows;
268 if (total_width * new_rows != total_size)
271 hdr.rows = new_rows;
cuda_gpu_mat.cpp 161 GpuMat cv::cuda::GpuMat::reshape(int new_cn, int new_rows) const
171 if ((new_cn > total_width || total_width % new_cn != 0) && new_rows == 0)
172 new_rows = rows * total_width / new_cn;
174 if (new_rows != 0 && new_rows != rows)
181 if ((unsigned)new_rows > (unsigned)total_size)
184 total_width = total_size / new_rows;
186 if (total_width * new_rows != total_size)
189 hdr.rows = new_rows;
umatrix.cpp 479 UMat UMat::reshape(int new_cn, int new_rows) const
484 if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 )
499 if( (new_cn > total_width || total_width % new_cn != 0) && new_rows == 0 )
500 new_rows = rows * total_width / new_cn;
502 if( new_rows != 0 && new_rows != rows )
509 if( (unsigned)new_rows > (unsigned)total_size )
512 total_width = total_size / new_rows;
514 if( total_width * new_rows != total_size )
518 hdr.rows = new_rows;
    [all...]
array.cpp 2542 int total_width, new_rows, cn; local
    [all...]
matrix.cpp 956 Mat Mat::reshape(int new_cn, int new_rows) const
961 if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 )
976 if( (new_cn > total_width || total_width % new_cn != 0) && new_rows == 0 )
977 new_rows = rows * total_width / new_cn;
979 if( new_rows != 0 && new_rows != rows )
986 if( (unsigned)new_rows > (unsigned)total_size )
989 total_width = total_size / new_rows;
991 if( total_width * new_rows != total_size )
995 hdr.rows = new_rows;
    [all...]
  /external/libvterm/src/
screen.c 80 static ScreenCell *realloc_buffer(VTermScreen *screen, ScreenCell *buffer, int new_rows, int new_cols)
82 ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_cols);
84 for(int row = 0; row < new_rows; row++) {
480 static int resize(int new_rows, int new_cols, VTermPos *delta, void *user)
489 if(!is_altscreen && new_rows < old_rows) {
493 for(pos.row = old_rows - 1; pos.row >= new_rows; pos.row--)
498 if(first_blank_row > new_rows) {
505 scrollrect(rect, first_blank_row - new_rows, 0, user);
508 delta->row -= first_blank_row - new_rows;
512 screen->buffers[0] = realloc_buffer(screen, screen->buffers[0], new_rows, new_cols)
    [all...]
  /external/ceres-solver/internal/ceres/
triplet_sparse_matrix.cc 113 int* new_rows = new int[new_max_num_nonzeros]; local
118 new_rows[i] = rows_[i];
123 rows_.reset(new_rows);
  /external/opencv3/modules/core/test/
test_umat.cpp 315 int new_rows = randomInt(1, INT_MAX); local
316 if ( ((int)ua.total()*ua.channels())%(new_rows*nChannels) != 0)
318 EXPECT_ANY_THROW (ua.reshape(nChannels, new_rows) );
322 EXPECT_NO_THROW ( ub = ua.reshape(nChannels, new_rows) );
324 ASSERT_EQ(ub.rows, new_rows);
327 EXPECT_MAT_NEAR(ua.reshape(nChannels,new_rows), a.reshape(nChannels,new_rows), 0);
330 new_rows = (int)ua.total()*ua.channels()/(nChannels*randomInt(1, size.width*size.height));
331 if (new_rows == 0) new_rows = 1
    [all...]
  /external/eigen/Eigen/src/Core/
PlainObjectBase.h 719 const Index new_rows = other.rows() - _this.rows(); local
722 if (new_rows>0
750 const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : size; local
761 const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : other.rows(); local
    [all...]
  /external/webrtc/webrtc/modules/desktop_capture/
desktop_region.cc 371 Rows new_rows; local
389 new_rows.insert(new_rows.end(), Rows::value_type(row->bottom, row));
393 new_rows.swap(rows_);
  /external/opencv/cxcore/src/
cxarray.cpp 2937 int total_width, new_rows, cn; local
    [all...]
  /external/opencv/cxcore/include/
cxcore.h 412 int new_cn, int new_rows CV_DEFAULT(0) );
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/
core_c.h     [all...]

Completed in 354 milliseconds