summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* swscale: Fix PAL8 input with alphaMichael Niedermayer2013-06-26
| | | | | | Fixes Ticket2158 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale: fix filter alignment reduction without inline asmHendrik Leppkes2013-06-21
| | | | | | | | Fixes scaling in MSVC/ICL, where inline asm is not present, but the YASM scaling code is. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Check more completely for invalid pix_fmts in planarRgb16ToRgb16Wrapper()Carl Eugen Hoyos2013-06-11
| | | | This makes the conversion function more robust.
* swscale/swscale_unscaled: add ()Michael Niedermayer2013-06-10
| | | | | | | Fixes order of operations Fixes CID1030350 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add unscaled converter from GBRP > 8bit to RGBx48/64.Carl Eugen Hoyos2013-06-06
| | | | | | Fixes ticket #2633. Tested-by: Michael Cinquin
* Merge commit 'c011ceef78eae66039efc66d9551a7146e08838a'Michael Niedermayer2013-06-03
|\ | | | | | | | | | | | | | | | | | | | | | | * commit 'c011ceef78eae66039efc66d9551a7146e08838a': swscale: ppc: Remove commented-out define cruft nsvdec: Remove commented-out debug cruft cpu: Restructure code to avoid pointless ret variable indirection Conflicts: libavutil/cpu.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: ppc: Remove commented-out define cruftDiego Biurrun2013-06-02
| |
* | add YUVJ411PMichael Niedermayer2013-05-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/output: silence warning about undefined 'ASSERT_LEVEL'Paul B Mahol2013-05-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale/output: remove unused headerPaul B Mahol2013-05-19
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | sws/output: yuv2rgb_write() assert that alpha has the correct value in the ↵Michael Niedermayer2013-05-18
| | | | | | | | | | | | tables Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/output: init A1/A2 so that rgba64 ends with 0xffff in the absence of ↵Michael Niedermayer2013-05-18
| | | | | | | | | | | | alpha input Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*Michael Niedermayer2013-05-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* Conflicts: doc/APIchanges libavcodec/avpicture.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/tiffenc.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavutil/imgutils.c libavutil/pixdesc.c libavutil/version.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
| |
* | swscale/output: silence compiler warnings about uninitialized variablesMichael Niedermayer2013-05-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/output: remove offset/coef for alpha in rgba64Michael Niedermayer2013-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: RGBA64 outputPaul B Mahol2013-05-12
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/packed_16bpc_bswap: fix handling of negative strideMichael Niedermayer2013-05-12
| |
* | Revert "sws: support endianness conversion for AV_PIX_FMT_RGBA64"Michael Niedermayer2013-05-12
| | | | | | | | | | | | This reverts commit 23f7b14f2851d1d1a969c12b7e337826f0c74a43. This commit broke fate
* | sws: support endianness conversion for AV_PIX_FMT_RGBA64Paul B Mahol2013-05-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | sws: add casts to silence pointer type mismatch warningsMichael Niedermayer2013-05-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/output/yuv2gbrp_full_X_c(): silence warning about uninitialized variableMichael Niedermayer2013-05-10
| | | | | | | | | | | | clang did not show this one, so i missed it in the last batch Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws/output: silence warnings about uninitialized use of variablesMichael Niedermayer2013-05-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: add FF_CEIL_RSHIFT and use it in various places.Clément Bœsch2013-05-09
| |
* | libswscale: simplify isAnyRGB macroPaul B Mahol2013-05-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol2013-05-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | sws: factorize rgb 9+ planar funcs declarations.Clément Bœsch2013-05-07
| |
* | Merge commit '9cfa21c8c2b81146aab574f55c93f27e5c2d435c'Michael Niedermayer2013-05-07
|\| | | | | | | | | | | | | | | | | | | | | * commit '9cfa21c8c2b81146aab574f55c93f27e5c2d435c': swscale: support endianness conversion for AV_PIX_FMT_XYZ12 Conflicts: libswscale/swscale_unscaled.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: support endianness conversion for AV_PIX_FMT_XYZ12Janne Grunau2013-05-06
| |
* | Merge commit 'c1eb3e7fecdc270e03a700d61ef941600a6af491'Michael Niedermayer2013-05-07
|\| | | | | | | | | | | | | | | | | | | | | * commit 'c1eb3e7fecdc270e03a700d61ef941600a6af491': swscale: add support for endianness only conversion Conflicts: libswscale/utils.c libswscale/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: add support for endianness only conversionJanne Grunau2013-05-06
| | | | | | | | Use bitfields in FormatEntry array to avoid wasting an int for each flag.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-06
|\| | | | | | | | | | | | | * qatar/master: swscale: Use alpha from the right row in yuva2rgba_c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Use alpha from the right row in yuva2rgba_cMartin Storsjö2013-05-06
| | | | | | | | | | | | | | | | | | | | Every other pixel had the alpha channel taken from the wrong row. This fixes bug 504. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '6c5eac9a603a91a707d030d96ba97e2ef6b3ce50'Michael Niedermayer2013-05-06
|\| | | | | | | | | | | | | | | | | | | | | * commit '6c5eac9a603a91a707d030d96ba97e2ef6b3ce50': swscale: Remove unnecessary backslashes jpeg2000: Fix uninitialized data errors pointed out by valgrind/memcheck Conflicts: libavcodec/jpeg2000dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Remove unnecessary backslashesMartin Storsjö2013-05-06
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '2b677ffca54a5fbef9c8860841c32f28ecd68f70'Michael Niedermayer2013-05-05
|\| | | | | | | | | | | | | | | | | | | * commit '2b677ffca54a5fbef9c8860841c32f28ecd68f70': swscale: Add av_cold attributes to init functions missing them Conflicts: libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>