1. 04 Sep, 2019 1 commit
    • James Almer's avatar
      avcodec/decode: add a flags parameter to ff_reget_buffer() · 9ea6d214
      James Almer authored
      Some decoders may not need a writable buffer in some specific cases, but only
      a reference to the existing buffer with updated frame properties instead, for
      the purpose of returning duplicate frames. For this, the
      FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential
      allocations and buffer copies when they are not needed.
      Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
      9ea6d214
  2. 13 Aug, 2019 1 commit
  3. 25 Mar, 2019 1 commit
  4. 08 May, 2017 1 commit
  5. 02 May, 2017 1 commit
  6. 01 May, 2017 1 commit
  7. 07 Feb, 2017 1 commit
  8. 03 Dec, 2016 1 commit
  9. 19 Aug, 2016 1 commit
  10. 07 Jun, 2016 1 commit
  11. 16 Mar, 2016 1 commit
  12. 01 Mar, 2016 1 commit
  13. 20 Dec, 2015 1 commit
  14. 27 Jul, 2015 1 commit
  15. 22 Nov, 2014 1 commit
  16. 26 Jun, 2014 1 commit
  17. 16 Nov, 2013 1 commit
  18. 03 Oct, 2013 1 commit
  19. 31 Jul, 2013 1 commit
  20. 13 Mar, 2013 1 commit
    • 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
  21. 08 Mar, 2013 2 commits
  22. 06 Jan, 2013 3 commits
  23. 04 Dec, 2012 1 commit
  24. 12 Oct, 2012 1 commit
  25. 08 Oct, 2012 1 commit
  26. 07 Aug, 2012 1 commit
  27. 06 Apr, 2012 1 commit
  28. 01 Mar, 2012 2 commits
  29. 22 Dec, 2011 1 commit
  30. 05 Nov, 2011 1 commit
  31. 09 Sep, 2011 2 commits
  32. 29 Jul, 2011 1 commit
  33. 07 May, 2011 1 commit
    • Stefano Sabatini's avatar
      lavc: set defaults in internal codec frames · 01042d41
      Stefano Sabatini authored
      This is required specifically for setting frame->format to -1,
      otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading
      the format from the output decoded frame will get misled.
      
      In particular fix regressions occurring with the pending vsrc_buffer
      patch.
      01042d41
  34. 27 Apr, 2011 1 commit
  35. 19 Mar, 2011 1 commit