1. 06 Mar, 2012 1 commit
  2. 23 Feb, 2012 1 commit
  3. 13 Feb, 2012 3 commits
  4. 07 Feb, 2012 2 commits
  5. 01 Feb, 2012 1 commit
  6. 30 Jan, 2012 1 commit
  7. 28 Jan, 2012 1 commit
  8. 11 Jan, 2012 2 commits
  9. 10 Jan, 2012 1 commit
  10. 09 Jan, 2012 1 commit
  11. 05 Jan, 2012 1 commit
  12. 04 Jan, 2012 2 commits
  13. 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
  14. 17 Dec, 2011 4 commits
  15. 11 Dec, 2011 1 commit
  16. 02 Dec, 2011 1 commit
    • Michael Niedermayer's avatar
      swscale: Fix all cast qualifier warnings: · b552e3f6
      Michael Niedermayer authored
      libswscale/swscale.c:2744:40: warning: to be safe all intermediate pointers in cast from ‘int16_t **’ to ‘const int16_t **’ must be ‘const’ qualified [-Wcast-qual]
      libswscale/swscale.c:2745:41: warning: to be safe all intermediate pointers in cast from ‘int16_t **’ to ‘const int16_t **’ must be ‘const’ qualified [-Wcast-qual]
      libswscale/swscale.c:2746:41: warning: to be safe all intermediate pointers in cast from ‘int16_t **’ to ‘const int16_t **’ must be ‘const’ qualified [-Wcast-qual]
      libswscale/swscale.c:2747:78: warning: to be safe all intermediate pointers in cast from ‘int16_t **’ to ‘const int16_t **’ must be ‘const’ qualified [-Wcast-qual]
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      b552e3f6
  17. 26 Nov, 2011 2 commits
  18. 24 Nov, 2011 1 commit
  19. 18 Nov, 2011 1 commit
  20. 31 Oct, 2011 2 commits
  21. 23 Oct, 2011 6 commits
  22. 22 Oct, 2011 4 commits