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. 29 May, 2017 1 commit
  3. 09 Feb, 2017 1 commit
  4. 07 Feb, 2017 1 commit
  5. 26 Sep, 2016 1 commit
  6. 04 May, 2016 1 commit
  7. 27 Jul, 2015 1 commit
  8. 14 Feb, 2015 1 commit
  9. 13 Nov, 2014 1 commit
  10. 17 Feb, 2014 1 commit
  11. 03 Nov, 2013 2 commits
  12. 31 Oct, 2013 1 commit
  13. 03 Oct, 2013 1 commit
  14. 02 May, 2013 2 commits
  15. 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
  16. 08 Mar, 2013 1 commit
  17. 06 Jan, 2013 1 commit
  18. 24 Dec, 2012 1 commit
  19. 23 Dec, 2012 1 commit
  20. 04 Dec, 2012 2 commits
  21. 14 Oct, 2012 1 commit
  22. 08 Oct, 2012 1 commit
  23. 01 Oct, 2012 1 commit
  24. 01 Sep, 2012 4 commits
  25. 15 Aug, 2012 1 commit
  26. 07 Aug, 2012 1 commit
  27. 11 Feb, 2012 1 commit
  28. 03 Jul, 2011 1 commit
  29. 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
  30. 02 May, 2011 2 commits
  31. 19 Mar, 2011 1 commit
  32. 28 Jan, 2011 1 commit