Lines Matching refs:bgr
141 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_Gray2BGR_8u_C1C3R() argument
146 for( i = 0; i < size.width; i++, bgr += 3 ) in icvCvt_Gray2BGR_8u_C1C3R()
148 bgr[0] = bgr[1] = bgr[2] = gray[i]; in icvCvt_Gray2BGR_8u_C1C3R()
150 bgr += bgr_step - size.width*3; in icvCvt_Gray2BGR_8u_C1C3R()
156 uchar* bgr, int bgr_step, in icvCvt_BGRA2BGR_8u_C4C3R()
163 for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 ) in icvCvt_BGRA2BGR_8u_C4C3R()
166 bgr[0] = t0; bgr[1] = t1; in icvCvt_BGRA2BGR_8u_C4C3R()
167 t0 = bgra[swap_rb^2]; bgr[2] = t0; in icvCvt_BGRA2BGR_8u_C4C3R()
169 bgr += bgr_step - size.width*3; in icvCvt_BGRA2BGR_8u_C4C3R()
194 void icvCvt_BGR2RGB_8u_C3R( const uchar* bgr, int bgr_step, in icvCvt_BGR2RGB_8u_C3R() argument
200 for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) in icvCvt_BGR2RGB_8u_C3R()
202 uchar t0 = bgr[0], t1 = bgr[1], t2 = bgr[2]; in icvCvt_BGR2RGB_8u_C3R()
205 bgr += bgr_step - size.width*3; in icvCvt_BGR2RGB_8u_C3R()
211 void icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step, in icvCvt_BGR2RGB_16u_C3R() argument
217 for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) in icvCvt_BGR2RGB_16u_C3R()
219 ushort t0 = bgr[0], t1 = bgr[1], t2 = bgr[2]; in icvCvt_BGR2RGB_16u_C3R()
222 bgr += bgr_step - size.width*3; in icvCvt_BGR2RGB_16u_C3R()
265 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_BGR5552BGR_8u_C2C3R()
270 for( i = 0; i < size.width; i++, bgr += 3 ) in icvCvt_BGR5552BGR_8u_C2C3R()
275 bgr[0] = (uchar)t0; bgr[1] = (uchar)t1; bgr[2] = (uchar)t2; in icvCvt_BGR5552BGR_8u_C2C3R()
277 bgr += bgr_step - size.width*3; in icvCvt_BGR5552BGR_8u_C2C3R()
283 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_BGR5652BGR_8u_C2C3R()
288 for( i = 0; i < size.width; i++, bgr += 3 ) in icvCvt_BGR5652BGR_8u_C2C3R()
293 bgr[0] = (uchar)t0; bgr[1] = (uchar)t1; bgr[2] = (uchar)t2; in icvCvt_BGR5652BGR_8u_C2C3R()
295 bgr += bgr_step - size.width*3; in icvCvt_BGR5652BGR_8u_C2C3R()
301 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_CMYK2BGR_8u_C4C3R() argument
306 for( i = 0; i < size.width; i++, bgr += 3, cmyk += 4 ) in icvCvt_CMYK2BGR_8u_C4C3R()
312 bgr[2] = (uchar)c; bgr[1] = (uchar)m; bgr[0] = (uchar)y; in icvCvt_CMYK2BGR_8u_C4C3R()
314 bgr += bgr_step - size.width*3; in icvCvt_CMYK2BGR_8u_C4C3R()