Skip to content
Snippets Groups Projects
  1. Mar 29, 2011
  2. Mar 03, 2011
    • Timothy B. Terriberry's avatar
      Eliminate the ec_int32 and ec_uint32 typedefs. · 9bac8c17
      Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      These were used because the entropy coder originally came from
       outside libcelt, and thus did not have a common type system.
      It's now undergone enough modification that it's not ever likely to
       be used as-is in another codec without some porting effort, so
       there's no real reason to maintain the typedefs separately.
      Hopefully we'll replace these all again somedate with a common set
       of Opus typedefs, but for now this will do.
      
      This fixes an issue caused by commit 6c8acbf1, which moved the
       ec_ilog() prototype from entcode.h to ecintrin.h, where the
       ec_uint32 typedef was not yet available.
      Thanks to John Ridges for the report.
      9bac8c17
  3. Mar 01, 2011
    • Timothy B. Terriberry's avatar
      EC_ILOG cleanups. · 6c8acbf1
      Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      Mark _BitScanReverse as an intrinsic, as this is not done by default
       in _DEBUG mode (thanks to Bjoern D. Rasmussen for the suggestion).
      Move the declaration of ec_ilog() to where the macro using it is
       defined, to ensure it is available when the macro is used.
      Thanks to John Ridges for the report.
      6c8acbf1
  4. Feb 10, 2011
  5. Dec 23, 2010
  6. Jun 28, 2010
  7. Oct 18, 2009
  8. Feb 04, 2009
  9. Mar 26, 2008
  10. Mar 11, 2008
  11. Mar 03, 2008
  12. Jan 28, 2008
  13. Jan 11, 2008
    • tterribe's avatar
      Add oc_enc_tell to report an estimate of the number of bits used so far. · 06390d08
      tterribe authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      Remove the special case for 0 in EC_ILOG, as we never pass it 0 and this
       generates slightly better code.
      
      Update ec_enc_bits64 to split the encoded values along word boundaries...
       this should generate slightly better code, as well as fix a subtle bug (the
       proper bits were not being masked out of the low part).
      However, this will render previous streams that used this function undecodable
       (to my knowledge, no one is actually using it yet).
      
      git-svn-id: http://svn.xiph.org/trunk/ghost@14391 0101bb08-14d6-0310-b084-bc0e0c8e3800
      06390d08
  14. Dec 11, 2007
  15. Dec 06, 2007
Loading