1. 19 Oct, 2016 2 commits
    • Nathan E. Egge's avatar
      Change return type of tell and tell_frac to uint32_t. · b244f396
      Nathan E. Egge authored
      The bit accounting functions aom_reader_tell() and aom_reader_tell_frac()
       return the number of bits and 1/8th bits respectively.
      This patch changes the return type from ptrdiff_t which is signed to
       uint32_t which is unsigned.
      The size_t type is not used since we only care about the number of bits
       or 1/8 bits per entropy coder context and we don't expect to code more
       than 512 megabits per tile.
      
      Change-Id: I84a119d1f52829dcbdb66a92656eacca06e42b11
      b244f396
    • Michael Bebenita's avatar
      Bit accounting. · 6048d052
      Michael Bebenita authored
      This patch adds bit account infrastructure to the bit reader API.
      When configured with --enable-accounting, every bit reader API
      function records the number of bits necessary to decoding a symbol.
      Accounting symbol entries are collected in global accounting data
      structure, that can be used to understand exactly where bits are
      spent (http://aomanalyzer.org). The data structure is cleared and
      reused each frame to reduce memory usage. When configured without
      --enable-accounting, bit accounting does not incur any runtime
      overhead.
      
      All aom_read_xxx functions now have an additional string parameter
      that specifies the symbol name. By default, the ACCT_STR macro is
      used (which expands to __func__). For more precise accounting,
      these should be replaced with more descriptive names.
      
      Change-Id: Ia2e1343cb842c9391b12b77272587dfbe307a56d
      6048d052
  2. 18 Oct, 2016 2 commits
  3. 28 Sep, 2016 1 commit
    • Nathan E. Egge's avatar
      Refactor bitreader and bitwriter wrapper. · e691a24c
      Nathan E. Egge authored
      Move code for reading and writing literals and reading trees to use
      just the aom_read_bit() and aom_write_bit() function calls.
      
      Change-Id: Id2bced5f0125a5558030a813c51c3d79e5701873
      (cherry picked from aom/master commit bc1ac158)
      e691a24c
  4. 22 Sep, 2016 1 commit
  5. 17 Sep, 2016 1 commit
  6. 02 Sep, 2016 1 commit
  7. 01 Sep, 2016 3 commits
  8. 11 Aug, 2016 1 commit
    • Angie Chiang's avatar
      Bitstream debug tool · 4de81ee1
      Angie Chiang authored
      This is a debug tool used to detect bitstream error. On encoder side, it pushes
      each bit and probability into a queue before the bit is written into the
      Arithmetic coder. On decoder side, whenever a bit is read out from the
      Arithmetic coder, it pops up the reference bit and probability from the queue as
      well. If the two results do not match, this debug tool will report an error.
      This tool can be used to pin down the bitstream error precisely. By combining
      gdb's backtrace method, we can detect which module causes the bitstream error.
      
      Change-Id: I133a4371fafdd48c488f2ca47f9e395676c401f2
      4de81ee1
  9. 10 Aug, 2016 1 commit
  10. 19 Nov, 2015 1 commit
  11. 21 Jul, 2015 2 commits
    • Yaowu Xu's avatar
      vpx_dsp/prob.h: vp9_ -> vpx_ · 70ad6680
      Yaowu Xu authored
      change prefix vp9_ to vpx_ for non codec specific functions and data
      structures.
      
      Change-Id: I97c7e6422eceea99212b93f4942bc2187763a07c
      70ad6680
    • Yaowu Xu's avatar
      vpx_dsp/bitreader.h: vp9_->vpx_ · bf82514b
      Yaowu Xu authored
      Replace vp9_ in names to vpx_ as they are not codec specific.
      
      Change-Id: I2e583aa63dee769353ada4b42417aa15c4074ebb
      bf82514b
  12. 20 Jul, 2015 1 commit
  13. 17 Jul, 2015 1 commit
  14. 02 Jul, 2015 1 commit
  15. 25 Nov, 2014 1 commit
  16. 12 Aug, 2014 1 commit
  17. 23 Apr, 2014 1 commit
  18. 24 Jan, 2014 1 commit
  19. 20 Dec, 2013 1 commit
  20. 16 Dec, 2013 1 commit
  21. 26 Nov, 2013 1 commit
    • Dmitry Kovalev's avatar
      Deleting vp9_treereader.h file. · d7efe068
      Dmitry Kovalev authored
      Renaming treed_read() to consistent vp9_read_tree() and moving it from
      deleted vp9_treereader.h to vp9_dboolhuff.h file.
      
      Change-Id: Iedd8655acbe25e4fcf62b79e5a13bdea69b6b004
      d7efe068
  22. 05 Nov, 2013 1 commit
  23. 24 Aug, 2013 1 commit
  24. 16 Jul, 2013 1 commit
  25. 19 Apr, 2013 1 commit
  26. 17 Apr, 2013 1 commit
  27. 15 Apr, 2013 1 commit
  28. 27 Mar, 2013 1 commit
    • Dmitry Kovalev's avatar
      General code cleanup. · 180cd5fa
      Dmitry Kovalev authored
      Removing redundant code, lower case variable names, better indentation,
      better parameter names, adding const to readonly parameters.
      
      Change-Id: Ibfdee00f60316fdc5b3f024028c7aaa76a627483
      180cd5fa
  29. 05 Mar, 2013 1 commit
    • Dmitry Kovalev's avatar
      Code cleanup. · 7f99c3c5
      Dmitry Kovalev authored
      Removing redundant 'extern' keywords, fixing formatting and #include order,
      code simplification.
      
      Change-Id: I0e5fdc8009010f3f885f13b5d76859b9da511758
      7f99c3c5
  30. 22 Feb, 2013 1 commit
    • Dmitry Kovalev's avatar
      Code cleanup. · 548b4dd5
      Dmitry Kovalev authored
      Removing redundant 'extern' keywords and parentheses, fixing indentation,
      making variable names lower case, using short expressions x *= c
      instead of x = x * c, minor code simplifications.
      
      Change-Id: If6a25fcf306d1db26e90d27e3c24a32735c607de
      548b4dd5
  31. 21 Feb, 2013 1 commit
    • Dmitry Kovalev's avatar
      Code cleanup. · 5a18106f
      Dmitry Kovalev authored
      Removing redundant 'extern' keywords. Moving VP9DX_BOOL_DECODER from .h
      to .c file.
      
      Change-Id: I5a3056cb3d33db7ed3c3f4629675aa8e21014e66
      5a18106f
  32. 26 Dec, 2012 1 commit
  33. 18 Dec, 2012 1 commit
  34. 30 Nov, 2012 1 commit
  35. 28 Nov, 2012 1 commit
    • John Koleszar's avatar
      Clamp decoded feature data · a1f15814
      John Koleszar authored
      Not all segment feature data elements are full-range powers of two, so
      there are values that can be encoded that are invalid. Add a new function
      to clamp values to the maximum allowed.
      
      Change-Id: Ie47cb80ef2d54292e6b8db9f699c57214a915bc4
      a1f15814