summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* swscale: fix compile on ppc.Ronald S. Bultje2011-05-26
|
* swscale: fix compile on x86-32.Ronald S. Bultje2011-05-26
|
* swscale: use av_clip_uint8() in yuv2yuv1_c().Ronald S. Bultje2011-05-26
|
* swscale: remove VOF/VOFW.Ronald S. Bultje2011-05-26
|
* swscale: split chroma buffers into separate U/V planes.Ronald S. Bultje2011-05-26
| | | | Preparatory step to implement support for sizes > VOFW.
* swscale: replace formatConvBuffer[VOF] by allocated array.Ronald S. Bultje2011-05-26
| | | | | 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-26
| | | | | | | 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-26
|
* swscale: reformat x86/swscale_template.c.Ronald S. Bultje2011-05-26
| | | | | | 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-26
|
* swscale: remove if (c->dstFormat) branch from yuv2packed[12X]().Ronald S. Bultje2011-05-26
| | | | | 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-26
| | | | | | 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-26
|
* swscale: revive SWS_CPU_CAPS until next major bump.Anton Khirnov2011-05-26
|
* swscale: Remove commented-out printf cruft.Diego Biurrun2011-05-26
|
* swscale: Remove orphaned, commented-out function declaration.Diego Biurrun2011-05-26
|
* swscale: Eliminate rgb24toyv12_c() duplication.Michael Niedermayer2011-05-26
| | | | | 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-24
|
* swscale: remove if(bitexact) branch from functions.Ronald S. Bultje2011-05-24
| | | | | | | 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-24
| | | | | | 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-24
|
* swscale: use emms_c().Ronald S. Bultje2011-05-24
|
* swscale: remove dead macro WRITEBGR24OLD.Ronald S. Bultje2011-05-24
|
* swscale: remove AMD3DNOW "optimizations".Ronald S. Bultje2011-05-24
| | | | | | 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-24
|
* swscale: remove duplicated x86/ functions.Ronald S. Bultje2011-05-24
|
* swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.Ronald S. Bultje2011-05-24
|
* Fix 9/10 bit in swscale.Kieran Kunhya2011-05-23
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: point out an alternative to sws_getContextClément Bœsch2011-05-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* [PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats.Ronald S. Bultje2011-05-14
| | | | | | 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-13
|
* swscale: fix clipping of 9/10bit YUV420P.Ronald S. Bultje2011-05-13
|
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | 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-11
| | | | | | | 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-10
| | | | This breaks API and ABI.
* Add pixel formats for 9- and 10-bit yuv420p.Oskar Arvidsson2011-05-10
| | | | | | | | 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-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* sws: remove disabled cruft.Anton Khirnov2011-04-19
|
* lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov2011-04-19
|
* Bump major versions of all libraries.Anton Khirnov2011-04-18
| | | | | | 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-15
| | | | only hit with --enable-runtime-cpudetect
* swscale: fix compilation with --enable-runtime-cpudetectJanne Grunau2011-04-15
|
* swscale: correct include path to fix ppc altivec buildJanne Grunau2011-04-15
|
* swscale: simplify rgb2rgb templatingLuca Barbato2011-04-14
| | | | MMX is always built. Drop the ifdefs
* swscale: simplify initialization codeJosh Allmann2011-04-14
| | | | | Simplify the fallthrough case when no accelerated functions can be initialized.
* swscale: further cleanup swscale.cJosh Allmann2011-04-14
| | | | Move x86-specific constants out of swscale.c
* swscale: partially move the arch specific code leftLuca Barbato2011-04-14
| | | | | | | | | | PPC and x86 code is split off from swscale_template.c. Lots of code is still duplicated and should be removed later. Again uniformize the init system to be more similar to the dsputil one. Unset h*scale_fast in the x86 init in order to make the output consistent with the previous status. Thanks to Josh for spotting it.
* swscale: move away x86 specific code from rgb2rgbLuca Barbato2011-04-14
| | | | | | | Keep only the plain C code in the main rgb2rgb.c and move the x86 specific optimizations to x86/rgb2rgb.c Change the initialization pattern a little so some of it can be factorized to behave more like dsputils.
* swscale: Factorize FAST_BGR2YV12 definition.Luca Barbato2011-04-13
| | | | | It is used only for x86 so it will eventually be moved with that code into the x86 arch subdirectory.
* Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().Diego Biurrun2011-04-11
| | | | | | | | | | | | When HAVE_7REGS was not defined these functions had an empty body causing the following warnings during compilation. In file included from libswscale/x86/yuv2rgb_mmx.c:58: libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_rgb32_MMX’: libswscale/x86/yuv2rgb_template.c:412: warning: no return statement in function returning non-void libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_bgr32_MMX’: libswscale/x86/yuv2rgb_template.c:457: warning: no return statement in function returning non-void Signed-off-by: Diego Biurrun <diego@biurrun.de>