Lines Matching defs:FRAC_BITS
38 #define FRAC_BITS 4
385 if(FRAC_BITS != 8){
386 v >>= 8 - FRAC_BITS;
390 v = (v + (1<<(FRAC_BITS-1))) >> FRAC_BITS;
422 int v= buf[x + y*w] + (128<<FRAC_BITS) + (1<<(FRAC_BITS-1));
423 v >>= FRAC_BITS;
431 buf[x + y*w]-= 128<<FRAC_BITS;
501 #define QEXPSHIFT (7-FRAC_BITS+8) //FIXME try to change this to 0