- 14 Jan, 2015 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 07 Apr, 2014 1 commit
-
-
Vittorio Giovara authored
-
- 15 Aug, 2013 1 commit
-
-
Diego Biurrun authored
Also add missing ff_ prefixes where necessary.
-
- 09 Feb, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 27 Jan, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 12 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 22 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 14 Apr, 2012 2 commits
-
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
If coefficient A is 12-bits xixed-point number "X", then the other coefficient is (1 << 12) - X, not (1 << 12) - X - 1.
-
- 13 Apr, 2012 1 commit
-
-
Ronald S. Bultje authored
Fixes bug 270.
-
- 04 Apr, 2012 1 commit
-
-
Ronald S. Bultje authored
Fixes bug 269.
-
- 07 Mar, 2012 1 commit
-
-
Ronald S. Bultje authored
Fixes bug 240, as well as several integer overflows (visible as glitches) in other scaling output routines, e.g. YUV422.
-
- 17 Feb, 2012 1 commit
-
-
Ronald S. Bultje authored
Disadvantage is that it no longer allows modifying brightness through adjustment of the RGB lookup table. Advantage is that now monowhite/black no longer need to be identified as a RGB format.
-
- 13 Feb, 2012 5 commits
-
-
Diego Biurrun authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
This allows removing any gray16-specific code, which is essentially identical to the per-plane code in yuv2plane*().
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
- 07 Feb, 2012 2 commits
-
-
Ronald S. Bultje authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Ronald S. Bultje authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 01 Feb, 2012 1 commit
-
-
Ronald S. Bultje authored
-
- 30 Jan, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 09 Jan, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 05 Jan, 2012 1 commit
-
-
Ronald S. Bultje authored
Also document the function somewhat.
-
- 04 Jan, 2012 2 commits
-
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
Non-RGB output always uses full chroma interpolation.
-
- 18 Dec, 2011 1 commit
-
-
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.
-
- 17 Dec, 2011 4 commits
-
-
Ronald S. Bultje authored
This fixes the same overflow as in the RGB48/16-bit YUV scaling; some filters can overflow both negatively and positively (e.g. spline/lanczos), so we bias a signed integer so it's "half signed" and "half unsigned", and can cover overflows in both directions while maintaining full 31-bit depth. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
We're shifting individual components (8-bit, unsigned) left by 24, so making them unsigned should give the same results without the overflow. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
For certain types of filters where the intermediate sum of coefficients can go above the fixed-point equivalent of 1.0 in the middle of a filter, the sum of a 31-bit calculation can overflow in both directions and can thus not be represented in a 32-bit signed or unsigned integer. To work around this, we subtract 0x40000000 from a signed integer base, so that we're halfway signed/unsigned, which makes it fit even if it overflows. After the filter finishes, we add the scaled bias back after a shift. We use the same trick for 16-bit bpc YUV output routines. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Ronald S. Bultje authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 11 Dec, 2011 1 commit
-
-
Mans Rullgard authored
These semicolons cause invalid empty top-level declarations. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 26 Nov, 2011 1 commit
-
-
Mans Rullgard authored
As old bits are shifted out of the accumulator, they cause signed overflows when they reach the end. Making the variable unsigned fixes this. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 24 Nov, 2011 1 commit
-
-
Ronald S. Bultje authored
-
- 22 Oct, 2011 4 commits
-
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Kieran Kunhya authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Kieran Kunhya authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 21 Oct, 2011 1 commit
-
-
Ronald S. Bultje authored
-