Lines Matching refs:bgra
137 void icvCvt_BGRA2BGR_8u_C4C3R( const uchar* bgra, int bgra_step,
145 for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 )
147 uchar t0 = bgra[swap_rb], t1 = bgra[1];
149 t0 = bgra[swap_rb^2]; bgr[2] = t0;
152 bgra += bgra_step - size.width*4;
157 void icvCvt_BGRA2BGR_16u_C4C3R( const ushort* bgra, int bgra_step,
165 for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 )
167 ushort t0 = bgra[swap_rb], t1 = bgra[1];
169 t0 = bgra[swap_rb^2]; bgr[2] = t0;
172 bgra += bgra_step/sizeof(bgra[0]) - size.width*4;
177 void icvCvt_BGRA2RGBA_8u_C4R( const uchar* bgra, int bgra_step,
183 for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 )
185 uchar t0 = bgra[0], t1 = bgra[1];
186 uchar t2 = bgra[2], t3 = bgra[3];
190 bgra += bgra_step - size.width*4;
195 void icvCvt_BGRA2RGBA_16u_C4R( const ushort* bgra, int bgra_step,
201 for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 )
203 ushort t0 = bgra[0], t1 = bgra[1];
204 ushort t2 = bgra[2], t3 = bgra[3];
209 bgra += bgra_step/sizeof(bgra[0]) - size.width*4;