summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* sws/aarch64: add {nv12,nv21,yuv420p,yuv422p}_to_{argb,rgba,abgr,rgba}_neonClément Bœsch2016-03-01
|
* sws/yuv2rgb: clarify precision of coeff and offset for mmx codeClément Bœsch2016-02-27
| | | | | It makes easier looking at the difference with the generic code just below.
* sws/yuv2rgb: avoid a few ub on signed left shiftsClément Bœsch2016-02-27
|
* Merge commit '29c2d06d67724e994980045afa055c6c34611b30'Derek Buitenhuis2016-02-24
|\ | | | | | | | | | | | | * commit '29c2d06d67724e994980045afa055c6c34611b30': cosmetics: Drop empty comment lines Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * cosmetics: Drop empty comment linesDiego Biurrun2016-02-18
| |
| * yuv2rgb: Document the color space coefficientsVittorio Giovara2016-01-20
| | | | | | | | | | | | Based on the original documentation found in mpeg2dec (1995). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * 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>
* | Add GBRAP12 pixel formatKieran Kunhya2016-02-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/utils: Fix chrSrcHSubSample for GBRAP16Michael Niedermayer2016-02-24
| | | | | | | | | | | | Fixes part of Ticket5264 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/input: Fix GBRAP16 inputMichael Niedermayer2016-02-24
| | | | | | | | | | | | Fixes part of Ticket5264 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/arm: re-enable neon rgbx to nv12 routinesXiaolei Yu2016-02-22
| | | | | | | | | | | | | | | | Commit '842b8f4ba2e79b9c004a67f6fdb3d5c5d05805d3' fixed clang/iphone build but failed on some versions of cygwin. It has now been verified to work on both platforms. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | 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>
* | swscale/slice: Actually use the buffers' stridesDerek Buitenhuis2016-02-16
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | sws/output: fix ordered dither threshold for mono outputMichael Niedermayer2016-02-10
| | | | | | | | | | | | This makes sure that white stays white and black black Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/swscale-test: Check av_image_fill_linesizes() for failureMichael Niedermayer2016-02-04
| | | | | | | | 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: add P010 input supportHendrik Leppkes2016-01-26
| |
* | yuv2rgb: Document the color space coefficientsVittorio Giovara2016-01-19
| | | | | | | | | | | | Based on the original documentation found in mpeg2dec (1995). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | swscale/swscale: Add some sanity checks for srcSlice* parametersMichael Niedermayer2016-01-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | 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/swscale_unscaled: Fix odd height inputs for bayer_to_yv12_wrapper()Michael Niedermayer2016-01-17
| | | | | | | | | | | | | | | | 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>
* | swscale/swscale_unscaled: Fix odd height inputs for bayer_to_rgb24_wrapper()Michael Niedermayer2016-01-17
| | | | | | | | | | | | | | | | 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>
* | swscale/vscale: Use matching sliceY/chrSliceY for luma/chromaMichael Niedermayer2016-01-14
| | | | | | | | | | | | No case known where that makes a difference Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/vscale: Check that 2 tap filters are bilinear before using bilinear codeMichael Niedermayer2016-01-14
| | | | | | | | | | | | | | | | 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>
* | swscale/output: Assert that yalpha and uvalpha are within their expected rangeMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/vscale: Add fixme comment to "ugly" codeMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/slice: Fix indentionMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/slice: Fix doc typoMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Move Contexts used only in hscale.c into itMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Move VScalerContext into vscale.cMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/utils: Detect and skip unneeded sws_setColorspaceDetails() callsMichael Niedermayer2016-01-14
| | | | | | | | | | | | This avoids running various table inits unnecessarily Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/yuv2rgb: Increase YUV2RGB table headroomMichael Niedermayer2016-01-14
| | | | | | | | | | | | | | | | | | 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>
* | swscale/yuv2rgb: Factor YUVRGB_TABLE_LUMA_HEADROOM outMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/utils: Use normal bilinear scaler if fast cannot be used due to tiny ↵Michael Niedermayer2016-01-04
| | | | | | | | | | | | | | | | dimensions Fixes Ticket4960 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/arm/yuv2rgb: add ff_yuv422p_to_{argb,rgba,abgr,bgra}_neon_{16,32}Matthieu Bouron2016-01-04
| |
* | swscale/arm/yuv2rgb: fix typoMatthieu Bouron2016-01-04
| |
* | swscale/utils: Fix intermediate format for cascaded alpha downscalingMichael Niedermayer2015-12-24
| | | | | | | | | | | | Fixes Ticket4926 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/arm/yuv2rgb: add ff_yuv420p_to_{argb,rgba,abgr,bgra}_neon_{16,32}Matthieu Bouron2015-12-19
| |
* | swscale/arm/yuv2rgb: disable neon if accurate_rnd is enabledMatthieu Bouron2015-12-19
| | | | | | | | | | This disables the 32bit precision neon code path in favor of the default C one and avoids breaking fate.
* | swscale/arm/yuv2rgb: simplify process_16px_* macro callMatthieu Bouron2015-12-19
| |
* | swscale/arm/yuv2rgb: fix slicingClément Bœsch2015-12-18
| |
* | 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>
* | swscale/utils: replace pow by exp2Ganesh Ajjanagadde2015-12-08
| | | | | | | | | | | | | | exp2 is a faster function. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | swscale/arm: add ff_nv{12,21}_to_{argb,rgba,abgr,bgra}_neon_16Matthieu Bouron2015-12-08
| |
* | swscale/utils: Fix for runtime error: left shift of negative value -1Michael Niedermayer2015-12-04
| | | | | | | | | | | | | | 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>
* | swscale: use AV_OPT_TYPE_BOOL for {src,dst}_range optionsClément Bœsch2015-12-04
| |
* | swscale/arm: add ff_nv{12,21}_to_{argb,rgba,abgr,bgra}_neonMatthieu Bouron2015-11-23
| | | | | | | | | | Signed-off-by: Matthieu Bouron <matthieu.bouron@stupeflix.com> Signed-off-by: Clément Bœsch <clement@stupeflix.com>
* | swscale: rename sws_rgb2rgb_init to ff_sws_rgb2rgb_initAndreas Cadhalpun2015-10-29
| | | | | | | | | | | | | | 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>