summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* sws: replace all long with int.Anton Khirnov2011-05-2815-410/+410
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: fix crash in bilinear scaling.Ronald S. Bultje2011-05-283-78/+66
|
* swscale: Remove unused variables in x86 code.Diego Biurrun2011-05-271-4/+0
| | | | | | | libswscale/x86/swscale_template.c:2072: warning: unused variable ‘canMMX2BeUsed’ libswscale/x86/swscale_template.c:2145: warning: unused variable ‘canMMX2BeUsed’ libswscale/x86/swscale_template.c:2209: warning: unused variable ‘chrVPixBuf’ libswscale/x86/swscale_template.c:2237: warning: unused variable ‘chrVSrcPtr’
* swscale: delay allocation of formatConvBuffer().Ronald S. Bultje2011-05-271-1/+1
| | | | | That means it won't be allocated when not needed. Alongside this, it fixes valgrind/fate-detected memory leaks.
* swscale: fix build with --disable-swscale-alpha.Ronald S. Bultje2011-05-271-4/+4
|
* swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.Ronald S. Bultje2011-05-271-4/+6
|
* swscale: fix compile on ppc.Ronald S. Bultje2011-05-264-34/+45
|
* swscale: fix compile on x86-32.Ronald S. Bultje2011-05-261-1/+1
|
* swscale: use av_clip_uint8() in yuv2yuv1_c().Ronald S. Bultje2011-05-261-17/+3
|
* swscale: remove VOF/VOFW.Ronald S. Bultje2011-05-262-16/+7
|
* swscale: split chroma buffers into separate U/V planes.Ronald S. Bultje2011-05-265-265/+359
| | | | Preparatory step to implement support for sizes > VOFW.
* swscale: replace formatConvBuffer[VOF] by allocated array.Ronald S. Bultje2011-05-263-7/+6
| | | | | This allows to convert between formats of arbitrary width, regardless of the value of VOF/VOFW.
* rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.Ronald S. Bultje2011-05-262-35/+41
| | | | | | | Many functions have such a prefix, but do not actually use any instructions or features from that set, thus giving the false impression that swscale is highly optimized for a particular system, whereas in reality it is not.
* swscale: reindent h[cy]scale_fast() and updateDitherTables().Ronald S. Bultje2011-05-261-131/+132
|
* swscale: reformat x86/swscale_template.c.Ronald S. Bultje2011-05-261-852/+868
| | | | | | Interleave macros and code so that it's easier to find the actual code that belongs to a function. Also reindent where appropriate and remove dead code.
* swscale: remove duplicate mmx/mmx2 functions if they are identical.Ronald S. Bultje2011-05-261-1/+12
|
* swscale: remove if (c->dstFormat) branch from yuv2packed[12X]().Ronald S. Bultje2011-05-261-136/+234
| | | | | This allows cutting up the function in much smaller and easier- to-maintain chunks.
* swscale: remove if(full_chr_int) from yuv2packed1().Ronald S. Bultje2011-05-262-10/+0
| | | | | | If that flag is set, swScale() already proxies the call to yuv2rgbXinC_full(). Therefore, this flag is never set when yuv2packed1() is called.
* swscale: remove if(accurate_rnd) branch from functions.Ronald S. Bultje2011-05-261-16/+42
|
* swscale: revive SWS_CPU_CAPS until next major bump.Anton Khirnov2011-05-261-0/+16
|
* swscale: Remove commented-out printf cruft.Diego Biurrun2011-05-264-10/+0
|
* swscale: Remove orphaned, commented-out function declaration.Diego Biurrun2011-05-261-8/+0
|
* swscale: Eliminate rgb24toyv12_c() duplication.Michael Niedermayer2011-05-263-51/+8
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: unbreak the build on non-x86 systems.Ronald S. Bultje2011-05-241-2/+6
|
* swscale: remove if(bitexact) branch from functions.Ronald S. Bultje2011-05-241-23/+11
| | | | | | | Instead, only set the function pointers if bitexact flag is not set during initialization. Since a change in flags triggers a re-init anyway, this doesn't situations where flag values change during runtime.
* swscale: remove if(canMMX2BeUsed) conditional.Ronald S. Bultje2011-05-241-91/+8
| | | | | | Instead, set function pointers conditionally during init. This patch also reveals a whole branch of dead assembly code that is therefore also removed.
* swscale: remove swScale_{c,MMX,MMX2} duplication.Ronald S. Bultje2011-05-243-302/+28
|
* swscale: use emms_c().Ronald S. Bultje2011-05-242-5/+3
|
* swscale: remove dead macro WRITEBGR24OLD.Ronald S. Bultje2011-05-241-56/+0
|
* swscale: remove AMD3DNOW "optimizations".Ronald S. Bultje2011-05-242-35/+2
| | | | | | The functions are identical to their MMX counterparts. Thus, pretending that swscale is highly optimized for AMD3DNOW extensions is a poorly executed practical joke at best.
* swscale: remove duplicate code in ppc/ subdirectory.Ronald S. Bultje2011-05-242-794/+3
|
* swscale: remove duplicated x86/ functions.Ronald S. Bultje2011-05-241-196/+16
|
* swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.Ronald S. Bultje2011-05-2416-340/+171
|
* Fix 9/10 bit in swscale.Kieran Kunhya2011-05-231-4/+4
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: point out an alternative to sws_getContextClément Bœsch2011-05-211-0/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* [PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats.Ronald S. Bultje2011-05-141-49/+0
| | | | | | Also remove code that overwrites the C versions of functions in sws_init_swScale_altivec(), so that it uses the C functions of files if no altivec-optimized version exists.
* swscale: properly inline bits/endianness in yuv2yuvX16inC().Ronald S. Bultje2011-05-131-4/+25
|
* swscale: fix clipping of 9/10bit YUV420P.Ronald S. Bultje2011-05-131-17/+18
|
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-121-2/+0
| | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* swscale: fix YUV420P 9/10bit support.Ronald S. Bultje2011-05-116-56/+173
| | | | | | | Fix handling of input if not in native endianness, and add support for 9/10-bit output. This allows us to force endianness of YUV420P 9/10bit in the H264/10bit fate tests, which should fix them on big-endian systems.
* AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-05-101-33/+33
| | | | This breaks API and ABI.
* Add pixel formats for 9- and 10-bit yuv420p.Oskar Arvidsson2011-05-104-1/+70
| | | | | | | | Also add support for these formats in libswscale. Needed for high bit depth h264 decoding. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-04-286-3/+113
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* sws: remove disabled cruft.Anton Khirnov2011-04-195-69/+0
|
* lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov2011-04-191-1/+1
|
* Bump major versions of all libraries.Anton Khirnov2011-04-181-2/+2
| | | | | | They've accumulated enough new APIs and corresponding deprecated cruft. This breaks API and ABI.
* swscale: fix "ISO C90 forbids mixed declarations and code" warningJanne Grunau2011-04-151-6/+4
| | | | only hit with --enable-runtime-cpudetect
* swscale: fix compilation with --enable-runtime-cpudetectJanne Grunau2011-04-152-53/+80
|
* swscale: correct include path to fix ppc altivec buildJanne Grunau2011-04-151-1/+1
|
* swscale: simplify rgb2rgb templatingLuca Barbato2011-04-142-302/+1
| | | | MMX is always built. Drop the ifdefs
OpenPOWER on IntegriCloud