1. 27 Dec, 2016 2 commits
  2. 03 Nov, 2016 1 commit
    • Nicolas George's avatar
      lavd/xcbgrab: do not try to create refcounted packets. · 0bd1be65
      Nicolas George authored
      The framework will allocate a buffer and copy the data to it,
      that takes time. But it avoids constently creating and
      destroyng the shared memory segment, and that saves more time.
      
      On my setup,
      from ~200 to ~300 FPS at full screen (1920×1200),
      from ~1400 to ~3300 at smaller size (640×480),
      similar to legacy x11grab and confirmed by others.
      
      Plus, shared memory segments are a scarce resource,
      allocating potentially many is a bad idea.
      
      Note: if the application were to drop all references to the
      buffer before the next call to av_read_frame(), then passing
      the shared memory segment as a refcounted buffer would be
      even more efficient, but it is hard to guarantee, and it does
      not happen with the ffmpeg command-line tool. Using a small
      number of preallocated buffers and resorting to a copy when
      the pool is exhausted would be a solution to get the better
      of both worlds.
      0bd1be65
  3. 26 Oct, 2016 2 commits
  4. 21 Oct, 2016 2 commits
  5. 03 Oct, 2016 1 commit
  6. 25 Sep, 2016 2 commits
  7. 24 Sep, 2016 5 commits
  8. 20 Aug, 2016 1 commit
  9. 05 Aug, 2016 2 commits
  10. 03 Aug, 2016 2 commits
  11. 02 Aug, 2016 1 commit
  12. 26 Jul, 2016 1 commit
  13. 25 Jul, 2016 1 commit
  14. 17 Jul, 2016 1 commit
  15. 13 Jul, 2016 1 commit
  16. 28 Jun, 2016 1 commit
  17. 27 Jun, 2016 1 commit
  18. 26 Jun, 2016 8 commits
  19. 23 Jun, 2016 2 commits
  20. 16 Jun, 2016 1 commit
  21. 14 Jun, 2016 1 commit
  22. 09 Jun, 2016 1 commit