summaryrefslogtreecommitdiff
path: root/libswscale/swscale.c
Commit message (Collapse)AuthorAge
* HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.Diego Biurrun2009-01-25
| | | | Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Disable C code when compiling AltiVec code, fixes the warning:Diego Biurrun2009-01-25
| | | | | | swscale_template.c:2623: warning: `swScale_C' defined but not used Originally committed as revision 28352 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* spelling/grammar cosmeticsDiego Biurrun2009-01-25
| | | | Originally committed as revision 28351 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix #endif comments.Diego Biurrun2009-01-25
| | | | Originally committed as revision 28350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add PIX_FMT_VDPAU_WMV3 and PIX_FMT_VDPAU_VC1.Carl Eugen Hoyos2009-01-20
| | | | Originally committed as revision 28344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which willNVIDIA Corporation2009-01-16
| | | | | | | | be used by MPlayer. Original patch by NVIDIA corporation. Originally committed as revision 28322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-14
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add PIX_FMT_VDPAU_H264.Carl Eugen Hoyos2009-01-08
| | | | Originally committed as revision 28281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* consistency cosmetics: Rename POWERPC identifiers to PPC.Diego Biurrun2008-12-27
| | | | Originally committed as revision 28194 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Silence GCC warnings:Vitor Sessak2008-10-27
| | | | | | | | | | | | 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
* Silence GCC warningVitor Sessak2008-10-26
| | | | Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not attempt to use the unscaled yuv2rgb converter when height is odd becauseMichael Niedermayer2008-10-25
| | | | | | 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-23
| | | | Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix broken palette8to*.Vitor Sessak2008-10-23
| | | | Originally committed as revision 27817 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Convert asm keyword into __asm__.Diego Pettenò2008-10-16
| | | | | | | | | | | | | 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-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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Add support for PIX_FMT_YUV440P.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27589 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
* 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
* Set rgb2yuv constants more accurately, makes no real difference though.Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Correct normalization constant for the vertical filter, iam notMichael Niedermayer2008-09-10
| | | | | | | completely sure why this was at such incorrect value, but i could not find any problems when it was set correctly. Originally committed as revision 27575 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change RGB2YUV_SHIFT from 16 to 15 to make it able to workMichael Niedermayer2008-09-10
| | | | | | with 16bit signed constants (like SIMD might use). Originally committed as revision 27568 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make SWS_FULL_CHR_H_INP work.Michael Niedermayer2008-09-10
| | | | Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* More accurate rounding for 8bit inputs.Michael Niedermayer2008-09-09
| | | | Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,Michael Niedermayer2008-09-09
| | | | | | and does not throw half the chroma away. Originally committed as revision 27561 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add table of rgb->yuv convertion coefficients.Michael Niedermayer2008-09-09
| | | | Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale