summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013'Clément Bœsch2017-04-261-5/+1
|\ | | | | | | | | | | | | * commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013': ppc: Centralize compiler-specific altivec.h #include handling in one place Merged-by: Clément Bœsch <u@pkh.me>
| * ppc: Centralize compiler-specific altivec.h #include handling in one placeDiego Biurrun2016-12-141-4/+1
| | | | | | | | Also move #includes into canonical order where appropriate.
| * swscale: Add GRAY12Luca Barbato2016-11-071-0/+2
| |
| * swscale: Rename is9_OR_10 to match what it doesLuca Barbato2016-09-271-1/+1
| | | | | | | | It is used to select functions that work with 9-15bits.
| * swscale: Update bitdepth range checkLuca Barbato2016-09-271-1/+1
| | | | | | | | | | Make sure the scaling functions for the 9-15bits are used for 9-15bits bit depths correctly.
| * swscale: Kill non-compiling disabled cruftDiego Biurrun2016-08-171-6/+0
| |
| * swscale: Rename sws_context_class to ff_sws_context_classAndreas Cadhalpun2016-07-161-1/+1
| | | | | | | | | | | | | | It is an internal swscale symbol and thus should not be exported. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | sws: make is{RGB,BGR}inInt functionsClément Bœsch2017-03-241-39/+43
| |
* | swscale: cosmetics in is{RGB,BGR}inIntClément Bœsch2017-03-201-10/+7
| | | | | | | | Reduce diff with Libav.
* | swscale: remove unused is{RGB,BGR}inBytesClément Bœsch2017-03-201-19/+0
| |
* | swscale: use a (more correct) function for isPackedClément Bœsch2017-03-201-18/+3
| |
* | swscale: use a function for isAnyRGBClément Bœsch2017-03-201-7/+7
| |
* | swscale: use a function for isBayerClément Bœsch2017-03-201-14/+6
| |
* | swscale: use a function for isGrayClément Bœsch2017-03-201-17/+10
| |
* | lsws: Add GRAY10 conversion.Carl Eugen Hoyos2016-11-141-0/+2
| | | | | | | | Based on 19be5fb7 by Luca Barbato.
* | swscale: Add GRAY12Luca Barbato2016-11-101-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Drop is9_OR_10BPS() use, its name is not correctMichael Niedermayer2016-11-101-3/+1
| | | | | | | | | | 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-111-1/+0
| | | | | | | | | | | | | | 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-301-0/+1
| | | | | | | | | | | | | | | | | | | | 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-211-58/+58
|\ \ | |/ | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-58/+58
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | swscale/arm: add ff_hscale_8_to_15_neonMatthieu Bouron2016-04-091-0/+1
| |
* | swscale: add bt2020 yuv2rgb coefficients.Ronald S. Bultje2016-04-011-1/+1
| |
* | swscale: cleanup unused codePedro Arthur2016-03-311-9/+1
| | | | | | | | | | 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-311-0/+1
| | | | | | | | | | | | | | ./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-281-1/+1
| | | | | | | | 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-011-0/+1
| |
* | swscale/vscale: Check that 2 tap filters are bilinear before using bilinear codeMichael Niedermayer2016-01-141-0/+1
| | | | | | | | | | | | | | | | 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-141-15/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Move VScalerContext into vscale.cMichael Niedermayer2016-01-141-9/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/yuv2rgb: Increase YUV2RGB table headroomMichael Niedermayer2016-01-141-2/+2
| | | | | | | | | | | | | | | | | | 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-141-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: rename sws_context_class to ff_sws_context_classAndreas Cadhalpun2015-10-291-1/+1
| | | | | | | | | | | | | | 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-131-1/+2
| | | | | | | | | | 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-101-0/+1
| | | | | | | | | | | | | | | | 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-081-3/+3
|\ \ | |/ | | | | | | | | | | * 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-071-2/+2
| | | | | | | | | | | | 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-141-1/+2
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | swscale: re-enable gammaPedro Arthur2015-09-041-0/+3
| | | | | | | | +added gamma conversion to refactored code
* | swscale: refactor vertical scalerPedro Arthur2015-08-191-1/+19
| |
* | swscale: Fixed typosPedro Arthur2015-08-181-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: fixed compiler warningsPedro Arthur2015-08-181-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: process horizontal lines in batchesPedro Arthur2015-08-181-1/+3
| | | | | | | | | | | | Process more lines in a single pass to improve performance Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: refactor horizontal scalingPedro Arthur2015-08-181-0/+100
| | | | | | | | | | | | | | + 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-091-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Implement alphablendaway for planar 4:4:4 formatsMichael Niedermayer2015-08-081-0/+12
| | | | | | | | | | | | Fixes Ticket4746 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: Add sws_alloc_set_opts()Michael Niedermayer2015-08-081-0/+11
| | | | | | | | | | | | | | 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-241-0/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale/swscale: Get rid of the SWS_GAMMA_CORRECT flagMichael Niedermayer2015-04-231-0/+1
| | | | | | | | | | | | 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-231-1/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud