Home | History | Annotate | Download | only in src

Lines Matching refs:step

191     int step = img.step;
212 ystep = step;
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 );
344 ChromaToBGR( (float *)buffer, 1, step );
364 out += step;
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 );
457 void ExrDecoder::ChromaToBGR( float *data, int numlines, int step )
466 b = ((uchar *)data)[y * step + x * 3];
467 Y = ((uchar *)data)[y * step + x * 3 + 1];
468 r = ((uchar *)data)[y * step + x * 3 + 2];
472 b = data[y * step + x * 3];
473 Y = data[y * step + x * 3 + 1];
474 r = data[y * step + x * 3 + 2];
478 b = ((unsigned *)data)[y * step + x * 3];
479 Y = ((unsigned *)data)[y * step + x * 3 + 1];
480 r = ((unsigned *)data)[y * step + x * 3 + 2];
488 ((uchar *)data)[y * step + x * 3 + 0] = cv::saturate_cast<uchar>(b);
489 ((uchar *)data)[y * step
490 ((uchar *)data)[y * step + x * 3 + 2] = cv::saturate_cast<uchar>(r);
494 data[y * step + x * 3] = (float)b;
495 data[y * step + x * 3 + 1] = (float)Y;
496 data[y * step + x * 3 + 2] = (float)r;
501 ((unsigned *)data)[y * step + x * 3 + 0] = (unsigned)MAX(t, 0);
503 ((unsigned *)data)[y * step + x * 3 + 1] = (unsigned)MAX(t, 0);
505 ((unsigned *)data)[y * step + x * 3 + 2] = (unsigned)MAX(t, 0);
586 const int step = img.step;
621 bufferstep = step;