summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* Mark some symbols in swscale.c as constant.Diego Pettenò2008-10-09
| | | | | | | 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-09
| | | | | | | 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-09
| | | | | | | 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-09
| | | | | | | | | | | | | | 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-09
| | | | | | 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-08
| | | | Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add a new unscaled PAL8 -> RGB converter.Vitor Sessak2008-10-08
| | | | 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-08
| | | | | | 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-07
| | | | | | 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-05
| | | | | | 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-05
| | | | Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove b5Dither, g5Dither and r5Dither from libswscale.Carl Eugen Hoyos2008-10-04
| | | | Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove g6Dither from libswscale.Carl Eugen Hoyos2008-10-04
| | | | Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove MPlayer-specific MP_WORDSIZE hack.Diego Biurrun2008-10-04
| | | | Originally committed as revision 27698 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused function fast_memcpy.Diego Biurrun2008-09-29
| | | | Originally committed as revision 27673 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* cosmetics: indentationDiego Biurrun2008-09-29
| | | | Originally committed as revision 27672 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert mistakely commited hunk.Michael Niedermayer2008-09-29
| | | | 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-29
| | | | 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-29
| | | | Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Uniform *ToY and *ToUV function signaturesLuca Barbato2008-09-18
| | | | Originally committed as revision 27636 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Split mono2Y in monowhite and monoblackLuca Barbato2008-09-18
| | | | Originally committed as revision 27635 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize unit32_t* casts for palette pointerLuca Barbato2008-09-18
| | | | 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-16
| | | | | | 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-15
| | | | Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Avoid some explicit types in sizeof().Michael Niedermayer2008-09-14
| | | | Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use av_mallocz() instead of for() =0;Michael Niedermayer2008-09-14
| | | | 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-14
| | | | | | 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-13
| | | | Originally committed as revision 27602 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix indention.Michael Niedermayer2008-09-13
| | | | 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-13
| | | | 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-13
| | | | | | 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-13
| | | | 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-13
| | | | | | are 0 if bitexact mode is requested. Originally committed as revision 27595 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* yvu9toyv12Wrapper is not bitexact so disable it when the user wantsMichael Niedermayer2008-09-12
| | | | | | bitexactness to C. Originally committed as revision 27594 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make the horizontal C scaler code clip only against INT16_MAX not 0,Michael Niedermayer2008-09-12
| | | | | | this decreases the difference between C and MMX, its also faster. Originally committed as revision 27593 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add bitexact flag.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* The yuv->rgb tables are too small for cliping to be avoidable,Michael Niedermayer2008-09-12
| | | | | | | | thus revert the respective optimization. The table generator code has to be rewritten anyway one day by some volunteer because its not LGPL, fixing the GPL table generator thus seems like wasted time. Originally committed as revision 27591 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix another 1000l bug in the mono input code.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27590 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add support for PIX_FMT_YUV440P.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27589 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 10000l PIX_FMT_MONOWHITE check was really a || 1.Michael Niedermayer2008-09-12
| | | | | | | Thats what happens when one does not do the full set of tests before each commit and just quickly goes over the diff thinking, "hey its a trivial change". Originally committed as revision 27588 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Support mono as input format.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add support for PIX_FMT_MONOWHITE as output format.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* rgb24toyv12 isnt accuratly rounding, so disable it as well when theMichael Niedermayer2008-09-12
| | | | | | user asks for accurate rounding. Originally committed as revision 27585 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,Michael Niedermayer2008-09-12
| | | | | | because they do not accurately round. Originally committed as revision 27584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 100000000000000l, forgot to commit header change for r27580.Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix typo that lead to averaging of the same pixel in rgb24ToUV_half().Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove mistakely commited code i used for testing.Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Implement full horizontal chroma for rgb/bgr24/32 output.Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize yuv2packedXinC().Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale