Lines Matching defs:vecsize
120 int vecsize;
126 vecsize = width * height;
127 fwrite( &vecsize, sizeof( vecsize ), 1, file );
1565 int vecsize;
1577 assert( img->rows * img->cols == ((CvVecFile*) userdata)->vecsize );
1582 ((CvVecFile*) userdata)->vecsize, ((CvVecFile*) userdata)->input );
1583 CV_Assert(elements_read == (size_t)((CvVecFile*) userdata)->vecsize);
1616 size_t elements_read2 = fread( &file.vecsize, sizeof( file.vecsize ), 1, file.input );
1621 if( file.vecsize != winwidth * winheight )
1628 winwidth, winheight, file.vecsize );
1629 if( file.vecsize > 0 )
1631 guessed_w = cvFloor( sqrt( (float) file.vecsize ) );
1634 guessed_h = file.vecsize / guessed_w;
1638 if( guessed_w <= 0 || guessed_h <= 0 || guessed_w * guessed_h != file.vecsize)
1659 file.vector = (short*) cvAlloc( sizeof( *file.vector ) * file.vecsize );