Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-31x86: Split inline and external assembly #ifdefsDiego Biurrun
2012-08-30x86: cosmetics: Comment some #endifs for better readabilityDiego Biurrun
2012-08-29yuv2rgb: handle line widths that are not a multiple of 4.Ronald S. Bultje
This introduces support for width%4==2 in addition to width%4==0. For odd widths, some more checks are needed, since the current code always handles two luma items in a row, thus there is a possibility of an overread by one.
2012-08-29testprogs: Remove unused includesMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-19swscale: x86: fix #endif comments in rgb2rgb template fileGiorgio Vazzana
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-08-15Don't include common.h from avutil.hMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-13x86: swscale: fix fragile memory accessesMans Rullgard
To access data at multiple fixed offsets from a base address, this code uses a single "m" operand and code of the form "32%0", relying on the memory operand instantiation having no displacement, giving a final result of the form "32(%rax)". If the compiler uses a register and displacement, e.g. "64(%rax)", the end result becomes "3264(%rax)", which obviously does not work. Replacing the "m" operands with "r" operands allows safe addition of a displacement. In theory, multiple memory operands could use a shared base register with different index registers, "(%rax,%rbx)", potentially making more efficient use of registers. In the cases at hand, no such sharing is possible since the addresses involved are entirely unrelated. After this change, the code somewhat rudely accesses memory without using a corresponding memory operand, which in some cases can lead to unwanted "optimisations" of surrounding code. However, the original code also accesses memory not covered by a memory operand, so this is not adding any defect not already present. It is also hightly unlikely that any such optimisations could be performed here since the memory locations in questions are not accessed elsewhere in the same functions. This fixes crashes with suncc. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-13x86: swscale: remove disabled codeMans Rullgard
This code has been disabled since 2003. Nobody will ever look at it again. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-09x86: rename libavutil/x86_cpu.h to libavutil/x86/asm.hMans Rullgard
This puts x86-specific things in the x86/ subdirectory where they belong. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-04x86: build: replace mmx2 by mmxextDiego Biurrun
Refactoring mmx2/mmxext YASM code with cpuflags will force renames. So switching to a consistent naming scheme beforehand is sensible. The name "mmxext" is more official and widespread and also the name of the CPU flag, as reported e.g. by the Linux kernel.
2012-07-30swscale: bury one more piece of inline asm under HAVE_INLINE_ASM.Ronald S. Bultje
2012-07-23swscale: add missing HAVE_INLINE_ASM check.Ronald S. Bultje
The function called in this block is under HAVE_INLINE_ASM itself also.
2012-07-23swscale: Mark all init functions as av_coldDiego Biurrun
2012-07-23swscale: x86: Drop pointless _mmx suffix from filenamesDiego Biurrun
The files do not contain only MMX code.
2012-07-23swscale: place inline assembly bilinear scaler under HAVE_INLINE_ASM.Ronald S. Bultje
2012-07-22x86: swscale: Place inline assembly code under appropriate #ifdefsRonald S. Bultje
Fixes compilation for compilers that do not support gcc inline assembly. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-07-04swscale: yuv2planeX 8bit >=sse2 functions need aligned stack on x86-32.Martin Storsjö
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-07-04Clarify Doxygen comment for FF_API_* #defines.Diego Biurrun
2012-07-04Create version.h headers for libraries that lack themDiego Biurrun
2012-06-20bfin: libswscale: add const where appropriate to fix warningsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-20bfin: libswscale: remove unnecessary #includesMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-12sws: fix planar RGB input conversions for 9/10/16 bpp.Ronald S. Bultje
Fixes bug 282. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-05-07build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.Diego Biurrun
2012-04-22swscale: K&R formatting cosmetics (part III)Diego Biurrun
2012-04-15swscale: clip before assigning tables in RGB output functions.Ronald S. Bultje
2012-04-15swscale: fix off-by-one in second coefficient in bilinear filters.Ronald S. Bultje
If coefficient A is 12-bits xixed-point number "X", then the other coefficient is (1 << 12) - X, not (1 << 12) - X - 1.
2012-04-14swscale: handle last pixel if lines have an odd width.Ronald S. Bultje
Fixes bug 270.
2012-04-13swscale: K&R formatting cosmetics (part II)Diego Biurrun
Also adjust some comments including wording and typo fixes.
2012-04-12build: Move all arch OBJS declarations into arch subdirectory Makefiles.Diego Biurrun
2012-04-12build: Consistently handle conditional compilation for all optimization OBJS.Diego Biurrun
2012-04-11x86inc improvements for 64-bitHenrik Gramner
Add support for all x86-64 registers Prefer caller-saved register over callee-saved on WIN64 Support up to 15 function arguments Also (by Ronald S. Bultje) Fix up our asm to work with new x86inc.asm. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-04-09ppc: Add/remove a number of const qualifiers to fix related warnings.Diego Biurrun
2012-04-04swscale: handle complete dimensions for monoblack/white.Ronald S. Bultje
Fixes bug 269.
2012-04-03Unscaled Planar RGB -> RGB support in swscale.Hans-Kristian Arntzen
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-03-26build: Only clean the architecture subdirectory we build for.Diego Biurrun
This allows simplifying the Makefiles; it is no longer necessary to register arch subdirectory Makefiles, just putting them in place is enough.
2012-03-26build: prettyprinting cosmeticsDiego Biurrun
2012-03-15swscale: convert hscale() to use named arguments.Ronald S. Bultje
2012-03-15swscale: convert hscale to cpuflags().Ronald S. Bultje
2012-03-07swscale: clip unscaled output intermediates.Ronald S. Bultje
Fixes bug 240, as well as several integer overflows (visible as glitches) in other scaling output routines, e.g. YUV422.
2012-03-06swscale: make filterPos 32bit.Ronald S. Bultje
Fixes overflows for large image sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-03-04swscale: remove "cpu flags" from -sws_flags description.Ronald S. Bultje
2012-03-04swscale: make %rep unconditional.Ronald S. Bultje
Fixes pre-processing with latest versions of nasm.
2012-03-04swscale: remove now unnecessary hack.Ronald S. Bultje
2012-03-02swscale: K&R formatting cosmetics for PowerPC code (part II/II)Diego Biurrun
2012-02-29swscale: fix another integer overflow.Ronald S. Bultje
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-02-25swscale: fix another integer overflow at large dimensions/rescales.Ronald S. Bultje
2012-02-23swscale: take first/lastline over/underflows into account for MMX.Ronald S. Bultje
Fixes crashes for extremely large resizes (several 100-fold). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-02-23swscale: fix underflows in firstline calculations for extreme resizes.Ronald S. Bultje
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-02-23swscale: fix overflows in filterPos[] calculation for large sizes.Ronald S. Bultje
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2012-02-23swscale: fix filtersize clipping.Ronald S. Bultje
if srcW<=2, clip(x, 1, srcW-2) still allows srcW to be < 1.