summaryrefslogtreecommitdiff
path: root/libswscale/x86
Commit message (Collapse)AuthorAge
* Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-21
|\ | | | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Drop pointless assert.h #includesDiego Biurrun2016-05-03
| |
| * lavu: add AV_CEIL_RSHIFT and use it in various placesClément Bœsch2016-01-11
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | swscale: cleanup unused codePedro Arthur2016-03-31
| | | | | | | | | | Removed previous swscale code under '#ifndef NEW_FILTER' and removed unused fields of SwsContext
* | swscale/x86/output: Fix yuv2planeX_16* with unaligned destinationMichael Niedermayer2016-02-17
| | | | | | | | | | Reviewed-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/x86/output: Move code into yuv2planeX_mainloopMichael Niedermayer2016-02-17
| | | | | | | | | | Reviewed-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | | | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | swscale/x86/rgb2rgb_template: Fix planar2x() for short widthMichael Niedermayer2016-01-17
| | | | | | | | | | | | | | Fixes: 451b3e0cf956c0bd2f27ed753ac24050/asan_heap-oob_2873c01_3231_7ed10a9464d15f0d57277f5917c566a8.AVI Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the ↵Michael Niedermayer2015-12-15
| | | | | | | | | | | | | | | | alignment is insufficient for SSE* This also as a sideeffect fixes the non aligned case Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/x86/rgb2rgb_template: Do not crash on misaligend strideMichael Niedermayer2015-12-15
| | | | | | | | | | | | Fixes Ticket5013 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
| |
* | swscale: refactor vertical scalerPedro Arthur2015-08-19
| |
* | swscale: fixed compiler warningsPedro Arthur2015-08-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | 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>