1. 28 Jan, 2012 2 commits
  2. 27 Jan, 2012 2 commits
  3. 24 Jan, 2012 1 commit
  4. 22 Jan, 2012 1 commit
  5. 14 Jan, 2012 1 commit
  6. 11 Jan, 2012 1 commit
  7. 09 Jan, 2012 1 commit
  8. 04 Jan, 2012 1 commit
  9. 22 Dec, 2011 1 commit
  10. 19 Dec, 2011 2 commits
  11. 18 Dec, 2011 1 commit
    • Ronald S. Bultje's avatar
      swscale: fix overflows in vertical scaling at top/bottom edges. · d49352c7
      Ronald S. Bultje authored
      This fixes integer multiplication overflows in RGB48 output
      (vertical) scaling as detected by IOC. What happens is that for
      certain types of filters (lanczos, spline, bicubic), the
      intermediate sum of coefficients in the middle of a filter can
      be larger than the fixed-point equivalent of 1.0, even if the
      final sum is 1.0. This is fine and we support that.
      
      However, at frame edges, initFilter() will merge the coefficients
      for the off-screen pixels into the top or bottom pixel, such as
      to emulate edge extension. This means that suddenly, a single
      coefficient can be larger than the fixed-point equivalent of
      1.0, which the vertical scaling routines do not support.
      
      Therefore, remove the merging of coefficients for edges for
      the vertical scaling filter, and instead add edge detection
      to the scaler itself so that it copies the pointers (not data)
      for the edges (i.e. it uses line[0] for line[-1] as well), so
      that a single coefficient is never larger than the fixed-point
      equivalent of 1.0.
      d49352c7
  12. 01 Dec, 2011 1 commit
  13. 28 Nov, 2011 1 commit
  14. 25 Nov, 2011 1 commit
    • Martin Storsjö's avatar
      swscale: Readd #define _SVID_SOURCE · f32dfad9
      Martin Storsjö authored
      This was removed erroneously in
      046f081b. This define still is
      necessary for getting MAP_ANONYMOUS defined on linux/glibc,
      despite the define reshuffling done in that commit.
      
      Without MAP_ANONYMOUS defined, the mprotect calls for setting the
      generated mmx2 scaler code pages executable are left out, causing
      crashes if that codepath is chosen.
      
      This patch fixes scaling from 192x144 to 320x240 with
      -sws_flags fast_bilinear, which crashes on linux at the
      moment.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      f32dfad9
  15. 24 Nov, 2011 1 commit
  16. 18 Nov, 2011 1 commit
    • Michael Niedermayer's avatar
      sws: Fix: · 58eca517
      Michael Niedermayer authored
      libswscale/utils.c:941:13: warning: passing argument 5 of ‘initMMX2HScaler’ from incompatible pointer type
      libswscale/utils.c:524:12: note: expected ‘int32_t *’ but argument is of type ‘int16_t *’
      libswscale/utils.c:942:13: warning: passing argument 5 of ‘initMMX2HScaler’ from incompatible pointer type
      libswscale/utils.c:524:12: note: expected ‘int32_t *’ but argument is of type ‘int16_t *’
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      58eca517
  17. 17 Nov, 2011 1 commit
  18. 11 Nov, 2011 1 commit
    • Sean McGovern's avatar
      swscale: add padding to conversion buffer. · 124e5645
      Sean McGovern authored
      Altivec does unaligned reads from this buffer in
      hscale_altivec_real(), and can thus read up to 16 bytes beyond
      the end of the buffer. Therefore, add an extra 16 bytes of
      padding at the end of the conversion buffer.
      
      This fixes fate-lavfi-pixfmts_scale on AltiVec-enabled builds
      under valgrind.
      Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
      124e5645
  19. 05 Nov, 2011 1 commit
  20. 21 Oct, 2011 2 commits
  21. 18 Oct, 2011 1 commit
  22. 12 Oct, 2011 1 commit
  23. 09 Oct, 2011 1 commit
  24. 03 Oct, 2011 1 commit
  25. 24 Sep, 2011 1 commit
  26. 15 Sep, 2011 1 commit
  27. 14 Aug, 2011 1 commit
  28. 12 Aug, 2011 1 commit
  29. 04 Aug, 2011 2 commits
  30. 03 Aug, 2011 1 commit
  31. 02 Aug, 2011 2 commits
  32. 28 Jul, 2011 1 commit
  33. 26 Jul, 2011 2 commits