Lines Matching defs:FRAC_BITS
48 #define FRAC_BITS 4
391 if(FRAC_BITS != 8){
392 v >>= 8 - FRAC_BITS;
396 v = (v + (1<<(FRAC_BITS-1))) >> FRAC_BITS;
429 int v= buf[x + y*w] + (128<<FRAC_BITS) + (1<<(FRAC_BITS-1));
430 v >>= FRAC_BITS;
438 buf[x + y*w]-= 128<<FRAC_BITS;
510 #define QEXPSHIFT (7-FRAC_BITS+8) //FIXME try to change this to 0