1. 22 Mar, 2016 1 commit
  2. 18 Mar, 2016 1 commit
    • Ganesh Ajjanagadde's avatar
      lavc/aacenc_utils: replace powf(x,y) by expf(logf(x), y) · bccc81df
      Ganesh Ajjanagadde authored
      This is ~2x faster for y not an integer on Haswell+GCC, and should
      generally be faster due to the fact that anyway powf essentially does
      this under the hood. Made an inline function in lavu/internal.h for this
      purpose.
      
      Note that there are some accuracy differences, that should generally be
      negligible. In particular, FATE still passes on this platform.
      
      Results in ~ 7% speedup in aac encoding with -march=native, Haswell+GCC.
      before:
      ffmpeg -i sin.flac -acodec aac -y sin_new.aac  6.05s user 0.06s system 104% cpu 5.821 total
      
      after:
      ffmpeg -i sin.flac -acodec aac -y sin_new.aac  5.67s user 0.03s system 105% cpu 5.416 total
      
      This is also faster than an alternative approach that pulls in powf, gets rid of
      the crufty NaN checks and other special cases, exploits knowledge about the intervals, etc.
      This of course does not exclude smarter approaches; just suggests that
      there would need to be significant work on this front of lower utility than
      searches for hotspots elsewhere.
      Reviewed-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
      Reviewed-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
      Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanag@gmail.com>
      bccc81df
  3. 12 Mar, 2016 1 commit
  4. 25 Dec, 2015 1 commit
  5. 14 Dec, 2015 1 commit
    • Janne Grunau's avatar
      libavutil: move FFALIGN macro from common.h to macros.h · 50078c1c
      Janne Grunau authored
      Include macros.h explicitly in common.h so that external code using
      FFALIGN does not break. It was already implicitly included through
      version.h. Include macros.h in lls.h and internal.h for FFALIGN.
      lls.h was including common.h only for FFALIGN and internal.h was
      missing the include for FFALIGN. `make checkheaders` did not catch it
      because it's an internal header.
      50078c1c
  6. 07 Dec, 2015 1 commit
  7. 15 Nov, 2015 1 commit
  8. 16 Oct, 2015 1 commit
  9. 05 Sep, 2015 1 commit
  10. 18 Aug, 2015 1 commit
  11. 11 Aug, 2015 1 commit
  12. 07 Jul, 2015 1 commit
  13. 08 Jun, 2015 1 commit
    • Luca Barbato's avatar
      configure: Support MSVC 2015 · a6f19d6a
      Luca Barbato authored
      The C runtime C99 compatibility had been improved a lot and it now
      rejects some of the compatibility defines provided for the older
      versions.
      
      Many thanks to Ray for the time spent testing.
      
      Bug-Id: 864
      CC: libav-stable@libav.org
      a6f19d6a
  14. 06 May, 2015 1 commit
  15. 06 Mar, 2015 1 commit
  16. 10 Feb, 2015 1 commit
  17. 05 Jan, 2015 1 commit
  18. 24 Nov, 2014 1 commit
  19. 15 Aug, 2014 1 commit
  20. 04 Aug, 2014 1 commit
  21. 25 Apr, 2014 1 commit
  22. 24 Apr, 2014 2 commits
  23. 22 Apr, 2014 1 commit
  24. 26 Jan, 2014 1 commit
  25. 25 Jan, 2014 1 commit
  26. 09 Dec, 2013 1 commit
  27. 21 Oct, 2013 1 commit
  28. 17 Oct, 2013 1 commit
    • Stefano Sabatini's avatar
      lavu/channel_layout: change av_get_channel_layout() behavior at the next bump · d96e377c
      Stefano Sabatini authored
      The new syntax is preferred since it allows backward syntax compatibility
      with libswr when switching to the new option handling code with
      AV_OPT_TYPE_CHANNEL_LAYOUT.
      
      With the new parser the string:
      1234
      
      is interpreted as a channel layout mask, rather than as a number of
      channels, and thus it's compatible with the current way to set a channel
      layout as an integer (e.g. for the icl and ocl options) making use of
      integer option values.
      
      ff_get_channel_layout() with compat=0 will be used in the
      AV_OPT_TYPE_CHANNEL handler code.
      
      The user is encouraged to switch to the new forward compatible syntax,
      which requires to put a trailing "c" when specifying a layout as a number
      of channels.
      d96e377c
  29. 20 Sep, 2013 1 commit
    • Alex Smith's avatar
      msvc/icl: Use __declspec(deprecated) · 09f2581d
      Alex Smith authored
      Prior to this on msvc/icl there was no handling of deprecated functions
      and the deprecated warning was disabled.
      
      After enabling there are a number of warnings relating to the CRT and
      the use of the non-secure versions of several functions.  Defining
      _CRT_SECURE_NO_WARNINGS silences these warnings.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      09f2581d
  30. 10 Aug, 2013 1 commit
  31. 09 Aug, 2013 2 commits
    • Martin Storsjö's avatar
      libavutil: Make avpriv_open a library-internal function on msvcrt · e743e7ae
      Martin Storsjö authored
      Add one copy of the function into each of the libraries, similarly
      to what we do for log2_tab. When using static libs, only one
      copy of the file_open.o object file gets included, while when
      using shared libraries, each of them get a copy of its own.
      
      This fixes DLL builds with a statically linked C runtime, where
      each DLL effectively has got its own instance of the C runtime,
      where file descriptors can't be shared across runtimes.
      
      On systems not using msvcrt, the function is not duplicated.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      e743e7ae
    • Martin Storsjö's avatar
      libavutil: Enable the MSVC DLL symbol loading workaround in shared builds as well · 33237123
      Martin Storsjö authored
      This used to only be necessary in static builds (when using the
      dynamically linked C runtime), since the _imp prefixed symbols do
      exist when linking to the actual DLL. When building testprogs,
      however, the current library (e.g. libavutil for some of the testprogs)
      is linked statically.
      
      This fixes make fate on DLL builds when using the dynamically
      linked C runtime.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      33237123
  32. 07 Aug, 2013 1 commit
  33. 02 Aug, 2013 1 commit
  34. 13 May, 2013 1 commit
  35. 07 May, 2013 1 commit
  36. 13 Mar, 2013 1 commit
  37. 14 Feb, 2013 2 commits