1. 02 Jan, 2020 1 commit
  2. 01 Jan, 2020 1 commit
  3. 29 Dec, 2019 1 commit
  4. 28 Dec, 2019 1 commit
  5. 24 Dec, 2019 1 commit
  6. 05 Dec, 2019 1 commit
  7. 23 Nov, 2019 1 commit
  8. 21 Nov, 2019 1 commit
    • Ronald S. Bultje's avatar
      Fix stride type · 35d3d2b6
      Ronald S. Bultje authored
      Prevents the following compiler warning:
      
      ../src/decode.c:1979:32: warning: implicit conversion loses integer precision: 'const ptrdiff_t' (aka 'const long') to 'int' [-Wshorten-64-to-32]
                  const int stride = f->cur.stride[!!p];
                            ~~~~~~   ^~~~~~~~~~~~~~~~~~
      1 warning generated.
      35d3d2b6
  9. 16 Nov, 2019 1 commit
  10. 10 Oct, 2019 1 commit
  11. 03 Oct, 2019 1 commit
  12. 10 Sep, 2019 1 commit
  13. 04 Sep, 2019 1 commit
  14. 28 Aug, 2019 1 commit
  15. 13 Aug, 2019 1 commit
    • Henrik Gramner's avatar
      Add msac optimizations · e29fd5c0
      Henrik Gramner authored
       * Eliminate the trailing zero after the CDF probabilities. We can
         reuse the count value as a terminator instead. This reduces the
         size of the CDF context by around 8%.
      
       * Align the CDF arrays.
      
       * Various other minor optimizations.
      e29fd5c0
  16. 09 Aug, 2019 1 commit
  17. 17 Jul, 2019 1 commit
  18. 07 Jul, 2019 1 commit
  19. 05 Jul, 2019 3 commits
    • Henrik Gramner's avatar
      Improve robustness of handling malloc failures · e2e56ab9
      Henrik Gramner authored
      Calling dav1d_get_picture() again after it has already returned with
      an error due to a memory allocation failure could result in crashes.
      
      Although doing so is not a proper API usage, and the outcome is going
      to be unpredictable, we should at least try to avoid crashing.
      e2e56ab9
    • Henrik Gramner's avatar
      Correctly return an error on malloc failure · c1a28d0e
      Henrik Gramner authored
      dav1d_submit_frame() could erroneously return 0 when tile data memory
      allocation failed.
      
      Fixes an assertion failure in dav1d_parse_obus().
      c1a28d0e
    • Henrik Gramner's avatar
      Fix potential memory leak · 0435ec9c
      Henrik Gramner authored
      In the (very unlikely) scenario of a pthread mutex/cond init failure
      in the tile state reallocation code some newly allocated mutexes/conds
      could leak.
      0435ec9c
  20. 02 Jul, 2019 2 commits
  21. 08 May, 2019 1 commit
  22. 07 May, 2019 1 commit
  23. 17 Apr, 2019 1 commit
    • Ronald S. Bultje's avatar
      Over-allocate level array by 3-bytes · 36e1490b
      Ronald S. Bultje authored
      This is a workaround so that the AVX2 implementation of deblock can
      index the levels array starting from the level type, which causes it
      to over-read by up to 3 bytes. This is intended to fix #269.
      36e1490b
  24. 15 Apr, 2019 1 commit
  25. 16 Mar, 2019 2 commits
  26. 20 Feb, 2019 1 commit
  27. 17 Feb, 2019 1 commit
  28. 15 Feb, 2019 1 commit
  29. 12 Feb, 2019 1 commit
  30. 09 Feb, 2019 1 commit
  31. 08 Feb, 2019 1 commit
    • James Almer's avatar
      Simplify dav1d_thread_picture_alloc() · 515f5af5
      James Almer authored
      It's called from a single function in the entire codebase, so no point
      passing so many individual arguments to it when almost all of them are
      derived from a single struct.
      515f5af5
  32. 07 Feb, 2019 1 commit
  33. 28 Jan, 2019 1 commit
  34. 25 Jan, 2019 2 commits
    • Nathan Egge's avatar
      Internalize the EC_PROB_SHIFT precision reduction · f0b7d999
      Nathan Egge authored
      All of the msac decode functions use 15-bit CDFs with the exception of
      msac_decode_bool_prob() which takes a (15 - EC_PROB_SHIFT)-bit
      probability.
      This patch internalizes the reduction in precision from the EC_SMALL_MUL
      experiment (hiding the define) and gives msac calls a consistent API.
      f0b7d999
    • Nathan Egge's avatar
      Add msac_decode_bool_equi() function · 45d4fde6
      Nathan Egge authored
      When decoding an equi-probable bit (e.g. prob = 1/2) we can simplify the
      decode function.
      45d4fde6
  35. 15 Jan, 2019 1 commit