1. 26 Jul, 2017 3 commits
    • Anton Khirnov's avatar
      h264dec: track the last seen value of x264_build · 45c4bf3d
      Anton Khirnov authored
      Do not use the one in the SEI directly as that is reset at certain
      points.
      
      Inspired by patches from Michael Niedermayer <michaelni@gmx.at> and
      Anton Mitrofanov <BugMaster@narod.ru>.
      
      CC: libav-stable@libav.org
      45c4bf3d
    • wm4's avatar
      imgutils: add function to clear an image to black · 45df7adc
      wm4 authored
      Black isn't always just memset(ptr, 0, size). Limited YUV in particular
      requires relatively non-obvious values, and filling a frame with
      repeating 0 bytes is disallowed in some contexts. With component sizes
      larger than 8 or packed YUV, this can become relatively complicated. So
      having a generic function for this seems helpful.
      
      In order to handle the complex cases in a generic way without destroying
      performance, this code attempts to compute a black pixel, and then uses
      that value to clear the image data quickly by using a function like
      memset.
      
      Common cases like yuv410p10 or rgba can't be handled with a simple
      memset, so there is some code to fill memory with 2/4/8 byte patterns.
      For the remaining cases, a generic slow fallback is used.
      Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
      45df7adc
    • wm4's avatar
      47399ccd
  2. 25 Jul, 2017 3 commits
  3. 22 Jul, 2017 3 commits
  4. 21 Jul, 2017 1 commit
  5. 17 Jul, 2017 1 commit
  6. 10 Jul, 2017 1 commit
    • Diego Biurrun's avatar
      build: Add feature test macros for glibc 2.19+ · 825e463a
      Diego Biurrun authored
      glibc introduced _DEFAULT_SOURCE in version 2.19 to replace _BSD_SOURCE and
      _SVID_SOURCE, which were deprecated in version 2.20. Add _DEFAULT_SOURCE
      where the latter two are used to be forwards-compatible and avoid warnings
      about the use of deprecated definitions.
      825e463a
  7. 09 Jul, 2017 4 commits
  8. 05 Jul, 2017 11 commits
  9. 02 Jul, 2017 1 commit
  10. 28 Jun, 2017 3 commits
  11. 26 Jun, 2017 8 commits
  12. 24 Jun, 2017 1 commit