summaryrefslogtreecommitdiff
path: root/libswscale/swscale.c
Commit message (Collapse)AuthorAge
...
* 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: properly inline bits/endianness in yuv2yuvX16inC().Ronald S. Bultje2011-05-13
|
* swscale: fix clipping of 9/10bit YUV420P.Ronald S. Bultje2011-05-13
|
* 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.
* 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
|
* swscale: fix "ISO C90 forbids mixed declarations and code" warningJanne Grunau2011-04-15
| | | | only hit with --enable-runtime-cpudetect
* 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: 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.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 100l fix if conditionBaptiste Coudurier2010-09-27
| | | | Originally committed as revision 32395 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Y400A (gray alpha) input support in libswscaleBaptiste Coudurier2010-09-27
| | | | Originally committed as revision 32394 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove useless temporary variableRamiro Polla2010-09-16
| | | | Originally committed as revision 32258 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: factorize plane copying code out of 2 functionsRamiro Polla2010-09-16
| | | | Originally committed as revision 32257 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-09-11
| | | | Originally committed as revision 32157 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove unused codeRamiro Polla2010-09-11
| | | | | | | yvu9ToYv12Wrapper() used to support yv12 with the chroma planes either in the uv order or the vu order. FFmpeg no longer has a pixel format in vu order. Originally committed as revision 32156 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: fix internal rgb->yv12 chroma conversion used by the main scaler pathRamiro Polla2010-09-06
| | | | | | The shift must be applied before the masking. Originally committed as revision 32051 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: simplify selection of optimizations to compile.Ramiro Polla2010-08-25
| | | | Originally committed as revision 32013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Always define COMPILE_xxx to either 0 or 1.Ramiro Polla2010-08-25
| | | | Originally committed as revision 32012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversionMåns Rullgård2010-08-23
| | | | Originally committed as revision 32011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove unused macro parameter in BGR2UV templateMåns Rullgård2010-08-23
| | | | Originally committed as revision 32010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* validate input data and linesizesRamiro Polla2010-08-18
| | | | Originally committed as revision 31976 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add missing comma, fix rgb2yuv_table[SWS_CS_SMPTE240M] coefficients.Stefano Sabatini2010-07-24
| | | | Originally committed as revision 31779 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add some comments to the rgb2yuv_table, clarifying the standard whereStefano Sabatini2010-07-24
| | | | | | are defined. Originally committed as revision 31778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: reindent and unify whitespaceMartin Storsjö2010-07-19
| | | | Originally committed as revision 31757 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do planar copy with a single memcpy only if the stride is equal to the lengthMartin Storsjö2010-07-19
| | | | | | This avoids writing outside of the designated rectangle. Originally committed as revision 31756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* In planarCopyWrapper, Only copy length, not stride of the last line in the planeMartin Storsjö2010-07-16
| | | | | | | | If the destination planes are offset within the destination buffer, writing the extra bytes at the end may write outside of the destination buffer. Originally committed as revision 31746 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 31679 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix 'assignment from incompatible pointer type' warning.Eli Friedman2010-07-03
| | | | | | Patch by Eli Friedman, eli d friedman a gmail Originally committed as revision 31628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* deprecate palette8topacked32 in favor of public API functions ↵Reinhard Tartler2010-06-01
| | | | | | | | | | | sws_convertPalette8ToPacked32 and -24 additionallym deprecate palette8torgb16 and its bgr variant without replacement. These functions are not meant to be used by applications. Discussed at: http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/109340 Originally committed as revision 31301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove PI definition and use M_PI instead.Stefano Sabatini2010-05-19
| | | | | | M_PI is defined by the included file libavutil/mathematics.h. Originally committed as revision 31185 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert r31153. It failed to build on:Ramiro Polla2010-05-12
| | | | | | | | | | | x86_64 / Mac OS X gcc 4.0.1 x86_64 / Linux icc (all) x86_64 / Linux gcc 4.0.4 x86_64 / OpenBSD gcc 3.3.5 x86_64 / Linux suncc 5.10 and there are some reports of crashes. Originally committed as revision 31170 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use int instead of long to pass width parameters in non-public functions.Ramiro Polla2010-05-11
| | | | | | | long was being incorrectly used as an x86-sized register, both for 32 and 64 bits, but this is not the case in win64. Originally committed as revision 31153 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* libswscale: Relicense almost all x86 assembler optimizations as LGPL.Diego Biurrun2010-03-27
| | | | | | | This is of course done with permissions from the authors. The only GPL component left are MMX optimizations for YUV to RGB conversion. Originally committed as revision 30965 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* AltiVec implies a PPC CPU, so there is no need to check for both.Diego Biurrun2010-03-23
| | | | Originally committed as revision 30954 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Check whether COMPILE_ALTIVEC is defined, not if it is set to a 0/1 value.Diego Biurrun2010-03-19
| | | | | | COMPILE_ALTIVEC is never set to 1, it is just #defined. Originally committed as revision 30937 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Extend the generic path of the yuv2rgb converter with support for rgb444Janusz Krzysztofik2010-03-18
| | | | | | | | output format. Patch by Janusz Krzysztofik, jkrzyszt A tis D icnet D pl Originally committed as revision 30934 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix compilation on powerpc with --disable-altivecReinhard Tartler2010-03-09
| | | | | | | in case altivec is disabled, even compilation of code using altivec keywords or asm must be avoided. Originally committed as revision 30869 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Avoid duplication of usePal() macro.Stefano Sabatini2010-03-06
| | | | Originally committed as revision 30856 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* libswscale: Extend the unaccelerated path of the unscaled yuv2rgb specialJanusz Krzysztofik2010-03-05
| | | | | | | converter with support for rgb444 output format. Patch by Janusz Krzysztofik jkrzyszt chez tis icnet pl Originally committed as revision 30841 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Support BGR555, BGR565, RGB555 and RGB565 foreign endian output inAlexis Ballier2010-03-04
| | | | | | | | libswscale. Patch by Alexis Ballier, alexis D ballier A gmail Originally committed as revision 30840 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fill the r, g, b values used for computing the c->pal_yuv table in theStefano Sabatini2010-03-04
| | | | | | | | | case where the source format is PIX_FMT_GRAY8. This is required as PIX_FMT_GRAY8 has been declared as a paletted format in FFmpeg r22191, fix GRAY8 -> RGB conversion. Originally committed as revision 30826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Implement shuffle_bytes_abcd() functions and use them for shufflingStefano Sabatini2010-02-03
| | | | | | | | | | | | bytes when converting between RGB32 variants. In particular fix the argb -> rgba and abgr -> bgra conversions. See the thread: Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug Date: Tue, 26 Jan 2010 01:06:18 +0100 Originally committed as revision 30501 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent.Stefano Sabatini2010-01-30
| | | | Originally committed as revision 30467 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use a consistent convention for the names of the internal wrapperStefano Sabatini2010-01-30
| | | | | | | | | functions. Improve readability. -This line, and those below, will be ignored-- swscale.c Originally committed as revision 30466 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use isAnyRGB() where possibleMichael Niedermayer2010-01-26
| | | | Originally committed as revision 30435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale