- 19 Nov, 2011 1 commit
-
-
John Stebbins authored
Although gcc guarantees 16 byte stack alignment, threads under WinXP don't appear to be guaranteed to start stack aligned. So fix the alignment. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 13 Nov, 2011 1 commit
-
-
Ronald S. Bultje authored
The issue had been introduced in c4356536Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 11 Nov, 2011 1 commit
-
-
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:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 06 Nov, 2011 1 commit
-
-
Ronald S. Bultje authored
-
- 05 Nov, 2011 1 commit
-
-
Ronald S. Bultje authored
The vertical scaler handles 2 rows at a time and thus requires alignment by 2, or else it'll read invalid memory and result in corrupt output.
-
- 23 Oct, 2011 1 commit
-
-
Ronald S. Bultje authored
This fixes assembling using "nasm".
-
- 22 Oct, 2011 7 commits
-
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
Also implement MMX/MMX2 versions and SSE4 versions.
-
Kieran Kunhya authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
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 3 commits
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
- 18 Oct, 2011 1 commit
-
-
Ronald Bultje authored
Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
- 12 Oct, 2011 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 11 Oct, 2011 1 commit
-
-
Ronald S. Bultje authored
The intermediate buffer is always aligned.
-
- 25 Sep, 2011 1 commit
-
-
Mans Rullgard authored
Use uintptr_t instead of plain int. Without this change, the comparisons will come out wrong for pointers in certain ranges. Fixes random failures on ppc64. Also fixes some compiler warnings. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 23 Sep, 2011 1 commit
-
-
Kieran Kunhya authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 15 Sep, 2011 1 commit
-
-
Ronald S. Bultje authored
SSE-optimized hScale() scales up to 4 pixels at once, so we need to allocate up to 3 padding pixels to prevent overreads. This fixes valgrind errors in various swscale-tests on fate.
-
- 13 Sep, 2011 1 commit
-
-
Ronald S. Bultje authored
Speed: from 3.9x to 9.6x speed improvement over C, and some small (up to 15%) speed improvements over existing MMX code (particularly for bigger filters).
-
- 03 Sep, 2011 1 commit
-
-
Anton Khirnov authored
-
- 18 Aug, 2011 1 commit
-
-
Ronald S. Bultje authored
This allows using more specific implementations for chroma/luma, e.g. we can make assumptions on filterSize being constant, thus avoiding that test at runtime.
-
- 12 Aug, 2011 2 commits
-
-
Luca Barbato authored
It just does that part in scalar form, I doubt using a vector store over 2 array would speed it up particularly. The function should be written to not use a scratch buffer.
-
Ronald S. Bultje authored
-
- 04 Aug, 2011 2 commits
-
-
Stefano Sabatini authored
The logged information is possibly false, and it tends to be outdated after each change since the logging code needs to be manually updated. Simplify and prevent confusing wrong debug messages. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Stefano Sabatini authored
Also remove the unnecessary isSupportedIn/Out macros. Make the code more compact/readable, and simplify the access to lsws-specific pixel format information. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 02 Aug, 2011 2 commits
-
-
Ronald S. Bultje authored
This reverts commit ac0fb593. It causes valgrind errors which I'll want to investigate before resubmitting this.
-
Ronald S. Bultje authored
-
- 30 Jul, 2011 1 commit
-
-
Kostya Shishkov authored
When converting RGB format to RGB format with the same bits per sample, unscaled path performs conversion on the whole buffer at once. For non-multiple-of-16 BGR24 to RGB24 conversion it means that padding at the end of line will be converted too. Since it may be of arbitrary length (e.g. 8 bytes), operating on the whole buffer produces obviously wrong results. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 21 Jul, 2011 1 commit
-
-
Joseph Artsimovich authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 14 Jul, 2011 3 commits
-
-
Ronald S. Bultje authored
Fixes a crash when forcing libc to strictly adhere to malloc sizes.
-
Ronald S. Bultje authored
Prevents overflows on very bright scenes when adding dither, which may lead to black dots.
-
Diego Biurrun authored
-
- 10 Jul, 2011 1 commit
-
-
Anton Mitrofanov authored
ptrdiff_t can be 4 bytes, which leads to the next element being 4-byte aligned and thus at a different offset than intended. Forcing 8-byte alignment forces equal offset of dither16/32 on x86-32 and x86-64. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 08 Jul, 2011 2 commits
-
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
Based on a somewhat similar idea in FFmpeg's swscale.
-