summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
...
* 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
|
* cosmetics: Move static and inline attributes to more standard places.Diego Biurrun2012-01-14
| | | | Fixes several "‘static’ is not at beginning of declaration" warnings.
* swscale: change yuv2yuvX code to use cpuflag().Ronald S. Bultje2012-01-13
|
* rgb2rgb: rgb12to15()Paul B Mahol2012-01-12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale-test: fix stack overread.Ronald S. Bultje2012-01-12
| | | | | Fixes problems in swscale-test where it gives a 3-member array to a function expecting a 4-member array.
* swscale: fix invalid conversions and memory problems.Ronald S. Bultje2012-01-12
| | | | | | | | | | Fixes problems where rgbToRgbWrapper() is called even though it doesn't support this particular conversion (e.g. converting from RGB444 to anything). Thirdly, fixes issues where rgbToRgbWrapper() is called for non-native endiannness conversions (e.g. RGB555BE on a LE system). Fourthly, fixes crashes when converting from e.g. monowhite to monowhite, which calls planarCopyWrapper() and overwrites/reads because n_bytes != n_pixels.
* rgb2rgb: rgb12tobgr12()Paul B Mahol2012-01-11
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: fix crash in fast_bilinear code when compiled with -mred-zone.Ronald S. Bultje2012-01-10
| | | | | | | Additional comments from Måns Rullgard have been integrated by Reinhard Tartler. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* swscale: specify register type.Oka Motofumi2012-01-10
| | | | | | Fixes a compilation failure on win64. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rgb2rgb: allow conversion for <15 bppPaul B Mahol2012-01-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: RGB4444 and BGR444 inputPaul B Mahol2012-01-08
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm.Ronald S. Bultje2012-01-08
| | | | Also implement SSE2/AVX variants.