Lines Matching refs:fix
646 #define fix(x, n) (int)((x)*(1 << (n)) + .5);
655 static const int C0_707 = fix(0.707106781f, fixb);
656 static const int C0_541 = fix(0.541196100f, fixb);
657 static const int C0_382 = fix(0.382683432f, fixb);
658 static const int C1_306 = fix(1.306562965f, fixb);
660 static const int y_r = fix(0.299, fixc);
661 static const int y_g = fix(0.587, fixc);
662 static const int y_b = fix(0.114, fixc);
664 static const int cb_r = -fix(0.1687, fixc);
665 static const int cb_g = -fix(0.3313, fixc);
666 static const int cb_b = fix(0.5, fixc);
668 static const int cr_r = fix(0.5, fixc);
669 static const int cr_g = -fix(0.4187, fixc);
670 static const int cr_b = -fix(0.0813, fixc);