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
2016-03-26swscale/utils: Fix chrSrcHSubSample for GBRAP16Michael Niedermayer
Fixes part of Ticket5264 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 67e5bd0c501f7568fc8d93284d0f7eb40663ab06) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-26swscale/input: Fix GBRAP16 inputMichael Niedermayer
Fixes part of Ticket5264 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit df36257a53561a51af969a6ea6319dd2579509b9) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-26swscale/x86/output: Fix yuv2planeX_16* with unaligned destinationMichael Niedermayer
Reviewed-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f6492a2ea8df80be0ed9591aee4019cef0e36e99) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-26swscale/x86/output: Move code into yuv2planeX_mainloopMichael Niedermayer
Reviewed-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d07f6e5f1c36be675e0900edba3e40a32f05f0f4) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-10sws/output: fix ordered dither threshold for mono outputMichael Niedermayer
This makes sure that white stays white and black black Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-04swscale/swscale-test: Check av_image_fill_linesizes() for failureMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-27avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis
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>
2016-01-26swscale: add P010 input supportHendrik Leppkes
2016-01-20yuv2rgb: Document the color space coefficientsVittorio Giovara
Based on the original documentation found in mpeg2dec (1995). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-17swscale/swscale: Add some sanity checks for srcSlice* parametersMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-17swscale/x86/rgb2rgb_template: Fix planar2x() for short widthMichael Niedermayer
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>
2016-01-17swscale/swscale_unscaled: Fix odd height inputs for bayer_to_yv12_wrapper()Michael Niedermayer
Fixes: 372d2df1f04b49e25f109f07f90b1505/asan_heap-oob_2835d2e_8501_99e0114d7ba3a6db885d0b4684d200c1.cine Fixes out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-17swscale/swscale_unscaled: Fix odd height inputs for bayer_to_rgb24_wrapper()Michael Niedermayer
Fixes: 372d2df1f04b49e25f109f07f90b1505/asan_heap-oob_2835d2e_8501_99e0114d7ba3a6db885d0b4684d200c1.cine Fixes out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-15swscale/vscale: Use matching sliceY/chrSliceY for luma/chromaMichael Niedermayer
No case known where that makes a difference Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/vscale: Check that 2 tap filters are bilinear before using bilinear codeMichael Niedermayer
Fixes: out of array reads Fixes: 07e8b9c5d348ccdf7add0f37de20cf6c/asan_heap-oob_27e8df7_6849_e56653f768070ec8cb52f587048444c2.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/output: Assert that yalpha and uvalpha are within their expected rangeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/vscale: Add fixme comment to "ugly" codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/slice: Fix indentionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/slice: Fix doc typoMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale: Move Contexts used only in hscale.c into itMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale: Move VScalerContext into vscale.cMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/utils: Detect and skip unneeded sws_setColorspaceDetails() callsMichael Niedermayer
This avoids running various table inits unnecessarily Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/yuv2rgb: Increase YUV2RGB table headroomMichael Niedermayer
This makes SWS more robust Fixes: 07650a772d98aa63b0fed6370dc89037/asan_heap-oob_27ddeaf_2657_2c81ff264dee5d9712cb3251fb9c3bbb.264 Fixes: out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-14swscale/yuv2rgb: Factor YUVRGB_TABLE_LUMA_HEADROOM outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-05swscale/utils: Use normal bilinear scaler if fast cannot be used due to tiny ↵Michael Niedermayer
dimensions Fixes Ticket4960 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-04swscale/arm/yuv2rgb: add ff_yuv422p_to_{argb,rgba,abgr,bgra}_neon_{16,32}Matthieu Bouron
2016-01-04swscale/arm/yuv2rgb: fix typoMatthieu Bouron
2015-12-24swscale/utils: Fix intermediate format for cascaded alpha downscalingMichael Niedermayer
Fixes Ticket4926 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-20swscale/arm/yuv2rgb: add ff_yuv420p_to_{argb,rgba,abgr,bgra}_neon_{16,32}Matthieu Bouron
2015-12-20swscale/arm/yuv2rgb: disable neon if accurate_rnd is enabledMatthieu Bouron
This disables the 32bit precision neon code path in favor of the default C one and avoids breaking fate.
2015-12-19swscale/arm/yuv2rgb: simplify process_16px_* macro callMatthieu Bouron
2015-12-18swscale/arm/yuv2rgb: fix slicingClément Bœsch
2015-12-15swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the ↵Michael Niedermayer
alignment is insufficient for SSE* This also as a sideeffect fixes the non aligned case Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-15swscale/x86/rgb2rgb_template: Do not crash on misaligend strideMichael Niedermayer
Fixes Ticket5013 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-09swscale/utils: replace pow by exp2Ganesh Ajjanagadde
exp2 is a faster function. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-08swscale/arm: add ff_nv{12,21}_to_{argb,rgba,abgr,bgra}_neon_16Matthieu Bouron
2015-12-04swscale/utils: Fix for runtime error: left shift of negative value -1Michael Niedermayer
Fixes: c106b36fa36db8ff8f3ed0c82be7bea2/asan_heap-oob_32699f0_6321_467b9a1d7e03d7cfd310b7e65dc53bcc.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-04swscale: use AV_OPT_TYPE_BOOL for {src,dst}_range optionsClément Bœsch
2015-11-23swscale/arm: add ff_nv{12,21}_to_{argb,rgba,abgr,bgra}_neonMatthieu Bouron
Signed-off-by: Matthieu Bouron <matthieu.bouron@stupeflix.com> Signed-off-by: Clément Bœsch <clement@stupeflix.com>
2015-10-30swscale: rename sws_rgb2rgb_init to ff_sws_rgb2rgb_initAndreas Cadhalpun
It is an internal swscale function and thus should not be exported. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-10-30swscale: rename sws_context_class to ff_sws_context_classAndreas Cadhalpun
It is an internal swscale symbol and thus should not be exported. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-10-17swscale/swscale: add av_warn_unused_result to sws_init_contextGanesh Ajjanagadde
This should not trigger any warnings; but adds robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-13swscale: fix ticket #4881Pedro Arthur
When scaling only a slice of a frame the output was written always in the first lines leaving the rest of the frame black.
2015-10-10doc/scaler, swscale/options: use proper capitalizationGanesh Ajjanagadde
Proper names should be capitalized in all user facing API as far as possible. The option names themselves have not been changed since: 1. We consistently keep option names in lower case. 2. Changing them would break existing scripts. The converse is also true: improper names should not be capitalized generally. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-04all: add _DEFAULT_SOURCE locally wherever neededGanesh Ajjanagadde
Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE and _SVID_SOURCE. The solution from man feature_test_macros is to define both _DEFAULT_SOURCE and the old macros. This solution is on the lines of the one in commit af1818276ef271af98e2e2bbabb4dc875b4fa7d8. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2015-09-25swscale: fix ticket #4877Pedro Arthur
2015-09-21swscale: fix ticket 4850Pedro Arthur
2015-09-20swscale/output: fix undefined left shifts of negative numbersGanesh Ajjanagadde
This fixes -Wshift-negative-value reported with clang 3.7+, e.g http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-19libswscale/swscale: fix -Wunused-functionGanesh Ajjanagadde
hyscale, hcscale are only used in old filter code, hence place header guard to silence -Wunused-function. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-17swscale/swscale: silence unused function warningGanesh Ajjanagadde
gamma_convert is only used with the old code. Thus, it is placed under a header guard. This patch silences a -Wunused-function observed on GCC 5.2. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>