Lines Matching defs:errordelta
530 errordelta, newsamp ;
552 errordelta = (pms->samples [k] - predict) / idelta [0] ;
553 if (errordelta < -8)
554 errordelta = -8 ;
555 else if (errordelta > 7)
556 errordelta = 7 ;
557 newsamp = predict + (idelta [0] * errordelta) ;
562 if (errordelta < 0)
563 errordelta += 0x10 ;
565 byte = (byte << 4) | (errordelta & 0xF) ;
571 idelta [0] = (idelta [0] * AdaptationTable [errordelta]) >> 8 ;
605 errordelta = (pms->samples [k] - predict) / idelta [chan] ;
608 if (errordelta < -8)
609 errordelta = -8 ;
610 else if (errordelta > 7)
611 errordelta = 7 ;
612 newsamp = predict + (idelta [chan] * errordelta) ;
617 if (errordelta < 0)
618 errordelta += 0x10 ;
620 byte = (byte << 4) | (errordelta & 0xF) ;
627 idelta [chan] = (idelta [chan] * AdaptationTable [errordelta]) >> 8 ;