summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* Fix overflow.michael2008-09-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix build failure due to %%eip on x86_64.michael2008-09-101-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change RGB2YUV_SHIFT from 16 to 15 to make it able to workmichael2008-09-102-5/+3
| | | | | | | with 16bit signed constants (like SIMD might use). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27568 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add bgr/rgb15/16/32->UV-half to the macro so there is less code duplicationmichael2008-09-101-124/+24
| | | | | | | at the source level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize RGB/BGR15/16/32->UV by using the preprocessor.michael2008-09-101-93/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize rgb/bgr15/16/32->Y by using the preprocessor.michael2008-09-101-81/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make SWS_FULL_CHR_H_INP work.michael2008-09-102-11/+165
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27564 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling/wording cosmeticsdiego2008-09-101-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27563 b3059339-0415-0410-9bf9-f77b7e298cf2
* More accurate rounding for 8bit inputs.michael2008-09-091-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,michael2008-09-092-196/+147
| | | | | | | and does not throw half the chroma away. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27561 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add table of rgb->yuv conversion coefficients.michael2008-09-091-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27558 b3059339-0415-0410-9bf9-f77b7e298cf2
* More correct rounding for the rgb/bgr->yuv converters.michael2008-09-091-20/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27557 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent overflows during mpeg->jpeg yuv.michael2008-09-091-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27552 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix jpeg yuv.michael2008-09-082-8/+37
| | | | | | | Fixes issue504. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27547 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo in comment.michael2008-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix accurate rounding mode on x86_64.michael2008-09-073-21/+34
| | | | | | | Fixes issue222. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27545 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make ToY and ToUV family of function consistent part Ilu_zero2008-09-071-16/+16
| | | | | | | Convert width argument from int to long (note: srcW is still an int). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make fast bilinear scaler work again.michael2008-09-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27543 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify function selection codebcoudurier2008-09-051-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27528 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable yuv422p to uyvy converterbcoudurier2008-09-054-0/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27527 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make 16bit grayscale output work.michael2008-09-042-6/+75
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.michael2008-09-041-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.michael2008-09-044-8/+53
| | | | | | | Fixes issue248. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 4 and 8 bit RGB/BGR input.michael2008-09-041-9/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove workaround for rgb/bgr mess.michael2008-09-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 4 of the unscaled rgb15/16 converters, each of these containedmichael2008-09-041-28/+10
| | | | | | | | | 2-3 bugs each of which made it fail completely, this code clearly has never been tested and been written by somone who knows the difference between a potato and a computer is that the first is round. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27519 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb vs bgr fix for the unscaled converters.michael2008-09-043-42/+42
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27518 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rgb15/16 vs. bgr part2.michael2008-09-041-24/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27517 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rgb15/16 vs. bgr part1.michael2008-09-041-5/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add fflush to prevent stdout & stderr from being mixed.michael2008-09-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change header inclusion guard names in line with FFmpeg r15120.stefano2008-08-313-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement swscale_version().stefano2008-08-292-1/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27492 b3059339-0415-0410-9bf9-f77b7e298cf2
* compilation fix with GCC 4.0.1 on MacOSX tiger, broken by the removal of ↵gpoirier2008-07-251-8/+8
| | | | | | AVV() macro git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27349 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix indentation after last commit.diego2008-07-241-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27345 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove AltiVec vector declaration compiler compatibility macros.diego2008-07-241-47/+47
| | | | | | | | | | | The original problem was that FSF and Apple gcc used a different syntax for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support the standard {} syntax and versions that support {} are available on all relevant Mac OS X versions. Thus the greater compatibility is no longer worth cluttering the code with macros. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27344 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix memleakmichael2008-07-211-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27332 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup, use av_freep() instead of av_free(x); x=NULLmichael2008-07-211-46/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27331 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make C code in yuv2yuv1() do accurate rounding, this could be splitmichael2008-07-181-3/+3
| | | | | | | depending on SWS_ACCURATE as well if someone wants. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27323 b3059339-0415-0410-9bf9-f77b7e298cf2
* indentmichael2008-07-171-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten accurate rounding function YSCALEYUV2YV121_ACCURATE.michael2008-07-171-2/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27321 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify yuv2yuv1()michael2008-07-171-16/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27320 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l forgot SWS_BILINEARmichael2008-07-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27318 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ensure that exactly one scaler algo is used.michael2008-07-171-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27317 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: reindent.astrange2008-07-131-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27279 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove const vector casts from Altivec.astrange2008-07-131-7/+7
| | | | | | | | Fixes compatibility with C99. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27278 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, avoption splitted code added, I should double check with svn status...lu_zero2008-07-101-0/+59
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27245 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantinilu_zero2008-07-093-40/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ASSERT() macro. SoC Patch from Keiji Costantinilu_zero2008-07-062-33/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27214 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindent. SoC Patch from Keiji Costantinilu_zero2008-07-061-45/+42
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split simpleCopy into packedCopy and planarCopy. SoC Patch from Keiji Costantinilu_zero2008-07-061-8/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27212 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling/grammar/wording overhauldiego2008-07-0413-176/+178
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27190 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmeticsdiego2008-07-042-82/+81
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27188 b3059339-0415-0410-9bf9-f77b7e298cf2
* Place license header at the top of the file for consistency.diego2008-07-041-21/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27187 b3059339-0415-0410-9bf9-f77b7e298cf2
* OBJS should end in .o, not .c.diego2008-06-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27035 b3059339-0415-0410-9bf9-f77b7e298cf2
* VIS OBJS should end in .o, not .c; patch by Jan Knutar, jknutar nic fi.diego2008-06-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27034 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include, patch by Jan Knutar, jknutar nic fi.diego2008-06-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27033 b3059339-0415-0410-9bf9-f77b7e298cf2
* restore needed cast to correct type with constbcoudurier2008-06-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26957 b3059339-0415-0410-9bf9-f77b7e298cf2
* cast to correct type, suppress warningsbcoudurier2008-06-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26949 b3059339-0415-0410-9bf9-f77b7e298cf2
* cast to correct type, suppress warningsbcoudurier2008-06-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26948 b3059339-0415-0410-9bf9-f77b7e298cf2
* cast to correct type, suppress warningbcoudurier2008-06-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26947 b3059339-0415-0410-9bf9-f77b7e298cf2
* cast to correct type, suppress warningsbcoudurier2008-06-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26946 b3059339-0415-0410-9bf9-f77b7e298cf2
* add const, suppress warningsbcoudurier2008-06-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26945 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless castsbcoudurier2008-06-011-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26944 b3059339-0415-0410-9bf9-f77b7e298cf2
* add const, suppress warningsbcoudurier2008-06-011-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26943 b3059339-0415-0410-9bf9-f77b7e298cf2
* add const, suppress warningsbcoudurier2008-06-011-10/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26942 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless castsbcoudurier2008-06-011-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove in_asm_used_var_warning_killer()superdump2008-05-091-10/+0
| | | | | | | Patch by Keiji Costantini ( strites gmail com ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26706 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use full path for #includes from another directory.diego2008-05-094-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26702 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: sort lines (correctly)diego2008-05-051-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26673 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Shuffle lines around and add empty lines.lu_zero2008-05-041-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26671 b3059339-0415-0410-9bf9-f77b7e298cf2
* Build sparc arch specific code using the Makefilelu_zero2008-05-042-8/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26670 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: alphabetical orderdiego2008-05-041-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26669 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: __asm__ __volatile__ --> asm volatilediego2008-04-171-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense test/example files as LGPL with Michael's permission.diego2008-04-132-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26429 b3059339-0415-0410-9bf9-f77b7e298cf2
* non-recursive makefilesmru2008-04-071-7/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26346 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix wrong #endif comment.diego2008-03-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26300 b3059339-0415-0410-9bf9-f77b7e298cf2
* Classify mlib as a configurable option, not as a hardware feature.diego2008-03-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.diego2008-03-221-8/+8
| | | | | | | patch by Alexander Strange, astrange ithinksw com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26270 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: comment typo fixesdiego2008-03-221-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.diego2008-03-181-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26264 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a typo that causes an assertion to always fail.zuxy2008-03-171-1/+1
| | | | | | | Reported by Alexander Bokovikov (openworld AT uralweb DOT ru) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26257 b3059339-0415-0410-9bf9-f77b7e298cf2
* typodiego2008-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26251 b3059339-0415-0410-9bf9-f77b7e298cf2