Home | History | Annotate | Download | only in audio

Lines Matching refs:nybble

82 					Uint8 nybble, Sint16 *coeff)
94 if ( nybble & 0x08 ) {
95 new_sample += state->iDelta * (nybble-0x10);
97 new_sample += state->iDelta * nybble;
105 delta = ((Sint32)state->iDelta * adaptive[nybble])/256;
120 Sint8 nybble, stereo;
191 nybble = (*encoded)>>4;
192 new_sample = MS_ADPCM_nibble(state[0],nybble,coeff[0]);
198 nybble = (*encoded)&0x0F;
199 new_sample = MS_ADPCM_nibble(state[1],nybble,coeff[1]);
245 static Sint32 IMA_ADPCM_nibble(struct IMA_ADPCM_decodestate *state,Uint8 nybble)
270 if ( nybble & 0x04 ) delta += step;
271 if ( nybble & 0x02 ) delta += (step >> 1);
272 if ( nybble & 0x01 ) delta += (step >> 2);
273 if ( nybble & 0x08 ) delta = -delta;
277 state->index += index_table[nybble];
300 Sint8 nybble;
305 nybble = (*encoded)&0x0F;
306 new_sample = IMA_ADPCM_nibble(state, nybble);
312 nybble = (*encoded)>>4;
313 new_sample = IMA_ADPCM_nibble(state, nybble);