summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* swscale/utils: If cascaded contexts are used forward ↵Michael Niedermayer2015-08-31
| | | | | | sws_setColorspaceDetails() to the first context Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/utils: Split scaling if possible and yuv->yuv with different ↵Michael Niedermayer2015-08-31
| | | | | | | | | | | matrixes is requested This uses a RGB intermediate, a more optimal solution would be to perform the rematrixing directly in subsampled YUV, this is quite a bit more complicated though Fixes Ticket4805 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Silence an unused variable warningTimothy Gu2015-08-25
| | | | Also remove a pair of extraneous ifdeffery.
* swscale/alphablend: fix pointer castGanesh Ajjanagadde2015-08-22
| | | | | | Commit 7c72a4bbd3a0ca421c7419abad2fb65aa713dd8b was slightly wrong Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* swscale/alphablend: Fix pointer type warningsMichael Niedermayer2015-08-21
| | | | | Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: refactor vertical scalerPedro Arthur2015-08-19
|
* swscale: Fixed typosPedro Arthur2015-08-18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: fixed compiler warningsPedro Arthur2015-08-18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: add license headers and copyrightsPedro Arthur2015-08-18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: process horizontal lines in batchesPedro Arthur2015-08-18
| | | | | | Process more lines in a single pass to improve performance Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: refactor horizontal scalingPedro Arthur2015-08-18
| | | | | | | + split color conversion from scaling - disabled gamma correction, until it's refactored too Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/swscale-test: Fix slice height in random reference data creation.Michael Niedermayer2015-08-17
| | | | | Found-by: Pedro Arthur <bygrandao@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: Support chroma subsamplingMichael Niedermayer2015-08-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: Support SWS_ALPHA_BLEND_CHECKERBOARDMichael Niedermayer2015-08-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: Factor target computation out of the loopsMichael Niedermayer2015-08-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: Fix big endian formats on LEMichael Niedermayer2015-08-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/alphablend: support packed pixel formatsMichael Niedermayer2015-08-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/swscale: Document param[0..1]Michael Niedermayer2015-08-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Implement alphablendaway for planar 4:4:4 formatsMichael Niedermayer2015-08-08
| | | | | | Fixes Ticket4746 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: Add sws_alloc_set_opts()Michael Niedermayer2015-08-08
| | | | | | | 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-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>