Lines Matching refs:dpcm
443 SHORT dpcm; in rvlcDecodeForward() local
481 dpcm = decodeRVLCodeword(bs, pRvlc); in rvlcDecodeForward()
482 if (dpcm < 0) { in rvlcDecodeForward()
486 dpcm -= TABLE_OFFSET; in rvlcDecodeForward()
487 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeForward()
492 if (dpcm == MIN_RVL) { in rvlcDecodeForward()
493 dpcm -= *pScfEsc++; in rvlcDecodeForward()
495 dpcm += *pScfEsc++; in rvlcDecodeForward()
503 position += dpcm; in rvlcDecodeForward()
516 dpcm = decodeRVLCodeword(bs, pRvlc); in rvlcDecodeForward()
517 if (dpcm < 0) { in rvlcDecodeForward()
521 dpcm -= TABLE_OFFSET; in rvlcDecodeForward()
522 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeForward()
527 if (dpcm == MIN_RVL) { in rvlcDecodeForward()
528 dpcm -= *pScfEsc++; in rvlcDecodeForward()
530 dpcm += *pScfEsc++; in rvlcDecodeForward()
538 noisenrg += dpcm; in rvlcDecodeForward()
547 dpcm = decodeRVLCodeword(bs, pRvlc); in rvlcDecodeForward()
548 if (dpcm < 0) { in rvlcDecodeForward()
552 dpcm -= TABLE_OFFSET; in rvlcDecodeForward()
553 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeForward()
558 if (dpcm == MIN_RVL) { in rvlcDecodeForward()
559 dpcm -= *pScfEsc++; in rvlcDecodeForward()
561 dpcm += *pScfEsc++; in rvlcDecodeForward()
569 factor += dpcm; in rvlcDecodeForward()
579 dpcm = decodeRVLCodeword(bs, pRvlc); /* dpcm_is_last_position */ in rvlcDecodeForward()
580 if (dpcm < 0) { in rvlcDecodeForward()
584 dpcm -= TABLE_OFFSET; in rvlcDecodeForward()
585 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeForward()
590 if (dpcm == MIN_RVL) { in rvlcDecodeForward()
591 dpcm -= *pScfEsc++; in rvlcDecodeForward()
593 dpcm += *pScfEsc++; in rvlcDecodeForward()
601 pRvlc->dpcm_is_last_position = dpcm; in rvlcDecodeForward()
621 SHORT band, group, dpcm, offset; in rvlcDecodeBackward() local
646 dpcm = decodeRVLCodeword(bs, pRvlc); /* dpcm_is_last_position */ in rvlcDecodeBackward()
647 if (dpcm < 0) { in rvlcDecodeBackward()
652 dpcm -= TABLE_OFFSET; in rvlcDecodeBackward()
653 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeBackward()
658 if (dpcm == MIN_RVL) { in rvlcDecodeBackward()
659 dpcm -= *pScfEsc--; in rvlcDecodeBackward()
661 dpcm += *pScfEsc--; in rvlcDecodeBackward()
669 pRvlc->dpcm_is_last_position = dpcm; in rvlcDecodeBackward()
689 dpcm = decodeRVLCodeword(bs, pRvlc); in rvlcDecodeBackward()
690 if (dpcm < 0) { in rvlcDecodeBackward()
695 dpcm -= TABLE_OFFSET; in rvlcDecodeBackward()
696 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeBackward()
702 if (dpcm == MIN_RVL) { in rvlcDecodeBackward()
703 dpcm -= *pScfEsc--; in rvlcDecodeBackward()
705 dpcm += *pScfEsc--; in rvlcDecodeBackward()
714 position -= dpcm; in rvlcDecodeBackward()
726 dpcm = decodeRVLCodeword(bs, pRvlc); in rvlcDecodeBackward()
727 if (dpcm < 0) { in rvlcDecodeBackward()
732 dpcm -= TABLE_OFFSET; in rvlcDecodeBackward()
733 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeBackward()
739 if (dpcm == MIN_RVL) { in rvlcDecodeBackward()
740 dpcm -= *pScfEsc--; in rvlcDecodeBackward()
742 dpcm += *pScfEsc--; in rvlcDecodeBackward()
751 noisenrg -= dpcm; in rvlcDecodeBackward()
757 dpcm = decodeRVLCodeword(bs, pRvlc); in rvlcDecodeBackward()
758 if (dpcm < 0) { in rvlcDecodeBackward()
763 dpcm -= TABLE_OFFSET; in rvlcDecodeBackward()
764 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) { in rvlcDecodeBackward()
770 if (dpcm == MIN_RVL) { in rvlcDecodeBackward()
771 dpcm -= *pScfEsc--; in rvlcDecodeBackward()
773 dpcm += *pScfEsc--; in rvlcDecodeBackward()
782 factor -= dpcm; in rvlcDecodeBackward()