Skip to content
Snippets Groups Projects
  1. Feb 04, 2011
    • Timothy B. Terriberry's avatar
      Refactor the entropy coder. · a093f4df
      Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      This unifies the byte buffer, encoder, and decoder into a single
       struct.
      The common encoder and decoder functions (such as ec_tell()) can
       operate on either one, simplifying code which uses both.
      The precision argument to ec_tell() has been removed.
      It now comes in two precisions:
        ec_tell() gives 1 bit precision in two operations, and
        ec_tell_frac() gives 1/8th bit precision in... somewhat more.
      ec_{enc|dec}_bit_prob() were removed (they are no longer needed).
      Some of the byte buffer access functions were made static and
       removed from the cross-module API.
      All of the code in rangeenc.c and rangedec.c was merged into
       entenc.c and entdec.c, respectively, as we are no longer
       considering alternative backends.
      rangeenc.c and rangede.c have been removed entirely.
      
      This passes make check, after disabling the modes that we removed
       support for in cf5d3a8c.
      a093f4df
  2. Jul 28, 2010
  3. Oct 24, 2009
  4. Oct 17, 2009
  5. Jun 05, 2009
  6. May 26, 2009
    • Timothy B. Terriberry's avatar
      CWRS clean-ups and optimizations. · d98d8ae0
      Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      Adds specialized O(N*log(K)) versions of cwrsi() and O(N) versions of icwrs()
       for N={3,4,5}, which allows them to operate all the way up to the theoretical
       pulse limit without serious performance degredation.
      Also substantially reduces the computation time and stack usage of
       get_required_bits().
      On x86-64, this gives a 2% speed-up for 256 sample frames, and almost a 16%
       speed-up for 64 sample frames.
      d98d8ae0
  7. Dec 23, 2008
  8. Sep 22, 2008
  9. Sep 19, 2008
  10. Apr 20, 2008
  11. Apr 18, 2008
  12. Apr 16, 2008
  13. Apr 10, 2008
  14. Apr 05, 2008
    • Timothy B. Terriberry's avatar
      Rework CWRS code. · d883670b
      Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      This eliminates an extra O(nm) lookups on decode, and reduces the rate control
       from O(nm^2) to O(nm), in addition to eliminating O(m) lookups on both encode
       and decode.
      Although the interface is slightly more complex, the internal code is also
       simpler.
      d883670b
  15. Mar 13, 2008
  16. Mar 02, 2008
  17. Feb 20, 2008
  18. Feb 14, 2008
  19. Jan 31, 2008
  20. Jan 28, 2008
Loading