summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
Commit message (Collapse)AuthorAge
* lsws: Add GRAY10 conversion.Carl Eugen Hoyos2016-11-14
| | | | Based on 19be5fb7 by Luca Barbato.
* swscale: Add GRAY12Luca Barbato2016-11-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Drop is9_OR_10BPS() use, its name is not correctMichael Niedermayer2016-11-10
| | | | | Found-by: Luca Barbato Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Revert "PPC64: Add versions of functions in libswscale/input.c optimized for ↵Ronald S. Bultje2016-07-11
| | | | | | | POWER8 VSX SIMD." This reverts commit 1df908f33f658979b32599489ca6f1a39821013c. The expected performance improvements are essentially non-existent.
* PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 ↵Dan Parrot2016-06-30
| | | | | | | | | | VSX SIMD. This patch addresses Trac ticket #5570. The optimized functions are in file libswscale/ppc/input_vsx.c. Each optimized function name is a concatenation of the corresponding name in libswscale/input.c with suffix _vsx. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* 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>
* | swscale/arm: add ff_hscale_8_to_15_neonMatthieu Bouron2016-04-09
| |
* | swscale: add bt2020 yuv2rgb coefficients.Ronald S. Bultje2016-04-01
| |
* | swscale: cleanup unused codePedro Arthur2016-03-31
| | | | | | | | | | Removed previous swscale code under '#ifndef NEW_FILTER' and removed unused fields of SwsContext
* | sws/aarch64: add ff_hscale_8_to_15_neonClément Bœsch2016-03-31
| | | | | | | | | | | | | | ./ffmpeg -nostats -f lavfi -i testsrc2=4k:d=2 -vf bench=start,scale=1024x1024,bench=stop -f null - before: t:0.489726 avg:0.489883 max:0.491852 min:0.489482 after: t:0.256515 avg:0.256458 max:0.256999 min:0.253755
* | fix some a/an typosLou Logan2016-03-28
| | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* | sws/aarch64: add {nv12,nv21,yuv420p,yuv422p}_to_{argb,rgba,abgr,rgba}_neonClément Bœsch2016-03-01
| |
* | 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: 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/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: rename sws_context_class to ff_sws_context_classAndreas Cadhalpun2015-10-29
| | | | | | | | | | | | | | 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>
* | swscale: fix ticket #4881Pedro Arthur2015-10-13
| | | | | | | | | | When scaling only a slice of a frame the output was written always in the first lines leaving the rest of the frame black.
* | swscale: Forward colorspace updates to the 2nd cascaded context in case of ↵Michael Niedermayer2015-09-10
| | | | | | | | | | | | | | | | alphablend The first just does the blending and wouldnt do anything with the colorspace values Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba'Hendrik Leppkes2015-09-08
|\| | | | | | | | | | | | | * commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba': lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fieldsVittorio Giovara2015-09-07
| | | | | | | | | | | | The new fields can be accessed directly and are more intelligible. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol2015-01-14
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | swscale: re-enable gammaPedro Arthur2015-09-04
| | | | | | | | +added gamma conversion to refactored code
* | swscale: refactor vertical scalerPedro Arthur2015-08-19
| |
* | swscale: Fixed typosPedro Arthur2015-08-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: fixed compiler warningsPedro Arthur2015-08-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: process horizontal lines in batchesPedro Arthur2015-08-18
| | | | | | | | | | | | Process more lines in a single pass to improve performance 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>
* | swscale/alphablend: Support SWS_ALPHA_BLEND_CHECKERBOARDMichael Niedermayer2015-08-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Implement alphablendaway for planar 4:4:4 formatsMichael Niedermayer2015-08-08
| | | | | | | | | | | | Fixes Ticket4746 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Add sws_alloc_set_opts()Michael Niedermayer2015-08-08
| | | | | | | | | | | | | | This simplifies allocating and initializing swscale contexts with custom options. The function is internal currently but could be moved into the public header Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: ayuv64le input supportPaul B Mahol2015-07-24
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale/swscale: Get rid of the SWS_GAMMA_CORRECT flagMichael Niedermayer2015-04-23
| | | | | | | | | | | | This avoids using up a bit of the public flags Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add gamma encodign/decoding before/after scaling in libswscalePedro Arthur2015-04-23
| | | | | | | | 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: increase yuv2rgb table headroomMichael Niedermayer2014-12-16
| | | | | | | | | | | | | | Fixes out of array access Fixes: case2_bad_read_yuv2rgbx32.mp4 Found-by: Michal Zalewski <lcamtuf@coredump.cx> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: support internal scaler cascadesMichael Niedermayer2014-10-11
| | | | | | | | | | | | Fixes Ticket3170 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: remove obsolete FF_API_SWS_FORMAT_NAME cruftJames Almer2014-10-05
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | swscale/swscale_internal: fix ya16 -> rgbaMichael Niedermayer2014-08-05
| | | | | | | | | | | | Fixes Ticket644 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f84a1b597c29dc035b8d5529ef88c2d7ff057820'Michael Niedermayer2014-08-04
|\| | | | | | | | | | | | | | | | | | | * commit 'f84a1b597c29dc035b8d5529ef88c2d7ff057820': swscale: support AV_PIX_FMT_YA16 as input Conflicts: libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: support AV_PIX_FMT_YA16 as inputVittorio Giovara2014-08-04
| | | | | | | | Based on a long debug session with Kostya.
* | 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.
* | sws/x86: split mmxext fast bilinear scaler outMichael Niedermayer2014-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: Move fast bilinear C code into seperate fileMichael Niedermayer2014-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/swscale_internal: add needed version.hMichael Niedermayer2014-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fix spelling errorsAndreas Cadhalpun2014-07-12
| | | | | | | | | | Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Allow the max filter size to be set at compile timeDerek Buitenhuis2014-06-13
| | | | | | | | | | | | This can help "extreme" resizes, e.g with some 4k stuff. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>