Lines Matching defs:FRAC_BITS
41 #define FRAC_BITS 4
398 if(FRAC_BITS != 8){
399 v >>= 8 - FRAC_BITS;
403 v = (v + (1<<(FRAC_BITS-1))) >> FRAC_BITS;
436 int v= buf[x + y*w] + (128<<FRAC_BITS) + (1<<(FRAC_BITS-1));
437 v >>= FRAC_BITS;
445 buf[x + y*w]-= 128<<FRAC_BITS;
517 #define QEXPSHIFT (7-FRAC_BITS+8) //FIXME try to change this to 0