summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* 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
* Change the type of Y table to pointer to void in fill_table().Benoit Fouet2010-07-12
| | | | | | | | | This fixes warnings about wrong type being used, e.g.: libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’: libswscale/yuv2rgb.c:778: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type libswscale/yuv2rgb.c:598: note: expected ‘uint8_t *’ but argument is of type ‘uint16_t *’ Originally committed as revision 31722 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
* Move internal scale context fields initialization fromStefano Sabatini2010-06-01
| | | | | | | | sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables(). Allow to factorize duplicated code. Originally committed as revision 31300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* remove palette8torgb15 and palette8tobgr15Reinhard Tartler2010-06-01
| | | | | | | They contain exactly the same code as their 16bit variants, so this is effectively code de-duplication. Originally committed as revision 31298 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename yuv2rgb_template2.c --> yuv2rgb_template.c now that the other is gone.Diego Biurrun2010-05-30
| | | | Originally committed as revision 31279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove GPL-licensed YUV to RGB MMX routines.Diego Biurrun2010-05-30
| | | | | | We now have an LGPL replacement that is at least equally fast. Originally committed as revision 31278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add empty newline to separate function declarations, for betterStefano Sabatini2010-05-23
| | | | | | readability. Originally committed as revision 31192 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: make more compact the code for handle_jpeg(), this also allowsStefano Sabatini2010-05-19
| | | | | | vertical alignment. Improve readability. Originally committed as revision 31186 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
* 13% faster yuv420 to rgb15 mmx.Loren Merritt2010-05-19
| | | | | | It is now faster than the old gpl version on conroe. Originally committed as revision 31181 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 40% faster yuv420 to rgb24 mmx.Loren Merritt2010-05-19
| | | | | | It is now faster than the old gpl version on conroe. Originally committed as revision 31180 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
* blackfin: fix yuv422 to yuv420 conversionRonaldo Moura2010-05-07
| | | | | | | | The old code is correct only when stride = 2*width. Patch by Ronaldo Moura <ronaldo d moura monity com br> Originally committed as revision 31142 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* alternative LGPL-licensed, MMX-optimized YUV to RGB conversion routinesDiego Biurrun2010-05-04
| | | | | | written by Kostya Shishkov Originally committed as revision 31135 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 31050 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Replace some "m" constraints by MANGLE to avoid issues with some compilers notReimar Döffinger2010-03-31
| | | | | | being able to compile it and deduplicate the code at the same time. Originally committed as revision 30978 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
* HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.Diego Biurrun2010-03-26
| | | | Originally committed as revision 30961 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
* Do not compile AltiVec code when AltiVec is not available; not even inDiego Biurrun2010-03-23
| | | | | | | runtime cpudetection mode. Fixes compilation with '--enable-runtime-cpudetect --disable-altivec'. Originally committed as revision 30952 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Replace wrong condition name in #endif comment by correct instance.Diego Biurrun2010-03-19
| | | | Originally committed as revision 30938 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
* Check for allocation failure for c->lumMmx2FilterCode and c->chrMmx2FilterCode.Reimar Döffinger2010-03-08
| | | | Originally committed as revision 30864 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix memleak due to incorrect VirtualFree arguments: size must be 0 for ↵Reimar Döffinger2010-03-08
| | | | | | MEM_RELEASE. Originally committed as revision 30863 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
* Add support to BGR444/RGB444 foreign endian output in libswscale.Janusz Krzysztofik2010-03-06
| | | | | | Patch by Janusz Krzysztofik |jkrzyszt ^ tis icnet pl|. Originally committed as revision 30855 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* try to avoid returning odd slices.Michael Niedermayer2010-03-05
| | | | Originally committed as revision 30847 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: fix vertical alignment.Benoit Fouet2010-03-05
| | | | Originally committed as revision 30842 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
* Revert r30825, it was not supposed to be committed.Stefano Sabatini2010-03-04
| | | | | | | 127.32L to me, beware when using git svn dcommit for committing stuff to svn... Originally committed as revision 30827 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
* Make swscale-test take in input the name of the input and the outputStefano Sabatini2010-03-04
| | | | | | | | | | | | | | format. Make swscale-test only perform the test from the input to the output format rather than perform all. Also implement swscale-test-all.sh, for performing all the tests. Improve flexibility of the swscale-test tool, this way is simpler to perform only a subset of tests. Originally committed as revision 30825 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make sws_dcVec static: It is only used inside libswscale/utils.c.Carl Eugen Hoyos2010-02-28
| | | | Originally committed as revision 30787 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove pointless empty line.Stefano Sabatini2010-02-25
| | | | Originally committed as revision 30730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Apply consistency nit.Stefano Sabatini2010-02-25
| | | | Originally committed as revision 30729 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reorder buffer debug. Also print out if slice was buffered.Ramiro Polla2010-02-23
| | | | Originally committed as revision 30722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent and fix brace placement.Stefano Sabatini2010-02-18
| | | | Originally committed as revision 30643 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Vertically align a list of comparisons in sws_getCachedContext().Stefano Sabatini2010-02-18
| | | | Originally committed as revision 30642 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Merge two if conditions, allow to decrese the level of indentation ofStefano Sabatini2010-02-18
| | | | | | the block. Originally committed as revision 30641 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Simplify how usesVFilter and usesHFilter are set.Stefano Sabatini2010-02-05
| | | | Originally committed as revision 30520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Apply misc fixes to sws_getCoefficients() doxy.Stefano Sabatini2010-02-05
| | | | Originally committed as revision 30519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Satisfy consistency need:Stefano Sabatini2010-02-05
| | | | | | int * sws_getCoefficients -> int *sws_getCoefficients. Originally committed as revision 30518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add function to translate SWS_CS_* to coefficient arrayDavid Conrad2010-02-05
| | | | Originally committed as revision 30513 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale