summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* swscale/alphablend: Support chroma subsamplingMichael Niedermayer2015-08-092-15/+62
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: Support SWS_ALPHA_BLEND_CHECKERBOARDMichael Niedermayer2015-08-093-11/+18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: Factor target computation out of the loopsMichael Niedermayer2015-08-091-8/+9
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: Fix big endian formats on LEMichael Niedermayer2015-08-091-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: support packed pixel formatsMichael Niedermayer2015-08-092-11/+53
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/swscale: Document param[0..1]Michael Niedermayer2015-08-091-0/+6
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Implement alphablendaway for planar 4:4:4 formatsMichael Niedermayer2015-08-085-1/+192
| | | | | | Fixes Ticket4746 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Add sws_alloc_set_opts()Michael Niedermayer2015-08-082-4/+30
| | | | | | | 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/output: Fix "warning: assignment from incompatible pointer type"Michael Niedermayer2015-07-251-4/+8
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: ayuv64le output supportPaul B Mahol2015-07-242-1/+49
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* swscale: ayuv64le input supportPaul B Mahol2015-07-244-0/+40
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* swscale/ppc/yuv2rgb_altivec: POWER LE support in the macros vec_unh() and ↵Rong Yan2015-07-161-0/+5
| | | | | | vec_unl() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/utils: Clear pix buffersMichael Niedermayer2015-07-151-3/+3
| | | | | | | | Fixes use of uninitialized memory Fixes: a96874b9466b6edc660a519c7ad47977_signal_sigsegv_7ffff713351a_744_nc_sample.avi with memlimit 2147483648 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* YUV->BGR32 MMX supportKevin Coyle2015-07-041-0/+30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/output: fix input indexing in yuv2ya8_2_c()Michael Niedermayer2015-07-041-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/output: fix null pointer dereference in yuv2ya8_2_c()Michael Niedermayer2015-07-031-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale: implement YA8 outputPaul B Mahol2015-07-022-1/+97
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* swscale/swscale_unscaled: Fix rounding difference with RGBA output between ↵Michael Niedermayer2015-06-291-0/+5
| | | | | | | | little and big endian Fixes fate/dds-rgb16 on big endian Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/x86/rgb2rgb_template: fix signedness of v in ↵James Almer2015-06-231-1/+1
| | | | | | | shuffle_bytes_2103_{mmx,mmxext} Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* swscale/x86/rgb2rgb_template: don't call emms on sse2/avx functionsJames Almer2015-06-231-0/+4
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* swscale/x86/rgb2rgb_template: add missing xmm clobbersJames Almer2015-06-231-1/+1
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* swscale/rgb2rgb_template: Fix signedness of v in shuffle_bytes_2103_c()Michael Niedermayer2015-06-231-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/rgb2rgb_template: Implement shuffle_bytes_0321_c and fix ↵Michael Niedermayer2015-06-233-3/+21
| | | | | | shuffle_bytes_2103_c on BE Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/rgb2rgb_template: Disable shuffle_bytes_2103_c on big endianMichael Niedermayer2015-06-221-0/+2
| | | | | | The function is specific to little endian Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/output: Add rgba64/rgb48/bgra64/bgr48 output functions with full ↵Michael Niedermayer2015-06-172-1/+289
| | | | | | chroma interpolation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/output: Factorize rgb48 and 64bit codeMichael Niedermayer2015-06-171-211/+71
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Mark vectors as NAN instead of dereferencing NULL pointers on malloc failureMichael Niedermayer2015-06-121-0/+38
| | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale: Assert that pixel format descriptor is not NULLMichael Niedermayer2015-06-122-0/+3
| | | | | | | This may help static analyzers, the pixel format is checked during initialization Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libswscale/x86/hscale_fast_bilinear_simd.c: There's no need to save BX if ↵Nick Lewycky2015-05-131-37/+24
| | | | | | it's in the clobber list. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libswscale/x86/hscale_fast_bilinear_simd.c: Include BX in the clobber list ↵Nick Lewycky2015-05-131-2/+2
| | | | | | on x86_64, because it isn't implicitly included when PIC is on. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/x86/swscale: Fix warning about loosing significant bits in castMichael Niedermayer2015-05-101-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/x86/hscale_fast_bilinear_simd: Remove ancient out-commented debug codeMichael Niedermayer2015-05-071-2/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'rbultje/vp9-profile23-wip'Michael Niedermayer2015-05-073-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rbultje/vp9-profile23-wip: libvpxdec: add 440 pixfmts. vp9: add profile 2/3 fate tests. vp9: add inter-frame profile 2/3 suport. vp9: add keyframe profile 2/3 support. vp9: parse profile 2/3 bitdepth in frame header. vp9: add profile 2/3 to exported profiles. fate: add/update reference files for 440 addition. swscale: add yuv440p10/12 pixfmts. lavc: add yuv440p10/12 formats to aligned pixfmt list. lavu: add yuv440p10/12 pixfmts. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: add yuv440p10/12 pixfmts.Ronald S. Bultje2015-05-063-0/+14
| |
* | swscale/x86/hscale_fast_bilinear_simd: Fix variable names in commentsMichael Niedermayer2015-05-071-2/+2
|/ | | | | Found-by: Nick Lewycky <nlewycky@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/ppc/swscale_altivec.c: POWER LE support in yuv2planeX_8() delete ↵Rong Yan2015-04-271-9/+2
| | | | | | | | | | macro GET_VF() it was wrong GCC tool had a bug of PPC intrinsic interpret, which has been fixed in GCC 4.9.1. This bug lead to errors in two of our previous patches. We found this when we update our GCC tools to 4.9.1 and by reading the related info on GCC website. We fix our previous error in two separate commits Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/swscale: Get rid of the SWS_GAMMA_CORRECT flagMichael Niedermayer2015-04-234-15/+11
| | | | | | 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-235-1/+139
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/output: Fix undefined shiftsMichael Niedermayer2015-03-251-2/+2
| | | | | | | 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>
* Merge commit '7ebb3022297aa00afda6800105684b8303f2608e'Michael Niedermayer2015-03-221-8/+14
|\ | | | | | | | | | | | | * commit '7ebb3022297aa00afda6800105684b8303f2608e': swscale: Check memory allocation Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Check memory allocationFederico Tomassetti2015-03-211-8/+14
| | | | | | | | | | | | | | Bug-Id: CID 1267890 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '9a60b1fad02cb783b895b2145c3dafc01f7b337c'Michael Niedermayer2015-03-161-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '9a60b1fad02cb783b895b2145c3dafc01f7b337c': libswscale: fix compiler warnings enumerated type mixed with another type Conflicts: libswscale/swscale_unscaled.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libswscale: fix compiler warnings enumerated type mixed with another typeHimangi Saraogi2015-03-151-1/+1
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | ppc: libswscale: use LOCAL_ALIGNED instead of DECLARE_ALIGNEDChristophe Gisquet2015-03-141-2/+2
| | | | | | | | | | | | The later may yield incorrect code for on-stack variables. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: Fix undefined shift in initFilter()Michael Niedermayer2015-03-111-1/+1
| | | | | | | | | | | | Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <tfoucu@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Add prefix to updateMMXDitherTables()Michael Niedermayer2015-02-273-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: clear formatConvBuffer on allocationMichael Niedermayer2015-02-271-1/+1
| | | | | | | | | | | | | | | | Fixes use of uninitialized memory Fixes: asan_heap-oob_35ca682_1474_cov_3230122439_aletrek_tga_16bit.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: add asserts to check filterposMichael Niedermayer2015-02-241-0/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: More carefully merge and clear coefficients outside the inputMichael Niedermayer2015-02-241-5/+15
| | | | | | | | | | | | | | | | Fixes out of array read Fixes: asan_heap-oob_35ca682_1474_cov_3230122439_aletrek_tga_16bit.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Use av_clip_uintp2()Michael Niedermayer2015-02-212-18/+18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud