Lines Matching refs:xstep
199 int xstep; in readData() local
202 xstep = m_native_depth ? 4 : 1; in readData()
306 UpSample( data, 3, step / xstep, xsample[0], m_blue->ySampling ); in readData()
308 UpSample( data + xstep, 3, step / xstep, xsample[1], m_green->ySampling ); in readData()
310 UpSample( data + 2 * xstep, 3, step / xstep, xsample[2], m_red->ySampling ); in readData()
313 UpSample( data, 1, step / xstep, xsample[0], m_green->ySampling ); in readData()
369 UpSampleY( data, 3, step / xstep, m_blue->ySampling ); in readData()
371 UpSampleY( data + xstep, 3, step / xstep, m_green->ySampling ); in readData()
373 UpSampleY( data + 2 * xstep, 3, step / xstep, m_red->ySampling ); in readData()
376 UpSampleY( data, 1, step / xstep, m_green->ySampling ); in readData()
380 ChromaToBGR( (float *)data, m_height, step / xstep ); in readData()
391 void ExrDecoder::UpSample( uchar *data, int xstep, int ystep, int xsample, int ysample ) in UpSample() argument
402 data[(yre + i) * ystep + (xre + n) * xstep] = data[y * ystep + x * xstep]; in UpSample()
404 … ((float *)data)[(yre + i) * ystep + (xre + n) * xstep] = ((float *)data)[y * ystep + x * xstep]; in UpSample()
406 …((unsigned *)data)[(yre + i) * ystep + (xre + n) * xstep] = ((unsigned *)data)[y * ystep + x * xst… in UpSample()
417 void ExrDecoder::UpSampleX( float *data, int xstep, int xsample ) in UpSampleX() argument
424 ((float *)data)[(xre + n) * xstep] = ((float *)data)[x * xstep]; in UpSampleX()
426 ((unsigned *)data)[(xre + n) * xstep] = ((unsigned *)data)[x * xstep]; in UpSampleX()
435 void ExrDecoder::UpSampleY( uchar *data, int xstep, int ystep, int ysample ) in UpSampleY() argument
444 data[(yre + i) * ystep + x * xstep] = data[y * ystep + x * xstep]; in UpSampleY()
446 … ((float *)data)[(yre + i) * ystep + x * xstep] = ((float *)data)[y * ystep + x * xstep]; in UpSampleY()
448 … ((unsigned *)data)[(yre + i) * ystep + x * xstep] = ((unsigned *)data)[y * ystep + x * xstep]; in UpSampleY()