Lines Matching refs:swap_rb
88 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGR2Gray_8u_C3C1R() local
93 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_8u_C3C1R()
107 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGR2Gray_16u_C3C1R() local
112 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_16u_C3C1R()
126 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2Gray_8u_C4C1R() local
131 int t = descale( rgba[swap_rb]*cB + rgba[1]*cG + rgba[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_8u_C4C1R()
160 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2BGR_8u_C4C3R() local
165 uchar t0 = bgra[swap_rb], t1 = bgra[1]; in icvCvt_BGRA2BGR_8u_C4C3R()
167 t0 = bgra[swap_rb^2]; bgr[2] = t0; in icvCvt_BGRA2BGR_8u_C4C3R()
581 int src_cn, dst_cn, swap_rb = flags & CV_CVTIMG_SWAP_RB; in cvConvertImage() local
618 if( src_cn != dst_cn || src_cn == 3 && swap_rb ) in cvConvertImage()
638 icvCvt_BGR2Gray_8u_C3C1R( s, s_step, d, d_step, size, swap_rb ); in cvConvertImage()
641 assert( swap_rb ); in cvConvertImage()
645 icvCvt_BGRA2Gray_8u_C4C1R( s, s_step, d, d_step, size, swap_rb ); in cvConvertImage()
648 icvCvt_BGRA2BGR_8u_C4C3R( s, s_step, d, d_step, size, swap_rb ); in cvConvertImage()