Lines Matching defs:shift
67 uint16_t shift, result;70 shift = (sample & 0xf00) >> 8;72 if (shift < 0x2 || shift > 0xd) {74 } else if (shift < 0x8) {75 shift--;76 result = (sample - (256 * shift)) << shift;78 shift = 0xe - shift;79 result = ((sample + ((256 * shift) + 1)) << shift) - 1;