summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
...
| * swscale: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
| |
* | Avoid incorrect deprecated pixel format warning.Reimar Döffinger2013-05-05
| | | | | | | | | | | | | | Should only be printed if a "JPEG" format was used, not for e.g. XYZ. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavu: add planar 16 bit and 8 bit rgb with alphaPaul B Mahol2013-05-03
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '7f75f2f2bd692857c1c1ca7f414eb30ece3de93d'Michael Niedermayer2013-05-01
|\| | | | | | | | | | | | | | | | | * commit '7f75f2f2bd692857c1c1ca7f414eb30ece3de93d': ppc: Drop unnecessary ff_ name prefixes from static functions x86: Drop unnecessary ff_ name prefixes from static functions arm: Drop unnecessary ff_ name prefixes from static functions Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
| |
* | sws: share xyzgamma tables.Michael Niedermayer2013-05-01
| | | | | | | | | | | | | | | | They are currently always constant and thus theres no point to store them in the context. This makes the context 16kb smaller Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: fix typo in xyz2rgb matrix use.Michael Niedermayer2013-04-28
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: Check for malloc failure of rgb0_tmpMichael Niedermayer2013-04-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: support xyz inputMichael Niedermayer2013-04-28
| | | | | | | | | | The implementation is heavily based on Matthias Buerchers and Nicolas Bertrands vf_xyz2rgb.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: remove hack to support partial convert / xyz bswapingMichael Niedermayer2013-04-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: enable xyz12, this for now is just for swaping between le and beMichael Niedermayer2013-04-28
| | | | | | | | | | | | Needed for fixing fate Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: add 16bit gbrp formats to packed_16bpc_bswap()Michael Niedermayer2013-04-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: extend packed_16bpc_bswap code to handle planar formatsMichael Niedermayer2013-04-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix libswscale compilation with --disable-optimizations on x86-32.Carl Eugen Hoyos2013-04-18
| | | | | | | | Fixes ticket #2477.
* | sws: Skip ff_yuv2rgb_c_init_tables() when the output is YUVMichael Niedermayer2013-04-16
| | | | | | | | | | | | Fixes "20bpp not supported by yuv2rgb" warning Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/fill_rgb2yuv_table: use ROUNDED_DIVMichael Niedermayer2013-04-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/fill_rgb2yuv_table: increase precission to 32bitMichael Niedermayer2013-04-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/fill_rgb2yuv_table: avoid 2 divisionsMichael Niedermayer2013-04-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: fix alignment of rgb2yuvMichael Niedermayer2013-04-16
| | | | | | | | | | | | This should fix mingw32 fate Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv tableMichael Niedermayer2013-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: remove forgotten FAST_BGR2YV12 defineMichael Niedermayer2013-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/x86: remove 8bit rgb2yuv coefficient case for rgb24toyv12 special converterMichael Niedermayer2013-04-15
| | | | | | | | | | | | | | This simplifies the code and improves quality at the expense of a slight slowdown of a rarely used function (no fate test uses it). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: Update rgb24toyv12_c() to user supplied rgb2yuv tablesMichael Niedermayer2013-04-15
| | | | | | | | | | | | | | | | As the function arguments change, we also change the function name to ensure that anyone using this (non public) function doesnt end with hard to debug crashes. The new name also has a proper prefix. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/"rgb2rgb": drop RGB2YUV_SHIFTMichael Niedermayer2013-04-15
| | | | | | | | | | | | Fixes a warning and increases the precission the coefficients Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/x86: update rgba->yuv to use user supplied tableMichael Niedermayer2013-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/x86: update rgb/bgr->yuv code to use provided coefficient tableMichael Niedermayer2013-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: init input_rgb2yuv_table depending on yuv colorspaceMichael Niedermayer2013-04-15
| | | | | | | | | | | | | | | | For the default table we keep using the exact previous coefficients, this way individual functions can be updated seperately without breaking fate Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: move RGB2YUV_SHIFT to swscale_internal.hMichael Niedermayer2013-04-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/input: replace hardcoded rgb2yuv coefficients by tableMichael Niedermayer2013-04-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/output: fix alpha scale in the new functionsMichael Niedermayer2013-04-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/output: add yuv2rgb_full_1_c_template()Michael Niedermayer2013-04-14
| | | | | | | | | | | | 7500->4500 cycles on sandybridge Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/output: add +yuv2rgb_full_2_c_template()Michael Niedermayer2013-04-14
| | | | | | | | | | | | 8100 cycles -> 5800 cycles on sandybridge Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/output: factor yuv2rgb_write_full() outMichael Niedermayer2013-04-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Replace all occurrences of PRI in sscanf() calls with SCNJames Almer2013-04-10
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa'Michael Niedermayer2013-03-28
|\| | | | | | | | | | | | | | | | | | | * commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa': cosmetics: Remove unnecessary extern keywords from function declarations Conflicts: libswscale/x86/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
| |
* | Merge commit '7b89cd20d844cbe763ca34e63e99d110043cf241'Michael Niedermayer2013-03-12
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '7b89cd20d844cbe763ca34e63e99d110043cf241': eamad: allocate a dummy reference frame when the real one is missing Replace remaining includes of audioconvert.h with channel_layout.h Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*. Conflicts: libavcodec/h264.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.Anton Khirnov2013-03-08
| |
| * swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGBDerek Buitenhuis2013-02-27
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * swscale: Disallow conversion to GBRP16Martin Storsjö2013-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts parts of d6d5ef5534d582, that didn't work right. (The tests that were added failed on big endian, and the output looked garbled on little endian as well.) This is due to the fact that the intermediate scaling values (from e.g. hScale8To19_c or hScale16To19_c) are stored as int32_t and thus requires a separate output function, while yuv2gbrp_full_X_c only interprets it as int16_t. Signed-off-by: Martin Storsjö <martin@martin.st>
* | swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGBDerek Buitenhuis2013-02-27
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | swscale-test: fix 3 pointer type warningsMichael Niedermayer2013-02-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/x86: improve rounding for yuv2yuvXMichael Niedermayer2013-02-15
| | | | | | | | | | | | | | This tries to compensate for the errors introduced by the rounding of pmulhw Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-02-10
|\| | | | | | | | | | | | | | | | | | | * qatar/master: sws: disable yuv2rgb warning for planar rgb. Conflicts: libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sws: disable yuv2rgb warning for planar rgb.Michael Niedermayer2013-02-09
| | | | | | | | | | | | | | planar rgb formats do not use the table Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '7b41c24c5fa221b55a9302efaf1a9eeb38b12551'Michael Niedermayer2013-02-10
|\| | | | | | | | | | | | | | | | | | | * commit '7b41c24c5fa221b55a9302efaf1a9eeb38b12551': sws: dont enable chrSrcHSubSample for planar RGB Conflicts: libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sws: dont enable chrSrcHSubSample for planar RGBMichael Niedermayer2013-02-09
| | | | | | | | | | | | | | | | This code path is not implemented and makes not much sense to implement either. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'e58013dd8f00e17dd98ba64e41c72f1d152f6608'Michael Niedermayer2013-02-10
|\| | | | | | | | | | | | | | | | | | | * commit 'e58013dd8f00e17dd98ba64e41c72f1d152f6608': sws: use planarRgbToRgbWrapper only for 8bit per component Conflicts: libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sws: use planarRgbToRgbWrapper only for 8bit per componentMichael Niedermayer2013-02-09
| | | | | | | | | | | | | | The function doesnt support >8bit currently Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'd6d5ef5534d582f9dbaf18ac2605cf5bb72cd821'Michael Niedermayer2013-02-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd6d5ef5534d582f9dbaf18ac2605cf5bb72cd821': sws: GBRP9, GBRP10, and GBRP16 output support Conflicts: libswscale/output.c libswscale/utils.c tests/ref/lavfi/pixdesc tests/ref/lavfi/pixfmts_copy tests/ref/lavfi/pixfmts_null tests/ref/lavfi/pixfmts_scale tests/ref/lavfi/pixfmts_vflip Merged-by: Michael Niedermayer <michaelni@gmx.at>