summaryrefslogtreecommitdiff
path: root/libswscale/x86
Commit message (Collapse)AuthorAge
* swscale/x86/rgb2rgb_template: fix crash with tiny size and nv12 outputMichael Niedermayer2014-12-03
| | | | | | Fixes Ticket4151 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/x86/rgb2rgb_template: handle the first 2 lines with C in rgb24toyv12_*()Michael Niedermayer2014-11-20
| | | | | | | This avoids out of array accesses Should fix Ticket3451 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale: fix yuv2yuvX_8 assembly on x86Kieran Kunhya2014-11-09
| | | | | use_mmx_vfilter check/fix by commiter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/x86: do not expect registers to be preserved across inline ASM blocksVitor Sessak2014-09-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'e96c3b81cadd0ba84d43b1f3a54980df3785d9a5'Michael Niedermayer2014-08-04
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e96c3b81cadd0ba84d43b1f3a54980df3785d9a5': avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8 Conflicts: libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/raw.c libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h libswscale/swscale_internal.h libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8Vittorio Giovara2014-08-04
| | | | | | | | | | | | | | The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
* | swscale/x86/hscale_fast_bilinear_simd: add inline asm guardsMichael Niedermayer2014-07-19
| | | | | | | | | | | | | | Should fix MSVC build Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: move inline asm hscale to MMX_OBJSMichael Niedermayer2014-07-19
| | | | | | | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/x86: split mmxext fast bilinear scaler outMichael Niedermayer2014-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb_template: fix 1 byte overread in yuyvtoyuv420 and ↵Michael Niedermayer2014-07-13
| | | | | | | | | | | | | | | | uyvytoyuv420 might fix ticket 3410 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/input: prevent RGB32_TO_Y_FN from reading into the paddingMichael Niedermayer2014-06-22
| | | | | | | | | | | | This avoids reading uninitialized bytes and confusing valgrind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/input: prevent RGB32_TO_UV_FN from reading into the paddingMichael Niedermayer2014-06-22
| | | | | | | | | | | | This avoids reading uninitialized bytes and confusing valgrind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | s86/scale: Do not return the result of a (void) function from a void function.Carl Eugen Hoyos2014-06-19
| | | | | | | | | | Fixes compilation with Sun C 5.12. Reported by Bradley Mitchell in ticket #3649.
* | x86/scale: fix xmm register count for hscale*_sse2James Almer2014-06-09
| | | | | | | | | | | | | | xmm6 was being clobbered in ff_hscale8to{15,19}_8_sse2 on Win64 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | inline asm: fix arrays as named constraints.Matt Oliver2014-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix compilation with !HAVE_6REGS.Carl Eugen Hoyos2014-04-19
| | | | | | | | | | Can be tested with: $ ./configure --cc='cc -m32' --disable-optimizations --enable-pic
* | sws: fix warning about RGB_PACK24_B_OPERANDS redefinitionLukasz Marek2014-04-10
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/swscale_template: loose hardcoded dstw_offsetMichael Niedermayer2014-04-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'aba70bb5387f12dfa5e6cd8cb861c9c7e668151f'Michael Niedermayer2014-03-26
|\| | | | | | | | | | | | | * commit 'aba70bb5387f12dfa5e6cd8cb861c9c7e668151f': Add missing headers to make template files compile (more) standalone Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add missing headers to make template files compile (more) standaloneDiego Biurrun2014-03-26
| |
* | Automatically change MANGLE() into named inline asm operands when direct ↵Matt Oliver2014-03-18
| | | | | | | | | | | | | | | | symbol reference in inline asm are not supported. This is part of the patch-set for intel C inline asm on windows support Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add missing external declarations.Matt Oliver2014-03-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/swscale: remove unused constantsMichael Niedermayer2014-03-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/swscale: fix missing xmm clobbers in yuv2yuvX_sse3()Michael Niedermayer2014-03-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-01-21
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: rgb2rgb_template: add MMX/SSE2/AVX-optimized deinterleaveBytes Conflicts: libswscale/x86/rgb2rgb_template.c See: 3033cd7555921242cbdc06d0d8aee9f8925d6a3c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rgb2rgb_template: add MMX/SSE2/AVX-optimized deinterleaveBytesMichael Niedermayer2014-01-21
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '7597e6efe492cb2449bb771054d64cc7fdf62ff5'Michael Niedermayer2014-01-21
|\| | | | | | | | | | | | | | | | | | | | | * commit '7597e6efe492cb2449bb771054d64cc7fdf62ff5': swscale/x86/rgb2rgb: add support for AVX Conflicts: libswscale/x86/rgb2rgb_template.c See: 4729b529e60fb99356a1d9e13793835af50b3e87 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale/x86/rgb2rgb: add support for AVXMichael Niedermayer2014-01-21
| | | | | | | | | | | | This does not yet include any actual AVX code Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '46bacb5cc6169ff5e8e982495c4925467c1d8bb7'Michael Niedermayer2014-01-14
|\| | | | | | | | | | | | | * commit '46bacb5cc6169ff5e8e982495c4925467c1d8bb7': x86: Consistently use cpu flag detection macros in places that still miss it Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x86: Consistently use cpu flag detection macros in places that still miss itDiego Biurrun2014-01-14
| |
* | swscale/x86/rgb2rgb_template: try to fix build failure with avx disabledMichael Niedermayer2013-12-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb: Make sure COMPILE_TEMPLATE_AVX is definedMichael Niedermayer2013-12-14
| | | | | | | | | | Found-by: iive Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb_template: try to fix build without AVXMichael Niedermayer2013-12-14
| | | | | | | | | | Found-by: iive Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c16bfb147df8a9d350e8a0dbc01937b78faf5949'Michael Niedermayer2013-11-23
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'c16bfb147df8a9d350e8a0dbc01937b78faf5949': swscale: x86: Consistently use lowercase function name suffixes Conflicts: libswscale/x86/rgb2rgb.c libswscale/x86/swscale.c See: 1de064e21e7f1bbdd2347ba8967089a18669fcf8 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: x86: Consistently use lowercase function name suffixesDiego Biurrun2013-11-22
| |
* | swscale/x86: SIMD deinterleaveBytes() depends on YASMMichael Niedermayer2013-11-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb_template: add mmx/sse2/avx optimized deinterleaveBytesMichael Niedermayer2013-11-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb: change cpu optim identifiers to lower caseMichael Niedermayer2013-11-19
| | | | | | | | | | | | | | This makes the code more similar to the other optims and allows us to use the same macros to build function names Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb: extend framework to also include AVXMichael Niedermayer2013-11-19
| | | | | | | | | | | | This does not yet include any actual AVX code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-30
| |
* | Merge commit 'a519583991c38d38503ab08357716513facc5725'Michael Niedermayer2013-08-29
|\| | | | | | | | | | | | | | | | | | | | | * commit 'a519583991c38d38503ab08357716513facc5725': swscale: x86: Hide arch-specific initialization details Conflicts: libswscale/x86/Makefile libswscale/x86/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: x86: Hide arch-specific initialization detailsDiego Biurrun2013-08-28
| | | | | | | | Also give consistent names to init functions.
* | swscale: remove unneeded include assert.hMichael Niedermayer2013-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: add FF_CEIL_RSHIFT and use it in various places.Clément Bœsch2013-05-09
| |
* | Merge commit '2b677ffca54a5fbef9c8860841c32f28ecd68f70'Michael Niedermayer2013-05-05
|\| | | | | | | | | | | | | | | | | | | * commit '2b677ffca54a5fbef9c8860841c32f28ecd68f70': swscale: Add av_cold attributes to init functions missing them Conflicts: libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
| |
* | Fix libswscale compilation with --disable-optimizations on x86-32.Carl Eugen Hoyos2013-04-18
| | | | | | | | Fixes ticket #2477.
* | sws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv tableMichael Niedermayer2013-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/x86: remove 8bit rgb2yuv coefficient case for rgb24toyv12 special converterMichael Niedermayer2013-04-15
| | | | | | | | | | | | | | This simplifies the code and improves quality at the expense of a slight slowdown of a rarely used function (no fate test uses it). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: Update rgb24toyv12_c() to user supplied rgb2yuv tablesMichael Niedermayer2013-04-15
| | | | | | | | | | | | | | | | As the function arguments change, we also change the function name to ensure that anyone using this (non public) function doesnt end with hard to debug crashes. The new name also has a proper prefix. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>