summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* swscale: K&R formatting cosmetics for PowerPC code (part II/II)Diego Biurrun2012-03-02
|
* swscale: fix another integer overflow.Ronald S. Bultje2012-02-29
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: fix another integer overflow at large dimensions/rescales.Ronald S. Bultje2012-02-24
|
* swscale: take first/lastline over/underflows into account for MMX.Ronald S. Bultje2012-02-23
| | | | | | | Fixes crashes for extremely large resizes (several 100-fold). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: fix underflows in firstline calculations for extreme resizes.Ronald S. Bultje2012-02-23
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: fix overflows in filterPos[] calculation for large sizes.Ronald S. Bultje2012-02-23
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: fix filtersize clipping.Ronald S. Bultje2012-02-22
| | | | if srcW<=2, clip(x, 1, srcW-2) still allows srcW to be < 1.
* swscale: K&R formatting cosmetics (part I)Diego Biurrun2012-02-21
|
* swscale: variable declaration and placement cosmeticsDiego Biurrun2012-02-21
|
* swscale: K&R formatting cosmetics for PowerPC code (part I/II)Diego Biurrun2012-02-21
|
* Revert two swscale commits.Ronald S. Bultje2012-02-19
| | | | | | | | | | | Revert "swscale: update context offsets after removal of AlpMmxFilter." (commit a95e3fa90b4190381b65d180eec5a4027075e2da) and Revert "swscale: Remove some write-only variables related to alpha handling." (commit 9d03cb9fc5ddf914920ab0dbe13f19a34c754966). They broke alpha handling - it's the evil inline asm that still uses that variable, so it's not truely write-only.
* swscale: make access to filter data conditional on filter type.Ronald S. Bultje2012-02-17
| | | | | Prevents crashes on 1-tap filter (unscaled). Also rename "bguf" argument to "vbuf", seems that was a typo.
* swscale: update context offsets after removal of AlpMmxFilter.Ronald S. Bultje2012-02-17
|
* swscale: make monowhite/black RGB-independent.Ronald S. Bultje2012-02-16
| | | | | | Disadvantage is that it no longer allows modifying brightness through adjustment of the RGB lookup table. Advantage is that now monowhite/black no longer need to be identified as a RGB format.
* swscale: Remove some write-only variables related to alpha handling.Diego Biurrun2012-02-14
|
* swscale: fix crashes in yuv2yuvX on x86-32.Ronald S. Bultje2012-02-13
| | | | | | They were introduced in an earlier commit that introduced use of named arguments. One cause was a typo, a second cause appears to be a bug in x264asm that I work around by not using named arguments.
* Drop some completely unnecessary av_unused attributes.Diego Biurrun2012-02-13
|
* swscale: Remove unused variable alpMmxFilter.Diego Biurrun2012-02-13
|
* swscale: move YUV2PACKED16WRAPPER() macro down to where it is used.Ronald S. Bultje2012-02-13
|
* swscale: handle gray16 as a "planar" YUV format (Y-only, of course).Ronald S. Bultje2012-02-13
| | | | | This allows removing any gray16-specific code, which is essentially identical to the per-plane code in yuv2plane*().
* swscale: use yuv2packed1() functions for unscaled chroma also.Ronald S. Bultje2012-02-13
|
* swscale: fix incorrect chroma bias in yuv2rgb48_1_c().Ronald S. Bultje2012-02-13
|
* swscale: fix invalid memory accesses in yuvpacked1() functions.Ronald S. Bultje2012-02-13
|
* swscale: convert yuv2yuvX() to using named arguments.Ronald S. Bultje2012-02-12
|
* swscale: rename "dstw" to "w" to prevent name collisions.Ronald S. Bultje2012-02-12
| | | | | "dstw" can collide with the word-version of the "dst" argument, causing all kind of weird stuff down the pipe.
* swscale: use named registers in yuv2yuv1_plane() place.Ronald S. Bultje2012-02-12
| | | | | Most of the function had been converted before, but I forgot this particular location.
* swscale: enforce a minimum filtersize.Ronald S. Bultje2012-02-11
| | | | | | | | | | | At very small dimensions, this calculation could lead to zero-sized filters, which leads to uninitialized output, zero-sized allocations, loop overflows in SIMD that uses do{..}while(i++<filtersize); instead of for(i=0;i<filtersize;i++){..} and several other similar failures. Therefore, require a minimum filtersize of 1. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: ppc: Add missing header #includes to pass 'make checkheaders'.Diego Biurrun2012-02-09
|
* pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-08
| | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
* swscale: sign-extend integer function argument to qword on x86-64.Ronald S. Bultje2012-02-08
|
* Remove Sun medialib glue code.Diego Biurrun2012-02-08
| | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
* swscale: make yuv2yuv1 use named registers.Ronald S. Bultje2012-02-07
|
* swscale: fix V plane memory location in bilinear/unscaled RGB/YUYV case.Ronald S. Bultje2012-02-07
| | | | | | Fixes bug 221. CC: libav-stable@libav.org
* swscale: K&R formatting cosmetics for SPARC codeDiego Biurrun2012-02-07
|
* swscale: split C output functions into separate file.Ronald S. Bultje2012-02-07
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: Split C input functions into separate file.Ronald S. Bultje2012-02-07
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* win64: add a XMM clobber test configure option.Ronald S. Bultje2012-02-02
| | | | | | | This will be useful to test more aggressively for failures to mark XMM registers as clobbered in Win64 builds, and prevent regressions thereof. Based on a patch by Ramiro Polla <ramiro.polla@gmail.com>
* swscale: K&R formatting cosmetics for Blackfin codeDiego Biurrun2012-02-02
| | | | Also prettyprint some comments in Assembly code.
* swscale: implement MMX, SSE2 and AVX functions for RGB32 input.Ronald S. Bultje2012-02-01
|
* swscale: enable dithering in MMX functions.Ronald S. Bultje2012-02-01
| | | | | | This was accidently disabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: make rgb24 function macros slightly smaller.Ronald S. Bultje2012-02-01
|
* swscale: remove obsolete comment.Ronald S. Bultje2012-02-01
|
* swscale-test: Drop unused argc and argv arguments from main().Diego Biurrun2012-02-01
|
* swscale: more generic check for planar destination formats with alphaPaul B Mahol2012-01-30
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* swscale: convert rgb/bgr24ToY/UV_mmx functions from inline asm to yasm.Ronald S. Bultje2012-01-27
| | | | Also implement sse2/ssse3/avx versions.
* config.asm: change %ifdef directives to %if directives.Ronald S. Bultje2012-01-27
| | | | This allows combining multiple conditionals in a single statement.
* Revert "sws/pixfmt/pixdesc: add support for yuva444p"Alex Converse2012-01-26
| | | | | | This reverts commit fc115c80b7bf6f1f5a937ee7f6e14630d99eb4dd. Tests are broken.
* sws/pixfmt/pixdesc: add support for yuva444pPaul B Mahol2012-01-27
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cosmetics: Remove some unnecessary block braces.Diego Biurrun2012-01-25
|