Home | History | Annotate | Download | only in highgui

Lines Matching defs:SCALE

77 #define  SCALE  14
78 #define cR (int)(0.299*(1 << SCALE) + 0.5)
79 #define cG (int)(0.587*(1 << SCALE) + 0.5)
80 #define cB ((1 << SCALE) - cR - cG)
93 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE );
112 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE );
131 int t = descale( rgba[swap_rb]*cB + rgba[1]*cG + rgba[swap_rb^2]*cR, SCALE );
240 ((((ushort*)bgr555)[i] >> 7) & 0xf8)*cR, SCALE );
257 ((((ushort*)bgr565)[i] >> 8) & 0xf8)*cR, SCALE );
332 int t = descale( y*cB + m*cG + c*cR, SCALE );
601 double scale = src_depth <= CV_8S ? 1 : src_depth <= CV_32S ? 1./256 : 255;
608 cvConvertScale( src, temp, scale, shift );
613 cvConvertScale( src, dst, scale, shift );