Home | History | Annotate | Download | only in src

Lines Matching defs:new_rows

2937         int  total_width, new_rows, cn;
2957 new_rows = new_sizes[0];
2959 new_rows = total_width*mat->rows/new_cn;
2962 new_rows = mat->rows;
2964 new_rows = mat->rows * total_width / new_cn;
2967 if( new_rows != mat->rows )
2975 total_width = total_size / new_rows;
2977 if( total_width * new_rows != total_size )
2982 header->rows = new_rows;
2992 header->step &= new_rows > 1 ? -1 : 0;
3100 int new_cn, int new_rows )
3136 if( (new_cn > total_width || total_width % new_cn != 0) && new_rows == 0 )
3137 new_rows = mat->rows * total_width / new_cn;
3139 if( new_rows == 0 || new_rows == mat->rows )
3151 if( (unsigned)new_rows > (unsigned)total_size )
3154 total_width = total_size / new_rows;
3156 if( total_width * new_rows != total_size )
3160 header->rows = new_rows;