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