Home | History | Annotate | Download | only in highgui

Lines Matching refs:xsample

205     int xsample[3] = {1, 1, 1};
234 xsample[0] = m_blue->ySampling;
241 xsample[1] = m_green->ySampling;
248 xsample[2] = m_red->ySampling;
263 xsample[0] = m_green->ySampling;
264 xsample[1] = m_green->ySampling;
265 xsample[2] = m_green->ySampling;
273 xsample[0] = m_green->ySampling;
283 xsample[0] = m_blue->ySampling;
290 xsample[1] = m_green->ySampling;
297 xsample[2] = m_red->ySampling;
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 );
333 if( xsample[0] != 1 )
334 UpSampleX( (float *)buffer, 3, xsample[0] );
335 if( xsample[1] != 1 )
336 UpSampleX( (float *)buffer + 4, 3, xsample[1] );
337 if( xsample[2] != 1 )
338 UpSampleX( (float *)buffer + 8, 3, xsample[2] );
344 if( xsample[0] != 1 )
345 UpSampleX( (float *)buffer, 3, xsample[0] );
346 if( xsample[1] != 1 )
347 UpSampleX( (float *)(buffer + 4), 3, xsample[1] );
348 if( xsample[2] != 1 )
349 UpSampleX( (float *)(buffer + 8), 3, xsample[2] );
401 void GrFmtExrReader::UpSample( uchar *data, int xstep, int ystep, int xsample, int ysample )
405 for( int x = (m_width - 1) / xsample, xre = m_width - xsample; x >= 0; x--, xre -= xsample )
409 for( int n = 0; n < xsample; n++ )
427 void GrFmtExrReader::UpSampleX( float *data, int xstep, int xsample )
429 for( int x = (m_width - 1) / xsample, xre = m_width - xsample; x >= 0; x--, xre -= xsample )
431 for( int n = 0; n < xsample; n++ )