Lines Matching refs:shift
70 uint16_t shift, result;73 shift = (sample & 0xf00) >> 8;75 if (shift < 0x2 || shift > 0xd) {77 } else if (shift < 0x8) {78 shift--;79 result = (sample - (256 * shift)) << shift;81 shift = 0xe - shift;82 result = ((sample + ((256 * shift) + 1)) << shift) - 1;