Lines Matching refs:uchar
198 bool GrFmtExrReader::ReadData( uchar* data, int step, int color )
325 uchar *out = data;
401 void GrFmtExrReader::UpSample( uchar *data, int xstep, int ystep, int xsample, int ysample )
445 void GrFmtExrReader::UpSampleY( uchar *data, int xstep, int ystep, int ysample )
478 b = ((uchar *)data)[y * step + x * 3];
479 Y = ((uchar *)data)[y * step + x * 3 + 1];
480 r = ((uchar *)data)[y * step + x * 3 + 2];
501 ((uchar *)data)[y * step + x * 3] = CV_CAST_8U(t);
503 ((uchar *)data)[y * step + x * 3 + 1] = CV_CAST_8U(t);
505 ((uchar *)data)[y * step + x * 3 + 2] = CV_CAST_8U(t);
541 uchar *o = (uchar *)out;
543 o[i] = (uchar) (in[n] * m_chroma.blue[0] + in[n + 1] * m_chroma.green[0] + in[n + 2] * m_chroma.red[0]);
557 else // how to best convert float to uchar?
561 ((uchar *)out)[i] = uchar((ui[n] * m_chroma.blue[0] + ui[n + 1] * m_chroma.green[0] + ui[n + 2] * m_chroma.red[0]) * (256.0 / 4294967296.0));
589 bool GrFmtExrWriter::WriteImage( const uchar* data, int step,
630 buffer = (char *)const_cast<uchar *>(data);