Home | History | Annotate | Download | only in highgui

Lines Matching defs:xstep

207     int xstep;
210 xstep = m_native_depth ? 4 : 1;
314 UpSample( data, 3, step / xstep, xsample[0], m_blue->ySampling );
316 UpSample( data + xstep, 3, step / xstep, xsample[1], m_green->ySampling );
318 UpSample( data + 2 * xstep, 3, step / xstep, xsample[2], m_red->ySampling );
321 UpSample( data, 1, step / xstep, xsample[0], m_green->ySampling );
379 UpSampleY( data, 3, step / xstep, m_blue->ySampling );
381 UpSampleY( data + xstep, 3, step / xstep, m_green->ySampling );
383 UpSampleY( data + 2 * xstep, 3, step / xstep, m_red->ySampling );
386 UpSampleY( data, 1, step / xstep, m_green->ySampling );
390 ChromaToBGR( (float *)data, m_height, step / xstep );
401 void GrFmtExrReader::UpSample( uchar *data, int xstep, int ystep, int xsample, int ysample )
412 data[(yre + i) * ystep + (xre + n) * xstep] = data[y * ystep + x * xstep];
414 ((float *)data)[(yre + i) * ystep + (xre + n) * xstep] = ((float *)data)[y * ystep + x * xstep];
416 ((uint *)data)[(yre + i) * ystep + (xre + n) * xstep] = ((uint *)data)[y * ystep + x * xstep];
427 void GrFmtExrReader::UpSampleX( float *data, int xstep, int xsample )
434 ((float *)data)[(xre + n) * xstep] = ((float *)data)[x * xstep];
436 ((uint *)data)[(xre + n) * xstep] = ((uint *)data)[x * xstep];
445 void GrFmtExrReader::UpSampleY( uchar *data, int xstep, int ystep, int ysample )
454 data[(yre + i) * ystep + x * xstep] = data[y * ystep + x * xstep];
456 ((float *)data)[(yre + i) * ystep + x * xstep] = ((float *)data)[y * ystep + x * xstep];
458 ((uint *)data)[(yre + i) * ystep + x * xstep] = ((uint *)data)[y * ystep + x * xstep];