summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Consistently place HEADERS before OBJS in all Makefiles.Diego Biurrun2008-11-201-2/+2
| | | | Originally committed as revision 27970 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Put variable declaration inside an #ifdef to avoid an unused variable warning.Diego Biurrun2008-11-171-2/+3
| | | | Originally committed as revision 27945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add some const specifiers to function name variables; fixes a bunch ofDiego Biurrun2008-11-041-2/+2
| | | | | | "initialization discards qualifiers from pointer target type" warnings. Originally committed as revision 27894 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Merge ARCH_BFIN lines.Diego Biurrun2008-11-031-3/+1
| | | | Originally committed as revision 27889 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add tests target for libswscale test programs.Diego Biurrun2008-11-031-0/+2
| | | | Originally committed as revision 27888 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove forgotten ASM_OBJS in libswscaleMåns Rullgård2008-11-031-1/+1
| | | | Originally committed as revision 27887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Silence GCC warnings:Vitor Sessak2008-10-271-1/+2
| | | | | | | | | | | | ibswscale/swscale.c: In function ‘sws_scale’: libswscale/swscale.c:2678: warning: ‘b’ may be used uninitialized in this function libswscale/swscale.c:2678: warning: ‘g’ may be used uninitialized in this function libswscale/swscale.c:2678: warning: ‘r’ may be used uninitialized in this function Originally committed as revision 27837 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* rgb2rgb.h was not really intended to be a public header, thus remove it.Michael Niedermayer2008-10-271-1/+1
| | | | Originally committed as revision 27836 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove rgb2rgb.h dependancy.Michael Niedermayer2008-10-271-6/+0
| | | | Originally committed as revision 27835 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Silence GCC warningVitor Sessak2008-10-261-1/+1
| | | | Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused code that can't be compiled without svn archive.Carl Eugen Hoyos2008-10-251-269/+0
| | | | Originally committed as revision 27827 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not attempt to use the unscaled yuv2rgb converter when height is odd becauseMichael Niedermayer2008-10-251-1/+1
| | | | | | it will overflow the buffer by 1 line. This might have been exploitable. Originally committed as revision 27826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: alignmentVitor Sessak2008-10-231-3/+3
| | | | Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix broken palette8to*.Vitor Sessak2008-10-233-75/+43
| | | | Originally committed as revision 27817 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* cosmetics: typo fixDiego Biurrun2008-10-233-3/+3
| | | | Originally committed as revision 27816 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Convert typeof keyword into __typeof__; this is a gcc extension and the ↵David Conrad2008-10-191-10/+10
| | | | | | former is not accepted in C99 without GNU extensions enabled (e.g. via -fasm). This fixes compilation on PPC. Originally committed as revision 27805 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Convert asm keyword into __asm__.Diego Pettenò2008-10-166-180/+180
| | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is not part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 synta. Originally committed as revision 27778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Mark some symbols in swscale.c as constant.Diego Pettenò2008-10-091-7/+7
| | | | | | | These are only used in swscale_template.c (and thus don't need to be made extern), and can be declared as ASM constants. Originally committed as revision 27737 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Mark dither_2x2_{8,4} static to swscale.cDiego Pettenò2008-10-092-4/+2
| | | | | | | These two tables are not used outside swscale.c even though they are declared also in yuv2rgb.c. Originally committed as revision 27736 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Mark variation-specific interleaveBytes static.Diego Pettenò2008-10-091-1/+1
| | | | | | | These functions are never called by themselves, the alias interleaveBytes is used instead. Originally committed as revision 27735 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Invert logic for the single-pass in swScale() functions.Diego Pettenò2008-10-091-3/+3
| | | | | | | | | | | | | | Instead of having a firstTime variable defaulting to 1, have a warnedAlready defaulting to 0. While this should make no difference in code speed at runtime, it allows to aggregate the four bytes of that variable with clip_table in .bss section, rather than issuing a .data section just for that. As it is, libswscale require no .data section but .data.rel.ro (that can be mitigated by prelinking), so the change might actually save one page of memory at runtime (per process). Originally committed as revision 27734 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change variable types from int to enum PixelFormat.Carl Eugen Hoyos2008-10-091-2/+2
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not set src[1] to the palette, it is now in the contextVitor Sessak2008-10-082-3/+1
| | | | Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add a new unscaled PAL8 -> RGB converter.Vitor Sessak2008-10-082-10/+55
| | | | Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change one more variable type from int to enum PixelFormat.Aurelien Jacobs2008-10-081-1/+1
| | | | | | This one was missing from r27727. Originally committed as revision 27728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change variable types from int to enum PixelFormat.Carl Eugen Hoyos2008-10-072-6/+6
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 27727 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* gcc-apple specific fallback not necessary anymore (btw no apple hardware is ↵Luca Barbato2008-10-051-5/+0
| | | | | | less than a Intel core, thus it won't come there w/out disabling all the optimizations) Originally committed as revision 27722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.Diego Biurrun2008-10-051-3/+2
| | | | Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove b5Dither, g5Dither and r5Dither from libswscale.Carl Eugen Hoyos2008-10-044-58/+48
| | | | Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove g6Dither from libswscale.Carl Eugen Hoyos2008-10-044-14/+12
| | | | Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove MPlayer-specific MP_WORDSIZE hack.Diego Biurrun2008-10-041-5/+0
| | | | Originally committed as revision 27698 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused function fast_memcpy.Diego Biurrun2008-09-291-4/+0
| | | | Originally committed as revision 27673 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* cosmetics: indentationDiego Biurrun2008-09-291-6/+5
| | | | Originally committed as revision 27672 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert mistakely commited hunk.Michael Niedermayer2008-09-291-1/+1
| | | | Originally committed as revision 27671 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Print all cases that are tested, not just the ones that are bad.Michael Niedermayer2008-09-291-3/+1
| | | | Originally committed as revision 27670 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix infinite loop with spline, bug was introduced in r27612 by me.Michael Niedermayer2008-09-291-1/+1
| | | | Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Uniform *ToY and *ToUV function signaturesLuca Barbato2008-09-181-51/+51
| | | | Originally committed as revision 27636 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Split mono2Y in monowhite and monoblackLuca Barbato2008-09-181-4/+19
| | | | Originally committed as revision 27635 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize unit32_t* casts for palette pointerLuca Barbato2008-09-181-6/+6
| | | | Originally committed as revision 27634 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix segfault with rgb24 and full_internal_chrome due to non existing alphaMichael Niedermayer2008-09-161-2/+7
| | | | | | byte being written after the array. Originally committed as revision 27628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Avoid using floating point for calculating filter coefficients.Michael Niedermayer2008-09-151-81/+83
| | | | Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Avoid some explicit types in sizeof().Michael Niedermayer2008-09-141-6/+6
| | | | Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use av_mallocz() instead of for() =0;Michael Niedermayer2008-09-141-2/+1
| | | | Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move dither tables from yuv2rgb to swscale, they have been written by me andMichael Niedermayer2008-09-142-111/+111
| | | | | | can be used under LGPL. Originally committed as revision 27609 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.Benjamin Zores2008-09-131-6/+6
| | | | Originally committed as revision 27602 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix indention.Michael Niedermayer2008-09-131-313/+313
| | | | Originally committed as revision 27600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.Michael Niedermayer2008-09-132-12/+17
| | | | Originally committed as revision 27599 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Disable mmx routines that are not bitexact when the user wantsMichael Niedermayer2008-09-131-6/+15
| | | | | | bitexact ones. Originally committed as revision 27597 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make horizontal mmx scaling code match C code.Michael Niedermayer2008-09-131-16/+15
| | | | Originally committed as revision 27596 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Ensure that additional filter coeffs that exist due to alignmentMichael Niedermayer2008-09-131-0/+2
| | | | | | are 0 if bitexact mode is requested. Originally committed as revision 27595 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale