1. 10 Apr, 2020 1 commit
    • Anton Khirnov's avatar
      pthread_frame: merge the functionality for normal decoder init and init_thread_copy · 1f4cf92c
      Anton Khirnov authored
      The current design, where
      - proper init is called for the first per-thread context
      - first thread's private data is copied into private data for all the
        other threads
      - a "fixup" function is called for all the other threads to e.g.
        allocate dynamically allocated data
      is very fragile and hard to follow, so it is abandoned. Instead, the
      same init function is used to init each per-thread context. Where
      necessary, AVCodecInternal.is_copy can be used to differentiate between
      the first thread and the other ones (e.g. for decoding the extradata
      just once).
      1f4cf92c
  2. 23 Aug, 2019 1 commit
  3. 11 Apr, 2017 2 commits
  4. 09 Feb, 2017 1 commit
  5. 07 Feb, 2017 1 commit
  6. 18 Feb, 2016 2 commits
  7. 11 Aug, 2015 1 commit
  8. 27 Jul, 2015 1 commit
  9. 17 Nov, 2014 1 commit
  10. 17 Aug, 2014 1 commit
  11. 15 Aug, 2014 1 commit
  12. 14 Aug, 2014 1 commit
  13. 03 Aug, 2014 1 commit
  14. 03 Oct, 2013 1 commit
  15. 13 May, 2013 1 commit
  16. 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
  17. 08 Mar, 2013 1 commit
  18. 24 Jan, 2013 1 commit
  19. 14 Jan, 2013 1 commit
  20. 26 Dec, 2012 1 commit
  21. 04 Dec, 2012 2 commits
  22. 04 Nov, 2012 1 commit
  23. 25 Oct, 2012 1 commit
  24. 23 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 1 commit
  29. 24 Feb, 2012 1 commit
  30. 23 Feb, 2012 1 commit
    • Ronald S. Bultje's avatar
      lcl: don't overwrite input memory. · 01cb62ab
      Ronald S. Bultje authored
      If the PNG filter is enabled, a PNG-style filter will run over the
      input buffer, writing into the buffer. Therefore, if no zlib compression
      was used, ensure that we copy into a temporary buffer, otherwise we
      overwrite user-provided input data.
      01cb62ab
  31. 31 Dec, 2011 1 commit
  32. 29 Jul, 2011 1 commit
  33. 23 Jun, 2011 1 commit
  34. 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
  35. 19 Mar, 2011 1 commit
  36. 28 Jan, 2011 1 commit
  37. 26 Jan, 2011 1 commit