Lines Matching refs:bgr
108 uchar* bgr, int bgr_step, CvSize size )
113 for( i = 0; i < size.width; i++, bgr += 3 )
115 bgr[0] = bgr[1] = bgr[2] = gray[i];
117 bgr += bgr_step - size.width*3;
123 ushort* bgr, int bgr_step, CvSize size )
128 for( i = 0; i < size.width; i++, bgr += 3 )
130 bgr[0] = bgr[1] = bgr[2] = gray[i];
132 bgr += bgr_step/sizeof(bgr[0]) - size.width*3;
138 uchar* bgr, int bgr_step,
145 for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 )
148 bgr[0] = t0; bgr[1] = t1;
149 t0 = bgra[swap_rb^2]; bgr[2] = t0;
151 bgr += bgr_step - size.width*3;
158 ushort* bgr, int bgr_step,
165 for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 )
168 bgr[0] = t0; bgr[1] = t1;
169 t0 = bgra[swap_rb^2]; bgr[2] = t0;
171 bgr += bgr_step/sizeof(bgr[0]) - size.width*3;
215 void icvCvt_BGR2RGB_8u_C3R( const uchar* bgr, int bgr_step,
221 for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 )
223 uchar t0 = bgr[0], t1 = bgr[1], t2 = bgr[2];
226 bgr += bgr_step - size.width*3;
232 void icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step,
238 for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 )
240 ushort t0 = bgr[0], t1 = bgr[1], t2 = bgr[2];
243 bgr += bgr_step - size.width*3;
286 uchar* bgr, int bgr_step, CvSize size )
291 for( i = 0; i < size.width; i++, bgr += 3 )
296 bgr[0] = (uchar)t0; bgr[1] = (uchar)t1; bgr[2] = (uchar)t2;
298 bgr += bgr_step - size.width*3;
304 uchar* bgr, int bgr_step, CvSize size )
309 for( i = 0; i < size.width; i++, bgr += 3 )
314 bgr[0] = (uchar)t0; bgr[1] = (uchar)t1; bgr[2] = (uchar)t2;
316 bgr += bgr_step - size.width*3;
322 uchar* bgr, int bgr_step, CvSize size )
327 for( i = 0; i < size.width; i++, bgr += 3, cmyk += 4 )
333 bgr[2] = (uchar)c; bgr[1] = (uchar)m; bgr[0] = (uchar)y;
335 bgr += bgr_step - size.width*3;