summaryrefslogtreecommitdiff
path: root/libswscale/input.c
Commit message (Collapse)AuthorAge
* avutil/internal, swresample/audioconvert: Remove cpu.h inclusionsAndreas Rheinhardt2021-07-22
| | | | | | | | | | These inclusions are not necessary, as cpu.h is already included wherever it is needed (via direct inclusion or via the arch-specific headers). Also remove other unnecessary cpu.h inclusions from ordinary non-headers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* libswcale/input: use more accurate planer rgb16 yuv conversionsMark Reid2020-10-06
| | | | | | | These conversion appears to be exhibiting the same rounding error as the rgbf32 formats where. I seperated the rounding value from the 16 and 128 offsets, I think it makes it a little more clear. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libswcale/input: use more accurate rgbf32 yuv conversionsMark Reid2020-10-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/yuv2rgb: consider x2rgb10le on big endian hardwareFei Wang2020-07-20
| | | | | | | This fixed FATE fail report by filter-pixfmts* for x2rgb10le on big endian hardware. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Add swscale input/output support for X2RGB10LEFei Wang2020-06-12
| | | | Signed-off-by: Fei Wang <fei.w.wang@intel.com>
* libswscale: add input support AV_PIX_FMT_GBRAPF32Mark Reid2020-05-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lsws/input: Do not change transparency range.Carl Eugen Hoyos2020-03-11
| | | | Fixes ticket #8509.
* swscale: Add swscale input support for Y210LELinjie Fu2020-02-24
| | | | | | | | Add swscale input support for Y210LE, output support and fate test could be added later if there is requirement for software CSC to this packed format. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
* swscale/input: Fix several invalid shifts related to rgb2yuv constantsMichael Niedermayer2020-01-22
| | | | | | | | Fixes: Invalid shifts Fixes: #8140 Fixes: #8146 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Add support for NV24 and NV42Philip Langdale2019-05-12
| | | | | | | | | | | The implementation is pretty straight-forward. Most of the existing NV12 codepaths work regardless of subsampling and are re-used as is. Where necessary I wrote the slightly different NV24 versions. Finally, the one thing that confused me for a long time was the asm specific x86 path that did an explicit exclusion check for NV12. I replaced that with a semi-planar check and also updated the equivalent PPC code, which Lauri kindly checked.
* swscale : add support for YUVA444P12 and YUVA422P12Martin Vignali2018-11-24
|
* libswscale: Adds conversions from/to float gray format.Sergey Lavrushkin2018-08-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: add gray14 supportPaul B Mahol2018-05-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* libswscale: add gray9 supportPaul B Mahol2017-08-07
|
* Merge commit 'de8e096c7eda2bce76efd0a1c1c89d37348c2414'Clément Bœsch2017-03-21
|\ | | | | | | | | | | | | * commit 'de8e096c7eda2bce76efd0a1c1c89d37348c2414': swscale: Consistently order input YUV pixel formats Merged-by: Clément Bœsch <u@pkh.me>
| * swscale: Consistently order input YUV pixel formatsVittorio Giovara2016-09-27
| | | | | | | | | | | | | | Follow a 420, 422, 444 order instead of a random one. This simplifies double-checking additions of new formats. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * swscale: add P010 input supportHendrik Leppkes2016-07-02
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * swscale: fix gbrap to gbrap alpha scalingVittorio Giovara2015-01-16
| |
| * swscale: fix warning about incompatible function pointer typeVittorio Giovara2015-01-16
| |
| * libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol2015-01-14
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | lsws/input: Do not define unused functions.Carl Eugen Hoyos2017-03-08
| | | | | | | | | | Fixes warnings like the following: libswscale/input.c:951:13: warning: ‘planar_rgb14be_to_a’ defined but not used
* | swscale: add P016 input supportPhilip Langdale2017-02-01
| |
* | 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/input: Fix alpha bswap for set readAlpPlanarMichael Niedermayer2016-11-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: add input support for gbrap10 pixel formatPaul B Mahol2016-06-10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale: cleanup unused codePedro Arthur2016-03-31
| | | | | | | | | | Removed previous swscale code under '#ifndef NEW_FILTER' and removed unused fields of SwsContext
* | Add GBRAP12 pixel formatKieran Kunhya2016-02-24
| | | | | | | | 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: add P010 input supportHendrik Leppkes2016-01-26
| |
* | swscale: ayuv64le input supportPaul B Mahol2015-07-24
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale: add yuv440p10/12 pixfmts.Ronald S. Bultje2015-05-06
| |
* | swscale/input: fix rgba64 alpha non nativeMichael Niedermayer2015-01-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/input: Fix alpha of YA16 inputMichael Niedermayer2015-01-21
| | | | | | | | | | | | Fixes Ticket4278 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.
* | swscale/input: fix harmless integer overflowMichael Niedermayer2014-06-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/input: replace assert() by av_assert1()Michael Niedermayer2014-04-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '92b099daf4b8ef93513e38b43899cb8458a2fde3'Michael Niedermayer2014-04-09
|\| | | | | | | | | | | | | | | | | | | * commit '92b099daf4b8ef93513e38b43899cb8458a2fde3': swscale: support converting YVYU422 pixel format Conflicts: libswscale/input.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: support converting YVYU422 pixel formatVittorio Giovara2014-04-07
| |
* | swscale: add full bgra64 supportMichael Niedermayer2014-04-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: remove unneeded include assert.hMichael Niedermayer2013-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/input: fix 16bit gbrp inputMichael Niedermayer2013-07-19
| | | | | | | | | | | | Fixes Ticket2793 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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
| |
* | 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>
* | sws: add planar RGB formats to isAnyRGBMichael Niedermayer2013-01-26
| | | | | | | | | | | | | | We have to make some symetric changes elsewhere as this increases the precission with which samples are stored. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>