Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sws: replace all long with int. | Anton Khirnov | 2011-05-28 | 15 | -410/+410 |
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | swscale: fix crash in bilinear scaling. | Ronald S. Bultje | 2011-05-28 | 3 | -78/+66 |
| | |||||
* | swscale: Remove unused variables in x86 code. | Diego Biurrun | 2011-05-27 | 1 | -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. Bultje | 2011-05-27 | 1 | -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. Bultje | 2011-05-27 | 1 | -4/+4 |
| | |||||
* | swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions. | Ronald S. Bultje | 2011-05-27 | 1 | -4/+6 |
| | |||||
* | swscale: fix compile on ppc. | Ronald S. Bultje | 2011-05-26 | 4 | -34/+45 |
| | |||||
* | swscale: fix compile on x86-32. | Ronald S. Bultje | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | swscale: use av_clip_uint8() in yuv2yuv1_c(). | Ronald S. Bultje | 2011-05-26 | 1 | -17/+3 |
| | |||||
* | swscale: remove VOF/VOFW. | Ronald S. Bultje | 2011-05-26 | 2 | -16/+7 |
| | |||||
* | swscale: split chroma buffers into separate U/V planes. | Ronald S. Bultje | 2011-05-26 | 5 | -265/+359 |
| | | | | Preparatory step to implement support for sizes > VOFW. | ||||
* | swscale: replace formatConvBuffer[VOF] by allocated array. | Ronald S. Bultje | 2011-05-26 | 3 | -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. Bultje | 2011-05-26 | 2 | -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. Bultje | 2011-05-26 | 1 | -131/+132 |
| | |||||
* | swscale: reformat x86/swscale_template.c. | Ronald S. Bultje | 2011-05-26 | 1 | -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. Bultje | 2011-05-26 | 1 | -1/+12 |
| | |||||
* | swscale: remove if (c->dstFormat) branch from yuv2packed[12X](). | Ronald S. Bultje | 2011-05-26 | 1 | -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. Bultje | 2011-05-26 | 2 | -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. Bultje | 2011-05-26 | 1 | -16/+42 |
| | |||||
* | swscale: revive SWS_CPU_CAPS until next major bump. | Anton Khirnov | 2011-05-26 | 1 | -0/+16 |
| | |||||
* | swscale: Remove commented-out printf cruft. | Diego Biurrun | 2011-05-26 | 4 | -10/+0 |
| | |||||
* | swscale: Remove orphaned, commented-out function declaration. | Diego Biurrun | 2011-05-26 | 1 | -8/+0 |
| | |||||
* | swscale: Eliminate rgb24toyv12_c() duplication. | Michael Niedermayer | 2011-05-26 | 3 | -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. Bultje | 2011-05-24 | 1 | -2/+6 |
| | |||||
* | swscale: remove if(bitexact) branch from functions. | Ronald S. Bultje | 2011-05-24 | 1 | -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. Bultje | 2011-05-24 | 1 | -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. Bultje | 2011-05-24 | 3 | -302/+28 |
| | |||||
* | swscale: use emms_c(). | Ronald S. Bultje | 2011-05-24 | 2 | -5/+3 |
| | |||||
* | swscale: remove dead macro WRITEBGR24OLD. | Ronald S. Bultje | 2011-05-24 | 1 | -56/+0 |
| | |||||
* | swscale: remove AMD3DNOW "optimizations". | Ronald S. Bultje | 2011-05-24 | 2 | -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. Bultje | 2011-05-24 | 2 | -794/+3 |
| | |||||
* | swscale: remove duplicated x86/ functions. | Ronald S. Bultje | 2011-05-24 | 1 | -196/+16 |
| | |||||
* | swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*. | Ronald S. Bultje | 2011-05-24 | 16 | -340/+171 |
| | |||||
* | Fix 9/10 bit in swscale. | Kieran Kunhya | 2011-05-23 | 1 | -4/+4 |
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | swscale: point out an alternative to sws_getContext | Clément Bœsch | 2011-05-21 | 1 | -0/+1 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | [PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats. | Ronald S. Bultje | 2011-05-14 | 1 | -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. Bultje | 2011-05-13 | 1 | -4/+25 |
| | |||||
* | swscale: fix clipping of 9/10bit YUV420P. | Ronald S. Bultje | 2011-05-13 | 1 | -17/+18 |
| | |||||
* | configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. | Diego Biurrun | 2011-05-12 | 1 | -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. Bultje | 2011-05-11 | 6 | -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 Khirnov | 2011-05-10 | 1 | -33/+33 |
| | | | | This breaks API and ABI. | ||||
* | Add pixel formats for 9- and 10-bit yuv420p. | Oskar Arvidsson | 2011-05-10 | 4 | -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 implementation | Peter Ross | 2011-04-28 | 6 | -3/+113 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | sws: remove disabled cruft. | Anton Khirnov | 2011-04-19 | 5 | -69/+0 |
| | |||||
* | lavc: remove the FF_API_SET_STRING_OLD cruft. | Anton Khirnov | 2011-04-19 | 1 | -1/+1 |
| | |||||
* | Bump major versions of all libraries. | Anton Khirnov | 2011-04-18 | 1 | -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" warning | Janne Grunau | 2011-04-15 | 1 | -6/+4 |
| | | | | only hit with --enable-runtime-cpudetect | ||||
* | swscale: fix compilation with --enable-runtime-cpudetect | Janne Grunau | 2011-04-15 | 2 | -53/+80 |
| | |||||
* | swscale: correct include path to fix ppc altivec build | Janne Grunau | 2011-04-15 | 1 | -1/+1 |
| | |||||
* | swscale: simplify rgb2rgb templating | Luca Barbato | 2011-04-14 | 2 | -302/+1 |
| | | | | MMX is always built. Drop the ifdefs |