summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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-311-106/+43
| | | | | | 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-275-74/+59
| | | | | | | 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-261-1/+1
| | | | 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-232-4/+4
| | | | 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-231-3/+3
| | | | | | | 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-191-1/+1
| | | | 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-191-1/+1
| | | | | | 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-182-2/+24
| | | | | | | | 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-091-2/+2
| | | | | | | 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-081-0/+2
| | | | 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-081-2/+2
| | | | | | MEM_RELEASE. Originally committed as revision 30863 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Avoid duplication of usePal() macro.Stefano Sabatini2010-03-063-3/+1
| | | | 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-062-4/+12
| | | | | | 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-051-1/+4
| | | | Originally committed as revision 30847 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: fix vertical alignment.Benoit Fouet2010-03-051-2/+2
| | | | 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-053-1/+59
| | | | | | | 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-043-10/+28
| | | | | | | | 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-042-35/+18
| | | | | | | 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-041-0/+2
| | | | | | | | | 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-042-18/+35
| | | | | | | | | | | | | | 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-281-1/+1
| | | | Originally committed as revision 30787 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove pointless empty line.Stefano Sabatini2010-02-251-1/+0
| | | | Originally committed as revision 30730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Apply consistency nit.Stefano Sabatini2010-02-251-1/+1
| | | | 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-231-10/+12
| | | | Originally committed as revision 30722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent and fix brace placement.Stefano Sabatini2010-02-181-5/+4
| | | | 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-181-5/+9
| | | | 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-181-4/+4
| | | | | | 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-051-9/+8
| | | | Originally committed as revision 30520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Apply misc fixes to sws_getCoefficients() doxy.Stefano Sabatini2010-02-051-2/+4
| | | | Originally committed as revision 30519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Satisfy consistency need:Stefano Sabatini2010-02-051-1/+1
| | | | | | 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-052-1/+14
| | | | Originally committed as revision 30513 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Implement shuffle_bytes_abcd() functions and use them for shufflingStefano Sabatini2010-02-033-6/+55
| | | | | | | | | | | | 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
* Declare support for the pixel formats:Stefano Sabatini2010-01-311-0/+8
| | | | | | | | | | | | | | | | | | | | PIX_FMT_YUVJ420P PIX_FMT_YUVJ422P PIX_FMT_YUVJ440P PIX_FMT_YUVJ444P in the isSupported{In,Out} macros. These pixel formats are not true pixel formats but hacks specific to JPEG in libavcodec. They are deprecated and should be removed (that is from libavcodec first and libswscale second)... but they must be tested by swscale-test. See thread: Subject: [FFmpeg-devel] [PATCH] Extend show_pix_fmts() to make it print the input/output support Date: 2010-01-30 15:54:08 GMT Originally committed as revision 30474 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Blackfin: use SRAM only when CONFIG_SRAM is setMåns Rullgård2010-01-313-3/+3
| | | | Originally committed as revision 30472 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent.Stefano Sabatini2010-01-301-4/+4
| | | | 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-301-30/+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
* Fix randomness of the swscale-test output.Stefano Sabatini2010-01-301-3/+3
| | | | | | | | See the thread: Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertion Date: Fri, 29 Jan 2010 01:52:23 +0100 Originally committed as revision 30457 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename swscale-example to swscale-test, to better reflect the intendedStefano Sabatini2010-01-272-2/+1
| | | | | | use of the program. Originally committed as revision 30439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use isAnyRGB() where possibleMichael Niedermayer2010-01-263-13/+11
| | | | Originally committed as revision 30435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add 3 more RGB makros that allow specifying RGB in bytes and any rgb/bgr.Michael Niedermayer2010-01-261-0/+16
| | | | Originally committed as revision 30434 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename isRGB() and isBGR() as their meaning is confusing.Michael Niedermayer2010-01-264-19/+19
| | | | Originally committed as revision 30433 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks, slightlyStefano Sabatini2010-01-251-2/+0
| | | | | | simplify code. Originally committed as revision 30432 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix mis-computation of the needsDither variable erroneously introducedStefano Sabatini2010-01-241-1/+1
| | | | | | | | in r30419, which was causing a swscale-example regression. Also increase my liter count by 20.0 units. Originally committed as revision 30431 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Merge two "if (flags & SWS_PRINT_INFO) { ... }" blocks.Stefano Sabatini2010-01-241-2/+0
| | | | Originally committed as revision 30425 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use av_get_bits_per_pixel() for computing the bits per pixel of theStefano Sabatini2010-01-244-46/+12
| | | | | | | | source and destination format, cache those values in the newly added SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove the fmt_depth() function. Originally committed as revision 30419 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Indent.Ramiro Polla2010-01-241-94/+94
| | | | Originally committed as revision 30413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Don't redefine M_PI. It is already defined from libavutil/mathematics.h.Ramiro Polla2010-01-241-10/+4
| | | | Originally committed as revision 30412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Split swscale.c into scaler code (swscale.c) and utility code (utils.c).Ramiro Polla2010-01-244-1539/+1620
| | | | Originally committed as revision 30411 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-224-18/+18
| | | | Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale