Lines Matching refs:ushort
102 void icvCvt_BGR2Gray_16u_C3C1R( const ushort* rgb, int rgb_step,
103 ushort* gray, int gray_step,
113 gray[i] = (ushort)t;
211 void icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step,
212 ushort* rgb, int rgb_step, CvSize size )
219 ushort t0 = bgr[0], t1 = bgr[1], t2 = bgr[2];
228 typedef unsigned short ushort;
238 int t = descale( ((((ushort*)bgr555)[i] << 3) & 0xf8)*cB +
239 ((((ushort*)bgr555)[i] >> 2) & 0xf8)*cG +
240 ((((ushort*)bgr555)[i] >> 7) & 0xf8)*cR, SCALE );
255 int t = descale( ((((ushort*)bgr565)[i] << 3) & 0xf8)*cB +
256 ((((ushort*)bgr565)[i] >> 3) & 0xfc)*cG +
257 ((((ushort*)bgr565)[i] >> 8) & 0xf8)*cR, SCALE );
272 int t0 = (((ushort*)bgr555)[i] << 3) & 0xf8;
273 int t1 = (((ushort*)bgr555)[i] >> 2) & 0xf8;
274 int t2 = (((ushort*)bgr555)[i] >> 7) & 0xf8;
290 int t0 = (((ushort*)bgr565)[i] << 3) & 0xf8;
291 int t1 = (((ushort*)bgr565)[i] >> 3) & 0xfc;
292 int t2 = (((ushort*)bgr565)[i] >> 8) & 0xf8;