Searched refs:DSCALE (Results 1 – 1 of 1) sorted by relevance
838 #define DSCALE 1 // storage descaling, needed to make the error fit int8_t macro850 return (sign ? -err : err) >> DSCALE; in QuantizeSingle()853 return (sign ? -V : V) >> DSCALE; in QuantizeSingle()872 c[0][0] += (C1 * top[0] + C2 * left[0]) >> (DSHIFT - DSCALE); in CorrectDCValues()874 c[1][0] += (C1 * top[1] + C2 * err0) >> (DSHIFT - DSCALE); in CorrectDCValues()876 c[2][0] += (C1 * err0 + C2 * left[1]) >> (DSHIFT - DSCALE); in CorrectDCValues()878 c[3][0] += (C1 * err1 + C2 * err2) >> (DSHIFT - DSCALE); in CorrectDCValues()905 #undef DSCALE