Skip to content
Snippets Groups Projects
QuantRDOQ.cpp 73.1 KiB
Newer Older
  • Learn to ignore specific revisions
  •       }
          else
          {
            length = ricePar;
            symbol = symbol - ( threshold << ricePar );
            while( symbol >= ( 1 << length ) )
            {
              symbol -= ( 1 << ( length++ ) );
            }
            rate += ( threshold + length + 1 - ricePar + length ) << SCALE_BITS;
          }
        }
      }
      else if( absLevel == 1 )
      {
        rate += fracBitsGt1.intBits[0];
    
    #if JVET_P0072_SIMPLIFIED_TSRC
        numCtxBins++;
    #endif