summaryrefslogtreecommitdiff
path: root/libswscale/output.c
Commit message (Collapse)AuthorAge
* swscale: fix gbrap16 alpha channel issuesJames Cowgill2017-08-05
| | | | | | | | | | | | | Fixes filter-pixfmts-scale test failing on big-endian systems due to alpSrc not being cast to (const int32_t**). Also fixes distortions in the output alpha channel values by copying the alpha channel code from the rgba64 case found elsewhere in output.c. Fixes ticket 6555. Signed-off-by: James Cowgill <James.Cowgill@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: add gbr(a)p16 output supportPaul B Mahol2016-12-01
|
* swscale: Add GBRAP10 outputMichael Niedermayer2016-11-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Add the GBRAP12 outputLuca Barbato2016-11-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/output: Fix alpha shift in yuv2gbrp_full_X_c()Michael Niedermayer2016-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>
* swscale: add support for P010LE/BE outputTimo Rothenpieler2016-08-31
|
* swscale/output: Fix rounding offset in yuv2gbrp_full_X_c()Michael Niedermayer2016-08-23
| | | | 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>
| * Drop pointless assert.h #includesDiego Biurrun2016-05-03
| |
* | swscale: cleanup unused codePedro Arthur2016-03-31
| | | | | | | | | | Removed previous swscale code under '#ifndef NEW_FILTER' and removed unused fields of SwsContext
* | sws/output: fix ordered dither threshold for mono outputMichael Niedermayer2016-02-10
| | | | | | | | | | | | This makes sure that white stays white and black black Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/output: Assert that yalpha and uvalpha are within their expected rangeMichael Niedermayer2016-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/output: fix undefined left shifts of negative numbersGanesh Ajjanagadde2015-09-20
| | | | | | | | | | | | | | | | This fixes -Wshift-negative-value reported with clang 3.7+, e.g http://fate.ffmpeg.org/log.cgi?time=20150918181527&log=compile&slot=x86_64-darwin-clang-polly-vectorize-stripmine-3.7. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace all remaining occurances of step/depth_minus1 and offset_plus1Hendrik Leppkes2015-09-08
| |
* | 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/output: Fix "warning: assignment from incompatible pointer type"Michael Niedermayer2015-07-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale: ayuv64le output supportPaul B Mahol2015-07-24
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale/output: fix input indexing in yuv2ya8_2_c()Michael Niedermayer2015-07-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/output: fix null pointer dereference in yuv2ya8_2_c()Michael Niedermayer2015-07-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: implement YA8 outputPaul B Mahol2015-07-02
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale/output: Add rgba64/rgb48/bgra64/bgr48 output functions with full ↵Michael Niedermayer2015-06-17
| | | | | | | | | | | | chroma interpolation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/output: Factorize rgb48 and 64bit codeMichael Niedermayer2015-06-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/output: Fix undefined shiftsMichael Niedermayer2015-03-25
| | | | | | | | | | | | | | Fixes: da14e86d8462be6493eab16bc2d40f88/asan_heap-oob_204cfd2_528_cov_340150052_COMPRESS.BMP Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Use av_clip_uintp2()Michael Niedermayer2015-02-21
| | | | | | | | 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: add two spatially stable dithering methodsØyvind Kolås2014-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | Both of these dithering methods are from http://pippin.gimp.org/a_dither/ for GIF they can be considered better than bayer (provides more gray-levels), and spatial stability - often more than twice as good compression and less visual flicker than error diffusion methods (the methods also avoids error-shadow artifacts of diffusion dithers). These methods are similar to blue/green noise type dither masks; but are simple enough to generate their mask on the fly. They are still research work in progress; though more expensive to generate masks (which can be used in a LUT) like 'void and cluster' and similar methods will yield superior results
* | Merge commit 'aa2ba8c99e5708884a56aea9c1d96e014866f8a3'Michael Niedermayer2013-08-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'aa2ba8c99e5708884a56aea9c1d96e014866f8a3': swscale: Move extern declarations for tables to swscale_internal.h Conflicts: libswscale/output.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Move extern declarations for tables to swscale_internal.hDiego Biurrun2013-08-15
| | | | | | | | Also add missing ff_ prefixes where necessary.
* | sws: add dither enumMichael Niedermayer2013-08-15
| | | | | | | | | | | | | | | | | | | | | | This allows specifying more dither algorithms without using up flags and without ambiguities. Also initialize the new field based on the flags and use it. Note, improving the logic of the checks is left to subsequent commits, this here only switches from flags to enum. 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>
* | 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/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>
* | libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol2013-05-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | 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>