1. 18 Nov, 2016 1 commit
  2. 22 Sep, 2016 1 commit
  3. 18 Aug, 2016 1 commit
  4. 04 May, 2016 1 commit
  5. 30 Dec, 2015 1 commit
    • Ganesh Ajjanagadde's avatar
      lavc/cook: get rid of wasteful pow in init_pow2table · 05434b0e
      Ganesh Ajjanagadde authored
      The table is highly structured, so pow (or exp2 for that matter) can entirely
      be avoided, yielding a ~ 40x speedup with no loss of accuracy.
      
      sample benchmark (Haswell, GNU/Linux):
      new:
      4449 decicycles in init_pow2table(loop 1000),     254 runs,      2 skips
      4411 decicycles in init_pow2table(loop 1000),     510 runs,      2 skips
      4391 decicycles in init_pow2table(loop 1000),    1022 runs,      2 skips
      
      old:
      183673 decicycles in init_pow2table(loop 1000),     256 runs,      0 skips
      182142 decicycles in init_pow2table(loop 1000),     512 runs,      0 skips
      182104 decicycles in init_pow2table(loop 1000),    1024 runs,      0 skips
      Reviewed-by: 's avatarClément Bœsch <u@pkh.me>
      Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
      05434b0e
  6. 15 Sep, 2015 1 commit
  7. 27 Jul, 2015 2 commits
  8. 29 Apr, 2015 1 commit
  9. 19 Apr, 2015 1 commit
  10. 21 Feb, 2015 1 commit
  11. 14 Feb, 2015 1 commit
  12. 24 Nov, 2014 1 commit
  13. 30 Oct, 2014 1 commit
  14. 15 Aug, 2014 1 commit
  15. 22 Jun, 2014 1 commit
  16. 22 Apr, 2014 1 commit
  17. 30 Oct, 2013 1 commit
  18. 29 Oct, 2013 1 commit
  19. 03 Oct, 2013 1 commit
  20. 15 Mar, 2013 1 commit
  21. 13 Mar, 2013 2 commits
    • Diego Biurrun's avatar
    • Clément Bœsch's avatar
      lavc: factorize ff_{thread_,re,}get_buffer error messages. · 1ec94b0f
      Clément Bœsch authored
      Coccinelle profile used:
      
        @@
        expression r, ctx, f, loglevel, str, flags;
        @@
      
        -if ((r = ff_get_buffer(ctx, f, flags)) < 0) {
        -    av_log(ctx, loglevel, str);
        -    return r;
        -}
        +if ((r = ff_get_buffer(ctx, f, flags)) < 0)
        +    return r;
      
        @@
        expression r, ctx, f, loglevel, str;
        @@
      
        -if ((r = ff_reget_buffer(ctx, f)) < 0) {
        -    av_log(ctx, loglevel, str);
        -    return r;
        -}
        +if ((r = ff_reget_buffer(ctx, f)) < 0)
        +    return r;
      
        @@
        expression r, ctx, f, loglevel, str, flags;
        @@
      
        -if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) {
        -    av_log(ctx, loglevel, str);
        -    return r;
        -}
        +if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0)
        +    return r;
      
      ...along with some manual patches for the remaining ones.
      1ec94b0f
  22. 08 Mar, 2013 1 commit
  23. 19 Feb, 2013 1 commit
  24. 12 Feb, 2013 1 commit
  25. 04 Dec, 2012 1 commit
  26. 21 Nov, 2012 1 commit
  27. 17 Nov, 2012 1 commit
  28. 11 Nov, 2012 1 commit
  29. 04 Nov, 2012 1 commit
  30. 01 Nov, 2012 7 commits
  31. 26 Oct, 2012 2 commits