Diego Biurrun
f4406ec177
HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
...
Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
dfe44a855d
Disable C code when compiling AltiVec code, fixes the warning:
...
swscale_template.c:2623: warning: `swScale_C' defined but not used
Originally committed as revision 28352 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
f40c7dbb7e
spelling/grammar cosmetics
...
Originally committed as revision 28351 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
7a24ec506c
Fix #endif comments.
...
Originally committed as revision 28350 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Carl Eugen Hoyos
0ab8039577
Add PIX_FMT_VDPAU_WMV3 and PIX_FMT_VDPAU_VC1.
...
Originally committed as revision 28344 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
NVIDIA Corporation
4e2b48760b
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will
...
be used by MPlayer.
Original patch by NVIDIA corporation.
Originally committed as revision 28322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Aurelien Jacobs
b63f641e9b
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Carl Eugen Hoyos
420169e520
Add PIX_FMT_VDPAU_H264.
...
Originally committed as revision 28281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
cb82a0736d
consistency cosmetics: Rename POWERPC identifiers to PPC.
...
Originally committed as revision 28194 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Vitor Sessak
75add6fbfc
Silence GCC warnings:
...
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
16 years ago
Vitor Sessak
65f65c3021
Silence GCC warning
...
Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
9b0d44ef67
Do not attempt to use the unscaled yuv2rgb converter when height is odd because
...
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
16 years ago
Vitor Sessak
76e9fd01dd
Cosmetics: alignment
...
Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Vitor Sessak
522ce95786
Fix broken palette8to*.
...
Originally committed as revision 27817 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Pettenò
7ad6469eae
Convert asm keyword into __asm__.
...
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
16 years ago
Diego Pettenò
b5c44b1ab6
Mark some symbols in swscale.c as constant.
...
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
16 years ago
Diego Pettenò
d0b69b2855
Mark dither_2x2_{8,4} static to swscale.c
...
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
16 years ago
Carl Eugen Hoyos
f5a2c9816e
Change variable types from int to enum PixelFormat.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Vitor Sessak
e150ef8d34
Do not set src[1] to the palette, it is now in the context
...
Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Vitor Sessak
4900461742
Add a new unscaled PAL8 -> RGB converter.
...
Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Aurelien Jacobs
13394e8cbb
Change one more variable type from int to enum PixelFormat.
...
This one was missing from r27727.
Originally committed as revision 27728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Carl Eugen Hoyos
58e4b706c5
Change variable types from int to enum PixelFormat.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 27727 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Carl Eugen Hoyos
88e2a9aebc
Remove b5Dither, g5Dither and r5Dither from libswscale.
...
Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Carl Eugen Hoyos
92c7b4713d
Remove g6Dither from libswscale.
...
Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
f830d8244a
Fix infinite loop with spline, bug was introduced in r27612 by me.
...
Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
d616c8ae3d
Fix segfault with rgb24 and full_internal_chrome due to non existing alpha
...
byte being written after the array.
Originally committed as revision 27628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
a64a062fb9
Avoid using floating point for calculating filter coefficients.
...
Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
8588e1484e
Avoid some explicit types in sizeof().
...
Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
22129c78d7
Use av_mallocz() instead of for() =0;
...
Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
45e18be87d
Move dither tables from yuv2rgb to swscale, they have been written by me and
...
can be used under LGPL.
Originally committed as revision 27609 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
43c164788c
Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.
...
Originally committed as revision 27599 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
88bc5a64f6
Ensure that additional filter coeffs that exist due to alignment
...
are 0 if bitexact mode is requested.
Originally committed as revision 27595 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
84c1253513
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
...
bitexactness to C.
Originally committed as revision 27594 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
b82ecd6258
The yuv->rgb tables are too small for cliping to be avoidable,
...
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
17 years ago
Michael Niedermayer
6c80eb1626
Add support for PIX_FMT_YUV440P.
...
Originally committed as revision 27589 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
3d05e078ee
Support mono as input format.
...
Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
ec1bca2a0f
Add support for PIX_FMT_MONOWHITE as output format.
...
Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
0885770455
rgb24toyv12 isnt accuratly rounding, so disable it as well when the
...
user asks for accurate rounding.
Originally committed as revision 27585 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
4155ece530
Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
...
because they do not accurately round.
Originally committed as revision 27584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
8e7ba004ed
Remove mistakely commited code i used for testing.
...
Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
f0faee4c63
Implement full horizontal chroma for rgb/bgr24/32 output.
...
Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
bdf397ba4b
Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.
...
Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
e69bd29425
Factorize yuv2packedXinC().
...
Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
7b5d7b9e85
Set rgb2yuv constants more accurately, makes no real difference though.
...
Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
5fe4aad711
Correct normalization constant for the vertical filter, iam not
...
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
17 years ago
Michael Niedermayer
6b79dbce0c
Change RGB2YUV_SHIFT from 16 to 15 to make it able to work
...
with 16bit signed constants (like SIMD might use).
Originally committed as revision 27568 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
2f60f6297c
Make SWS_FULL_CHR_H_INP work.
...
Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
cbcb408ff6
More accurate rounding for 8bit inputs.
...
Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
dfb09bd1d4
Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,
...
and does not throw half the chroma away.
Originally committed as revision 27561 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Michael Niedermayer
0f5d4aa83b
Add table of rgb->yuv convertion coefficients.
...
Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago