Lines Matching refs:uchar
83 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step, in icvCvt_BGR2Gray_8u_C3C1R()
84 uchar* gray, int gray_step, in icvCvt_BGR2Gray_8u_C3C1R()
94 gray[i] = (uchar)t; in icvCvt_BGR2Gray_8u_C3C1R()
121 void icvCvt_BGRA2Gray_8u_C4C1R( const uchar* rgba, int rgba_step, in icvCvt_BGRA2Gray_8u_C4C1R()
122 uchar* gray, int gray_step, in icvCvt_BGRA2Gray_8u_C4C1R()
132 gray[i] = (uchar)t; in icvCvt_BGRA2Gray_8u_C4C1R()
140 void icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, int gray_step, in icvCvt_Gray2BGR_8u_C1C3R()
141 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_Gray2BGR_8u_C1C3R()
155 void icvCvt_BGRA2BGR_8u_C4C3R( const uchar* bgra, int bgra_step, in icvCvt_BGRA2BGR_8u_C4C3R()
156 uchar* bgr, int bgr_step, in icvCvt_BGRA2BGR_8u_C4C3R()
165 uchar t0 = bgra[swap_rb], t1 = bgra[1]; in icvCvt_BGRA2BGR_8u_C4C3R()
175 void icvCvt_BGRA2RGBA_8u_C4R( const uchar* bgra, int bgra_step, in icvCvt_BGRA2RGBA_8u_C4R()
176 uchar* rgba, int rgba_step, CvSize size ) in icvCvt_BGRA2RGBA_8u_C4R()
183 uchar t0 = bgra[0], t1 = bgra[1]; in icvCvt_BGRA2RGBA_8u_C4R()
184 uchar t2 = bgra[2], t3 = bgra[3]; in icvCvt_BGRA2RGBA_8u_C4R()
194 void icvCvt_BGR2RGB_8u_C3R( const uchar* bgr, int bgr_step, in icvCvt_BGR2RGB_8u_C3R()
195 uchar* rgb, int rgb_step, CvSize size ) in icvCvt_BGR2RGB_8u_C3R()
202 uchar t0 = bgr[0], t1 = bgr[1], t2 = bgr[2]; in icvCvt_BGR2RGB_8u_C3R()
230 void icvCvt_BGR5552Gray_8u_C2C1R( const uchar* bgr555, int bgr555_step, in icvCvt_BGR5552Gray_8u_C2C1R()
231 uchar* gray, int gray_step, CvSize size ) in icvCvt_BGR5552Gray_8u_C2C1R()
241 gray[i] = (uchar)t; in icvCvt_BGR5552Gray_8u_C2C1R()
247 void icvCvt_BGR5652Gray_8u_C2C1R( const uchar* bgr565, int bgr565_step, in icvCvt_BGR5652Gray_8u_C2C1R()
248 uchar* gray, int gray_step, CvSize size ) in icvCvt_BGR5652Gray_8u_C2C1R()
258 gray[i] = (uchar)t; in icvCvt_BGR5652Gray_8u_C2C1R()
264 void icvCvt_BGR5552BGR_8u_C2C3R( const uchar* bgr555, int bgr555_step, in icvCvt_BGR5552BGR_8u_C2C3R()
265 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_BGR5552BGR_8u_C2C3R()
275 bgr[0] = (uchar)t0; bgr[1] = (uchar)t1; bgr[2] = (uchar)t2; in icvCvt_BGR5552BGR_8u_C2C3R()
282 void icvCvt_BGR5652BGR_8u_C2C3R( const uchar* bgr565, int bgr565_step, in icvCvt_BGR5652BGR_8u_C2C3R()
283 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_BGR5652BGR_8u_C2C3R()
293 bgr[0] = (uchar)t0; bgr[1] = (uchar)t1; bgr[2] = (uchar)t2; in icvCvt_BGR5652BGR_8u_C2C3R()
300 void icvCvt_CMYK2BGR_8u_C4C3R( const uchar* cmyk, int cmyk_step, in icvCvt_CMYK2BGR_8u_C4C3R()
301 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_CMYK2BGR_8u_C4C3R()
312 bgr[2] = (uchar)c; bgr[1] = (uchar)m; bgr[0] = (uchar)y; in icvCvt_CMYK2BGR_8u_C4C3R()
320 void icvCvt_CMYK2Gray_8u_C4C1R( const uchar* cmyk, int cmyk_step, in icvCvt_CMYK2Gray_8u_C4C1R()
321 uchar* gray, int gray_step, CvSize size ) in icvCvt_CMYK2Gray_8u_C4C1R()
333 gray[i] = (uchar)t; in icvCvt_CMYK2Gray_8u_C4C1R()
341 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries ) in CvtPaletteToGray()
346 icvCvt_BGR2Gray_8u_C3C1R( (uchar*)(palette + i), 0, grayPalette + i, 0, cvSize(1,1) ); in CvtPaletteToGray()
359 palette[i].b = palette[i].g = palette[i].r = (uchar)val; in FillGrayPalette()
380 uchar* FillUniColor( uchar* data, uchar*& line_end, in FillUniColor()
387 uchar* end = data + count3; in FillUniColor()
412 uchar* FillUniGray( uchar* data, uchar*& line_end, in FillUniGray()
415 int count, uchar clr ) in FillUniGray()
419 uchar* end = data + count; in FillUniGray()
444 uchar* FillColorRow8( uchar* data, uchar* indices, int len, PaletteEntry* palette ) in FillColorRow8()
446 uchar* end = data + len*3; in FillColorRow8()
457 uchar* FillGrayRow8( uchar* data, uchar* indices, int len, uchar* palette ) in FillGrayRow8()
468 uchar* FillColorRow4( uchar* data, uchar* indices, int len, PaletteEntry* palette ) in FillColorRow4()
470 uchar* end = data + len*3; in FillColorRow4()
492 uchar* FillGrayRow4( uchar* data, uchar* indices, int len, uchar* palette ) in FillGrayRow4()
494 uchar* end = data + len; in FillGrayRow4()
503 uchar clr = palette[idx >> 4]; in FillGrayRow4()
515 uchar* FillColorRow1( uchar* data, uchar* indices, int len, PaletteEntry* palette ) in FillColorRow1()
517 uchar* end = data + len*3; in FillColorRow1()
543 uchar* FillGrayRow1( uchar* data, uchar* indices, int len, uchar* palette ) in FillGrayRow1()
545 uchar* end = data + len; in FillGrayRow1()
550 *((uchar*)(data - 8)) = palette[(idx & 128) != 0]; in FillGrayRow1()
551 *((uchar*)(data - 7)) = palette[(idx & 64) != 0]; in FillGrayRow1()
552 *((uchar*)(data - 6)) = palette[(idx & 32) != 0]; in FillGrayRow1()
553 *((uchar*)(data - 5)) = palette[(idx & 16) != 0]; in FillGrayRow1()
554 *((uchar*)(data - 4)) = palette[(idx & 8) != 0]; in FillGrayRow1()
555 *((uchar*)(data - 3)) = palette[(idx & 4) != 0]; in FillGrayRow1()
556 *((uchar*)(data - 2)) = palette[(idx & 2) != 0]; in FillGrayRow1()
557 *((uchar*)(data - 1)) = palette[(idx & 1) != 0]; in FillGrayRow1()
620 uchar *s = src->data.ptr, *d = dst->data.ptr; in cvConvertImage()