summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* 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: ayuv64le input supportPaul B Mahol2015-07-24
| | | | 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-16
| | | | | | vec_unl() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/utils: Clear pix buffersMichael Niedermayer2015-07-15
| | | | | | | | 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-04
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* 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/swscale_unscaled: Fix rounding difference with RGBA output between ↵Michael Niedermayer2015-06-29
| | | | | | | | 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-23
| | | | | | | 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-23
| | | | | 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-23
| | | | | 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-23
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/rgb2rgb_template: Implement shuffle_bytes_0321_c and fix ↵Michael Niedermayer2015-06-23
| | | | | | 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-22
| | | | | | 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-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>
* Mark vectors as NAN instead of dereferencing NULL pointers on malloc failureMichael Niedermayer2015-06-12
| | | | | Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale: Assert that pixel format descriptor is not NULLMichael Niedermayer2015-06-12
| | | | | | | 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-13
| | | | | | 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-13
| | | | | | 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-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale/x86/hscale_fast_bilinear_simd: Remove ancient out-commented debug codeMichael Niedermayer2015-05-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'rbultje/vp9-profile23-wip'Michael Niedermayer2015-05-07
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-06
| |
* | swscale/x86/hscale_fast_bilinear_simd: Fix variable names in commentsMichael Niedermayer2015-05-07
|/ | | | | 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-27
| | | | | | | | | | 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-23
| | | | | | 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-23
| | | | 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>
* Merge commit '7ebb3022297aa00afda6800105684b8303f2608e'Michael Niedermayer2015-03-22
|\ | | | | | | | | | | | | * commit '7ebb3022297aa00afda6800105684b8303f2608e': swscale: Check memory allocation Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Check memory allocationFederico Tomassetti2015-03-21
| | | | | | | | | | | | | | Bug-Id: CID 1267890 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '9a60b1fad02cb783b895b2145c3dafc01f7b337c'Michael Niedermayer2015-03-16
|\| | | | | | | | | | | | | | | | | | | * 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-15
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | ppc: libswscale: use LOCAL_ALIGNED instead of DECLARE_ALIGNEDChristophe Gisquet2015-03-14
| | | | | | | | | | | | 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-11
| | | | | | | | | | | | 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-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: clear formatConvBuffer on allocationMichael Niedermayer2015-02-27
| | | | | | | | | | | | | | | | 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-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/utils: More carefully merge and clear coefficients outside the inputMichael Niedermayer2015-02-24
| | | | | | | | | | | | | | | | 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-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/yuv2rgb: Use av_clip_uint8()Michael Niedermayer2015-02-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/bayer_template: Add () to protect the argument of BAYER_READ()Michael Niedermayer2015-02-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'e51f22122d23589e93ac4f0b3e570bb925755915'Michael Niedermayer2015-02-17
|\| | | | | | | | | | | | | * commit 'e51f22122d23589e93ac4f0b3e570bb925755915': swscale: Check memory allocations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Check memory allocationsFederico Tomassetti2015-02-17
| | | | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1267888 / CID 1267890 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * swscale: fix gbrap to gbrap alpha scalingVittorio Giovara2015-01-16
| |
| * swscale: fix warning about incompatible function pointer typeVittorio Giovara2015-01-16
| |
* | swscale/utils: Limit filter shifting so as not to read from prior the arrayMichael Niedermayer2015-02-05
| | | | | | | | | | | | | | | | Fixes out of array read Fixes: asan_heap-oob_1fb2f9b_3780_cov_3984375136_usf.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale/input: fix rgba64 alpha non nativeMichael Niedermayer2015-01-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>