Home | History | Annotate | Download | only in src

Lines Matching refs:dpcm

215      description:  Decode a huffman coded RVLC Escape-word. This value is part of a DPCM coded
220 return: - a single RVLC-Escape value which had to be applied to a DPCM value (which
334 description: Decodes a RVL-coded dpcm-word (-part).
339 return: - a dpcm value which is within range [0,1,..,14] in case of no errors.
340 The offset of 7 must be subtracted to get a valid dpcm scalefactor value.
380 /* check max value of dpcm value */
391 return value; /* return a dpcm value with offset +7 or an error status */
423 SHORT dpcm;
460 dpcm = decodeRVLCodeword(bs, pRvlc);
461 if ( dpcm < 0 ) {
465 dpcm -= TABLE_OFFSET;
466 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
472 if (dpcm == MIN_RVL) {
473 dpcm -= *pScfEsc++;
476 dpcm += *pScfEsc++;
484 position += dpcm;
498 dpcm = decodeRVLCodeword(bs, pRvlc);
499 if ( dpcm < 0 ) {
503 dpcm -= TABLE_OFFSET;
504 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
510 if (dpcm == MIN_RVL) {
511 dpcm -= *pScfEsc++;
514 dpcm += *pScfEsc++;
522 noisenrg += dpcm;
531 dpcm = decodeRVLCodeword(bs, pRvlc);
532 if ( dpcm < 0 ) {
536 dpcm -= TABLE_OFFSET;
537 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
543 if (dpcm == MIN_RVL) {
544 dpcm -= *pScfEsc++; }
546 dpcm += *pScfEsc++;
554 factor += dpcm;
564 dpcm = decodeRVLCodeword(bs, pRvlc); /* dpcm_is_last_position */
565 if ( dpcm < 0 ) {
569 dpcm -= TABLE_OFFSET;
570 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
576 if (dpcm == MIN_RVL) {
577 dpcm -= *pScfEsc++;
580 dpcm += *pScfEsc++;
588 pRvlc->dpcm_is_last_position = dpcm;
610 SHORT band, group, dpcm, offset;
634 dpcm = decodeRVLCodeword(bs, pRvlc); /* dpcm_is_last_position */
635 if ( dpcm < 0 ) {
640 dpcm -= TABLE_OFFSET;
641 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
647 if (dpcm == MIN_RVL) {
648 dpcm -= *pScfEsc--;
651 dpcm += *pScfEsc--;
659 pRvlc->dpcm_is_last_position = dpcm;
680 dpcm = decodeRVLCodeword(bs, pRvlc);
681 if ( dpcm < 0 ) {
686 dpcm -= TABLE_OFFSET;
687 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
694 if (dpcm == MIN_RVL) {
695 dpcm -= *pScfEsc--;
698 dpcm += *pScfEsc--;
707 position -= dpcm;
717 dpcm = decodeRVLCodeword(bs, pRvlc);
718 if ( dpcm < 0 ) {
723 dpcm -= TABLE_OFFSET;
724 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
731 if (dpcm == MIN_RVL) {
732 dpcm -= *pScfEsc--;
735 dpcm += *pScfEsc--;
744 noisenrg -= dpcm;
750 dpcm = decodeRVLCodeword(bs, pRvlc);
751 if ( dpcm < 0 ) {
756 dpcm -= TABLE_OFFSET;
757 if ((dpcm == MIN_RVL) || (dpcm == MAX_RVL)) {
764 if (dpcm == MIN_RVL) {
765 dpcm -= *pScfEsc--;
768 dpcm += *pScfEsc--;
777 factor -= dpcm;
961 /* A single bit error was detected in decoding of dpcm values. It also could be an error with more bits in decoding
962 of escapes and dpcm values whereby an illegal codeword followed not directly after the corrupted bits but just
976 /* A single bit error was detected in decoding of dpcm values. It also could be an error with more bits in decoding
977 of escapes and dpcm values whereby an illegal codeword followed not directly after the corrupted bits but just
990 /* No errors were detected in decoding of escapes and dpcm values however the first and last value
1003 /* A error with more bits in decoding of escapes and dpcm values was detected. Use the smaller scalefactor from forward