summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* 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: disable ARM code until its build failure with clang/iphone is fixedMichael Niedermayer2014-01-12
| | | | | | | | | | | | See: "19:40 Yu Xiaolei Re: [FFmpeg-devel] [PATCH] fix build with gas-preprocessor.pl" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "swscale: disable ARM code until its build failure with clang/iphone ↵Michael Niedermayer2014-01-12
| | | | | | | | | | | | is fixed" This reverts commit c8c7736c1025bcf5bb27e104a0d0eae749408739.
* | fix build with gas-preprocessor.plYu Xiaolei2014-01-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: fix rgb48Toxyz12() endiannessMichael Niedermayer2014-01-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Unscaled 16bit packed RGB to planar GBR converter.Carl Eugen Hoyos2014-01-10
| | | | | | | | | | Fixes r210(rgb48) -> ffv1 (gbrp10) -> r210 roundtrip as reported by forum user JasonCA.
* | swscale: disable ARM code until its build failure with clang/iphone is fixedMichael Niedermayer2014-01-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/arm: fix build error with --enable-sharedYu Xiaolei2013-12-28
| | | | | | | | | | | | use string comparison in assembler derivatives to prevents assembler from treating names in test expressions as imported symbols Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b83d1ee3b41cfe8357836e2582104db2f3364cb0'Michael Niedermayer2013-12-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b83d1ee3b41cfe8357836e2582104db2f3364cb0': avutil: Move library version related macros to version.h Conflicts: libavcodec/version.h libavresample/version.h libavutil/avutil.h libavutil/utils.c See: 183117fed7d0a910b5f65e5c78b065f125abf369 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Move library version related macros to version.hDiego Biurrun2013-12-26
| | | | | | | | This is a more sensible place for these macros.
* | swscale/utils: fix wrong deprecated message with rgb0Michael Niedermayer2013-12-24
| | | | | | | | | | Fixes Ticket3242 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/x86/rgb2rgb_template: try to fix build failure with avx disabledMichael Niedermayer2013-12-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: NEON optimized unscaled rgba to nv12 conversionYu Xiaolei2013-12-16
| | | | | | | | | | Signed-off-by: Yu Xiaolei <dreifachstein@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: check chroma width for fast bilinear scalerMichael Niedermayer2013-12-15
| | | | | | | | | | | | Fixes artifacts where fast bilinear was used for downscaling chroma Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: remove useless ()Michael Niedermayer2013-12-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: factor (d + 1 < 4) outMichael Niedermayer2013-12-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-14
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxy: Define a group for libswscale documentation Conflicts: libavutil/avutil.h libswscale/swscale.h See: 18d9398143ac63915e85d76447dca5c9670ed58a Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxy: Define a group for libswscale documentationLuca Barbato2013-12-13
| | | | | | | | Uniform the style and eliminate a warning on newer doxygen version..
* | 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>
* | swscale/utils: fill xyz tables only when they will be usedMichael Niedermayer2013-12-07
| | | | | | | | | | | | makes the first call to sws_getContext() 1ms faster Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add Windows resource file support for shared librariesJames Almer2013-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally written by James Almer <jamrial@gmail.com> With the following contributions by Timothy Gu <timothygu99@gmail.com> * Use descriptions of libraries from the pkg-config file generation function * Use "FFmpeg Project" as CompanyName (suggested by Alexander Strasser) * Use "FFmpeg" for ProductName as MSDN says "name of the product with which the file is distributed" [1]. * Use FFmpeg's version (N-xxxxx-gxxxxxxx) for ProductVersion per MSDN [1]. * Only build the .rc files when --enable-small is not enabled. [1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx Signed-off-by: James Almer <jamrial@gmail.com> 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>
* | swscale: fix used stride in planarToNv12Wrapper()Michael Niedermayer2013-11-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: add nv12/nv21->yuv420 converterMichael Niedermayer2013-11-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/swscale_unscaled: fix right column handling in planarCopyWrapperMichael Niedermayer2013-11-16
| | | | | | | | | | Found-by: Михаил <Micky53@mail.ru> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lsws/utils: introduce scale_algorithms arrayStefano Sabatini2013-11-05
| | | | | | | | Allow some dumb factorizations, slightly decrease spaghetti factor.
* | lsws/utils: fix typoStefano Sabatini2013-11-05
| |
* | Optimize pure C unscaled yuv2rgb.Reimar Döffinger2013-10-30
| | | | | | | | | | | | | | | | | | | | | | Aligning the tables reduces the amount of code generated on e.g. ARM as the offset constant then has few enough set bits so it can be encoded inside a single instruction instead of 2. Ideally all should be declared aligned, but the DECLARE_ALIGNED macros does not work with pointer tables, thus also reordered the tables. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lsws: use av_pix_fmt_get_chroma_sub_sample()Stefano Sabatini2013-10-24
| | | | | | | | Remove duplicated getSubSampleFactors() function. Simplify.
* | swscale/utils: check mprotect() return codeMichael Niedermayer2013-10-23
| | | | | | | | | | Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/yuv2rgb: clip cy, avoid division by 0 with 0 contrastMichael Niedermayer2013-10-17
| | | | | | | | | | Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils/sws_setColorspaceDetails(): fix indentionMichael Niedermayer2013-10-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swsscale/swscale_unscaled: add GBRAP16Paul B Mahol2013-10-16
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/swscale_unscaled: fix alpha pointer & stride for ↵Michael Niedermayer2013-10-16
| | | | | | | | | | | | planarRgb16ToRgb16Wrapper() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Use full resolution chroma for yuv2rgb when the input has full chromaMichael Niedermayer2013-10-10
| | | | | | | | | | | | See Ticket3028 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6b3ff6f91a535d6383f41ca7bdf760165dcb6015'Michael Niedermayer2013-10-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '6b3ff6f91a535d6383f41ca7bdf760165dcb6015': swscale: provide a default scaler if none is set Conflicts: libswscale/utils.c The default is left at bicubic until someone has compared the scalers properly speed and quality wise. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: provide a default scaler if none is setVittorio Giovara2013-10-05
| | | | | | | | | | | | | | | | | | | | Lanczos for general case, sinc for upscaling, Gaussian for downscaling. According to current literature these scalers should be the best quality-wise algorithms for each case. Inspired from a patch by wm4 <nfxjfg@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | swscale/options: switch default to bicubicMichael Niedermayer2013-10-06
| | | | | | | | | | Suggested-by: Ronald S. Bultje Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: dont divide by zero with zero vectorsMichael Niedermayer2013-10-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: make bilinear scaling the defaultwm42013-09-30
| | | | | | | | | | | | | | | | | | Before this commit, sws_init_context() failed with an error if no scaler was explicitly set. Defaulting to something reasonable is better behavior. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/swscale_unscaled: fix alpha values for rgb/bgr -> RGB32_1 / BGR32_1Michael Niedermayer2013-09-19
| | | | | | | | | | Found-by: Justin Ruggles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: remove redundant NULL checks before sws_freeVec()Michael Niedermayer2013-09-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: simplify cpu caps printing codeMichael Niedermayer2013-09-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>