aboutsummaryrefslogtreecommitdiff
path: root/libswscale
AgeCommit message (Collapse)Author
2008-11-17Put variable declaration inside an #ifdef to avoid an unused variable warning.Diego Biurrun
Originally committed as revision 27945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-04Add some const specifiers to function name variables; fixes a bunch ofDiego Biurrun
"initialization discards qualifiers from pointer target type" warnings. Originally committed as revision 27894 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-03Merge ARCH_BFIN lines.Diego Biurrun
Originally committed as revision 27889 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-03Add tests target for libswscale test programs.Diego Biurrun
Originally committed as revision 27888 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-03Remove forgotten ASM_OBJS in libswscaleMåns Rullgård
Originally committed as revision 27887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-27Silence GCC warnings:Vitor Sessak
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
2008-10-27rgb2rgb.h was not really intended to be a public header, thus remove it.Michael Niedermayer
Originally committed as revision 27836 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-27Remove rgb2rgb.h dependancy.Michael Niedermayer
Originally committed as revision 27835 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-26Silence GCC warningVitor Sessak
Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-25Remove unused code that can't be compiled without svn archive.Carl Eugen Hoyos
Originally committed as revision 27827 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-25Do not attempt to use the unscaled yuv2rgb converter when height is odd becauseMichael Niedermayer
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
2008-10-23Cosmetics: alignmentVitor Sessak
Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-23Fix broken palette8to*.Vitor Sessak
Originally committed as revision 27817 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-23cosmetics: typo fixDiego Biurrun
Originally committed as revision 27816 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-19Convert typeof keyword into __typeof__; this is a gcc extension and the ↵David Conrad
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
2008-10-16Convert asm keyword into __asm__.Diego Pettenò
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
2008-10-09Mark some symbols in swscale.c as constant.Diego Pettenò
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
2008-10-09Mark dither_2x2_{8,4} static to swscale.cDiego Pettenò
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
2008-10-09Mark variation-specific interleaveBytes static.Diego Pettenò
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
2008-10-09Invert logic for the single-pass in swScale() functions.Diego Pettenò
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
2008-10-09Change variable types from int to enum PixelFormat.Carl Eugen Hoyos
Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08Do not set src[1] to the palette, it is now in the contextVitor Sessak
Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08Add a new unscaled PAL8 -> RGB converter.Vitor Sessak
Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08Change one more variable type from int to enum PixelFormat.Aurelien Jacobs
This one was missing from r27727. Originally committed as revision 27728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-07Change variable types from int to enum PixelFormat.Carl Eugen Hoyos
Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 27727 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-05gcc-apple specific fallback not necessary anymore (btw no apple hardware is ↵Luca Barbato
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
2008-10-05Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.Diego Biurrun
Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04Remove b5Dither, g5Dither and r5Dither from libswscale.Carl Eugen Hoyos
Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04Remove g6Dither from libswscale.Carl Eugen Hoyos
Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04Remove MPlayer-specific MP_WORDSIZE hack.Diego Biurrun
Originally committed as revision 27698 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29Remove unused function fast_memcpy.Diego Biurrun
Originally committed as revision 27673 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29cosmetics: indentationDiego Biurrun
Originally committed as revision 27672 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29Revert mistakely commited hunk.Michael Niedermayer
Originally committed as revision 27671 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29Print all cases that are tested, not just the ones that are bad.Michael Niedermayer
Originally committed as revision 27670 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29Fix infinite loop with spline, bug was introduced in r27612 by me.Michael Niedermayer
Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-18Uniform *ToY and *ToUV function signaturesLuca Barbato
Originally committed as revision 27636 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-18Split mono2Y in monowhite and monoblackLuca Barbato
Originally committed as revision 27635 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-18Factorize unit32_t* casts for palette pointerLuca Barbato
Originally committed as revision 27634 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-16Fix segfault with rgb24 and full_internal_chrome due to non existing alphaMichael Niedermayer
byte being written after the array. Originally committed as revision 27628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-15Avoid using floating point for calculating filter coefficients.Michael Niedermayer
Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14Avoid some explicit types in sizeof().Michael Niedermayer
Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14Use av_mallocz() instead of for() =0;Michael Niedermayer
Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14Move dither tables from yuv2rgb to swscale, they have been written by me andMichael Niedermayer
can be used under LGPL. Originally committed as revision 27609 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.Benjamin Zores
Originally committed as revision 27602 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13Fix indention.Michael Niedermayer
Originally committed as revision 27600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.Michael Niedermayer
Originally committed as revision 27599 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13Disable mmx routines that are not bitexact when the user wantsMichael Niedermayer
bitexact ones. Originally committed as revision 27597 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13Make horizontal mmx scaling code match C code.Michael Niedermayer
Originally committed as revision 27596 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13Ensure that additional filter coeffs that exist due to alignmentMichael Niedermayer
are 0 if bitexact mode is requested. Originally committed as revision 27595 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12yvu9toyv12Wrapper is not bitexact so disable it when the user wantsMichael Niedermayer
bitexactness to C. Originally committed as revision 27594 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale