Lines Matching defs:shift
36 #include "shift.h"
154 uint32_t shift ;
200 // read the 1-bit "partial frame" flag, 2-bit "shift-off" flag & 1-bit "escape" flag
208 shift = bytesShifted * 8 ;
241 // if shift active, skip the shift buffer but remember where it starts
269 shift = 32 - chanBits ;
275 val = (val << shift) >> shift ;
286 val = arith_shift_left (val, 16) >> shift ;
296 // now read the shifted values into the shift buffer
299 shift = bytesShifted * 8 ;
300 //Assert (shift <= 16) ;
303 p->u.mShiftBuffer [i] = (uint16_t) BitBufferRead (&shiftBits, (uint8_t) shift) ;
353 // read the 1-bit "partial frame" flag, 2-bit "shift-off" flag & 1-bit "escape" flag
361 shift = bytesShifted * 8 ;
402 // if shift active, skip the interleaved shifted values but remember where they start
447 shift = 32 - chanBits ;
453 val = (val << shift) >> shift ;
457 val = (val << shift) >> shift ;
468 val = (((uint32_t) val) << 16) >> shift ;
472 val = ((uint32_t) val) >> shift ;
483 // now read the shifted values into the shift buffer
486 shift = bytesShifted * 8 ;
487 //Assert (shift <= 16) ;
491 p->u.mShiftBuffer [i + 0] = (uint16_t) BitBufferRead (&shiftBits, (uint8_t) shift) ;
492 p->u.mShiftBuffer [i + 1] = (uint16_t) BitBufferRead (&shiftBits, (uint8_t) shift) ;