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