Lines Matching defs:xstep

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