summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
...
* swscale: handle last pixel if lines have an odd width.Ronald S. Bultje2012-04-131-12/+12
| | | | Fixes bug 270.
* swscale: K&R formatting cosmetics (part II)Diego Biurrun2012-04-133-920/+1128
| | | | Also adjust some comments including wording and typo fixes.
* build: Move all arch OBJS declarations into arch subdirectory Makefiles.Diego Biurrun2012-04-125-16/+16
|
* build: Consistently handle conditional compilation for all optimization OBJS.Diego Biurrun2012-04-121-4/+4
|
* x86inc improvements for 64-bitHenrik Gramner2012-04-112-16/+6
| | | | | | | | | | | | Add support for all x86-64 registers Prefer caller-saved register over callee-saved on WIN64 Support up to 15 function arguments Also (by Ronald S. Bultje) Fix up our asm to work with new x86inc.asm. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ppc: Add/remove a number of const qualifiers to fix related warnings.Diego Biurrun2012-04-091-5/+5
|
* swscale: handle complete dimensions for monoblack/white.Ronald S. Bultje2012-04-042-5/+11
| | | | Fixes bug 269.
* Unscaled Planar RGB -> RGB support in swscale.Hans-Kristian Arntzen2012-04-032-0/+113
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* build: Only clean the architecture subdirectory we build for.Diego Biurrun2012-03-261-2/+0
| | | | | This allows simplifying the Makefiles; it is no longer necessary to register arch subdirectory Makefiles, just putting them in place is enough.
* build: prettyprinting cosmeticsDiego Biurrun2012-03-261-2/+8
|
* swscale: convert hscale() to use named arguments.Ronald S. Bultje2012-03-141-94/+98
|
* swscale: convert hscale to cpuflags().Ronald S. Bultje2012-03-141-35/+37
|
* swscale: clip unscaled output intermediates.Ronald S. Bultje2012-03-071-0/+36
| | | | | Fixes bug 240, as well as several integer overflows (visible as glitches) in other scaling output routines, e.g. YUV422.
* swscale: make filterPos 32bit.Ronald S. Bultje2012-03-067-38/+41
| | | | | | | Fixes overflows for large image sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: remove "cpu flags" from -sws_flags description.Ronald S. Bultje2012-03-041-1/+1
|
* swscale: make %rep unconditional.Ronald S. Bultje2012-03-031-4/+7
| | | | Fixes pre-processing with latest versions of nasm.
* swscale: remove now unnecessary hack.Ronald S. Bultje2012-03-031-1/+1
|
* swscale: K&R formatting cosmetics for PowerPC code (part II/II)Diego Biurrun2012-03-021-612/+642
|
* swscale: fix another integer overflow.Ronald S. Bultje2012-02-291-1/+1
| | | | | 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-241-1/+1
|
* swscale: take first/lastline over/underflows into account for MMX.Ronald S. Bultje2012-02-231-0/+38
| | | | | | | 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-231-3/+3
| | | | | 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-231-7/+7
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* swscale: fix filtersize clipping.Ronald S. Bultje2012-02-221-1/+2
| | | | if srcW<=2, clip(x, 1, srcW-2) still allows srcW to be < 1.
* swscale: K&R formatting cosmetics (part I)Diego Biurrun2012-02-214-897/+980
|
* swscale: variable declaration and placement cosmeticsDiego Biurrun2012-02-212-117/+90
|
* swscale: K&R formatting cosmetics for PowerPC code (part I/II)Diego Biurrun2012-02-212-303/+314
|
* Revert two swscale commits.Ronald S. Bultje2012-02-193-6/+22
| | | | | | | | | | | 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-171-10/+20
| | | | | 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-172-7/+6
|
* swscale: make monowhite/black RGB-independent.Ronald S. Bultje2012-02-161-21/+36
| | | | | | 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-142-15/+0
|
* swscale: fix crashes in yuv2yuvX on x86-32.Ronald S. Bultje2012-02-131-2/+2
| | | | | | 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-131-4/+2
|
* swscale: Remove unused variable alpMmxFilter.Diego Biurrun2012-02-131-1/+0
|
* swscale: move YUV2PACKED16WRAPPER() macro down to where it is used.Ronald S. Bultje2012-02-131-46/+46
|
* swscale: handle gray16 as a "planar" YUV format (Y-only, of course).Ronald S. Bultje2012-02-132-88/+1
| | | | | 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-131-2/+2
|
* swscale: fix incorrect chroma bias in yuv2rgb48_1_c().Ronald S. Bultje2012-02-131-2/+2
|
* swscale: fix invalid memory accesses in yuvpacked1() functions.Ronald S. Bultje2012-02-131-10/+10
|
* swscale: convert yuv2yuvX() to using named arguments.Ronald S. Bultje2012-02-121-11/+11
|
* swscale: rename "dstw" to "w" to prevent name collisions.Ronald S. Bultje2012-02-121-23/+23
| | | | | "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-121-1/+1
| | | | | Most of the function had been converted before, but I forgot this particular location.
* swscale: enforce a minimum filtersize.Ronald S. Bultje2012-02-111-1/+1
| | | | | | | | | | | 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-091-0/+4
|
* pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-081-1/+3
| | | | | | 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-081-0/+1
|
* Remove Sun medialib glue code.Diego Biurrun2012-02-084-94/+1
| | | | | 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-071-25/+25
|
* swscale: fix V plane memory location in bilinear/unscaled RGB/YUYV case.Ronald S. Bultje2012-02-071-12/+12
| | | | | | Fixes bug 221. CC: libav-stable@libav.org
OpenPOWER on IntegriCloud