Home | History | Annotate | Download | only in dsp

Lines Matching refs:mult

26 static uint32_t Mult(uint8_t x, uint32_t mult) {
27 const uint32_t v = (x * mult + HALF) >> MFIX;
148 out |= Mult(argb >> 0, scale) << 0;
149 out |= Mult(argb >> 8, scale) << 8;
150 out |= Mult(argb >> 16, scale) << 16;
167 ptr[x] = Mult(ptr[x], scale);
229 const uint32_t mult = MULTIPLIER(a);
230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult);
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult);
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult);
266 const uint32_t mult = MULTIPLIER(a);
267 const uint8_t r = multiply(dither_hi(rg), mult);
268 const uint8_t g = multiply(dither_lo(rg), mult);
269 const uint8_t b = multiply(dither_hi(ba), mult);