summaryrefslogtreecommitdiff
path: root/libswscale/x86
Commit message (Collapse)AuthorAge
...
* | swscale: refactor horizontal scalingPedro Arthur2015-08-18
| | | | | | | | | | | | | | + split color conversion from scaling - disabled gamma correction, until it's refactored too Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | YUV->BGR32 MMX supportKevin Coyle2015-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb_template: fix signedness of v in ↵James Almer2015-06-23
| | | | | | | | | | | | | | shuffle_bytes_2103_{mmx,mmxext} Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | swscale/x86/rgb2rgb_template: don't call emms on sse2/avx functionsJames Almer2015-06-23
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | swscale/x86/rgb2rgb_template: add missing xmm clobbersJames Almer2015-06-23
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | libswscale/x86/hscale_fast_bilinear_simd.c: There's no need to save BX if ↵Nick Lewycky2015-05-13
| | | | | | | | | | | | it's in the clobber list. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libswscale/x86/hscale_fast_bilinear_simd.c: Include BX in the clobber list ↵Nick Lewycky2015-05-13
| | | | | | | | | | | | on x86_64, because it isn't implicitly included when PIC is on. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/swscale: Fix warning about loosing significant bits in castMichael Niedermayer2015-05-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/hscale_fast_bilinear_simd: Remove ancient out-commented debug codeMichael Niedermayer2015-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/hscale_fast_bilinear_simd: Fix variable names in commentsMichael Niedermayer2015-05-07
| | | | | | | | | | Found-by: Nick Lewycky <nlewycky@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Add prefix to updateMMXDitherTables()Michael Niedermayer2015-02-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>