Statistics
| Branch: | Revision:

ffmpeg / libswscale @ cb82a073

# Date Author Comment
cb82a073 12/27/2008 11:33 AM Diego Biurrun

consistency cosmetics: Rename POWERPC identifiers to PPC.

Originally committed as revision 28194 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b9263c94 12/19/2008 09:59 AM Diego Biurrun

Remove pointless malloc.h #include.

Originally committed as revision 28164 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

217d8202 12/12/2008 04:46 PM Reimar Döffinger

Some forgotten eax -> REG_a changes.
It seems that binutils >= 2.18 just treat eax as rax but older versions fail.

Originally committed as revision 28136 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

37692458 12/03/2008 03:25 PM Diego Biurrun

Delete unnecessary 'extern' keywords.

Originally committed as revision 28082 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

1599c47c 12/02/2008 12:26 AM Diego Biurrun

Remove commented-out duplicate declarations.

Originally committed as revision 28058 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

2ef8819c 12/02/2008 12:21 AM Diego Biurrun

Remove unused declarations.

Originally committed as revision 28057 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

4d382e20 11/20/2008 10:54 PM Diego Biurrun

cosmetics: Consistently place HEADERS before OBJS in all Makefiles.

Originally committed as revision 27970 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

5155b839 11/17/2008 10:33 AM Diego Biurrun

Put variable declaration inside an #ifdef to avoid an unused variable warning.

Originally committed as revision 27945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

dcc37c9b 11/04/2008 08:38 PM Diego Biurrun

Add some const specifiers to function name variables; fixes a bunch of
"initialization discards qualifiers from pointer target type" warnings.

Originally committed as revision 27894 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6408c25b 11/03/2008 10:06 PM Diego Biurrun

Merge ARCH_BFIN lines.

Originally committed as revision 27889 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

efa430fa 11/03/2008 10:01 PM Diego Biurrun

Add tests target for libswscale test programs.

Originally committed as revision 27888 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

1a220bcd 11/03/2008 09:49 PM Måns Rullgård

Remove forgotten ASM_OBJS in libswscale

Originally committed as revision 27887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

75add6fb 10/27/2008 07:59 PM Vitor Sessak

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...

bddddb5a 10/27/2008 09:05 AM Michael Niedermayer

rgb2rgb.h was not really intended to be a public header, thus remove it.

Originally committed as revision 27836 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b29e6551 10/27/2008 09:03 AM Michael Niedermayer

Remove rgb2rgb.h dependancy.

Originally committed as revision 27835 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

65f65c30 10/26/2008 03:41 PM Vitor Sessak

Silence GCC warning

Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

36e8de07 10/25/2008 08:41 PM Carl Eugen Hoyos

Remove unused code that can't be compiled without svn archive.

Originally committed as revision 27827 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9b0d44ef 10/25/2008 03:00 PM Michael Niedermayer

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

76e9fd01 10/23/2008 07:20 PM Vitor Sessak

Cosmetics: alignment

Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

522ce957 10/23/2008 07:13 PM Vitor Sessak

Fix broken palette8to*.

Originally committed as revision 27817 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

aeb87a49 10/23/2008 04:23 PM Diego Biurrun

cosmetics: typo fix

Originally committed as revision 27816 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9655ffb5 10/19/2008 06:56 PM David Conrad

Convert typeof keyword into typeof; this is a gcc extension and the 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

7ad6469e 10/16/2008 01:34 PM Diego Pettenò

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...

b5c44b1a 10/09/2008 11:13 AM Diego Pettenò

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

d0b69b28 10/09/2008 11:12 AM Diego Pettenò

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

faf6112e 10/09/2008 11:11 AM Diego Pettenò

Mark variation-specific interleaveBytes static.

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

6683a37f 10/09/2008 11:10 AM Diego Pettenò

Invert logic for the single-pass in swScale() functions.

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...

f5a2c981 10/09/2008 08:36 AM Carl Eugen Hoyos

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

e150ef8d 10/08/2008 05:48 PM Vitor Sessak

Do not set src1 to the palette, it is now in the context

Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

49004617 10/08/2008 05:46 PM Vitor Sessak

Add a new unscaled PAL8 -> RGB converter.

Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13394e8c 10/08/2008 11:59 AM Aurelien Jacobs

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

58e4b706 10/07/2008 07:44 PM Carl Eugen Hoyos

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

7cff2c7f 10/05/2008 09:00 PM Luca Barbato

gcc-apple specific fallback not necessary anymore (btw no apple hardware is 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

02a6a6ee 10/05/2008 04:47 PM Diego Biurrun

Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.

Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

88e2a9ae 10/04/2008 06:50 PM Carl Eugen Hoyos

Remove b5Dither, g5Dither and r5Dither from libswscale.

Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

92c7b471 10/04/2008 04:40 PM Carl Eugen Hoyos

Remove g6Dither from libswscale.

Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

0d696d34 10/04/2008 09:52 AM Diego Biurrun

Remove MPlayer-specific MP_WORDSIZE hack.

Originally committed as revision 27698 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

92ca9105 09/29/2008 06:06 AM Diego Biurrun

Remove unused function fast_memcpy.

Originally committed as revision 27673 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

ed2164f3 09/29/2008 05:41 AM Diego Biurrun

cosmetics: indentation

Originally committed as revision 27672 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

8335a9f0 09/29/2008 01:15 AM Michael Niedermayer

Revert mistakely commited hunk.

Originally committed as revision 27671 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

0473e31f 09/29/2008 01:14 AM Michael Niedermayer

Print all cases that are tested, not just the ones that are bad.

Originally committed as revision 27670 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f830d824 09/29/2008 01:08 AM Michael Niedermayer

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

896a22b8 09/18/2008 12:26 AM Luca Barbato

Uniform *ToY and *ToUV function signatures

Originally committed as revision 27636 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3a5ba0c3 09/18/2008 12:24 AM Luca Barbato

Split mono2Y in monowhite and monoblack

Originally committed as revision 27635 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e48a79c9 09/18/2008 12:22 AM Luca Barbato

Factorize unit32_t* casts for palette pointer

Originally committed as revision 27634 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d616c8ae 09/16/2008 03:49 AM Michael Niedermayer

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

a64a062f 09/15/2008 03:33 AM Michael Niedermayer

Avoid using floating point for calculating filter coefficients.

Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

8588e148 09/14/2008 07:29 PM Michael Niedermayer

Avoid some explicit types in sizeof().

Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

22129c78 09/14/2008 07:25 PM Michael Niedermayer

Use av_mallocz() instead of for() =0;

Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

45e18be8 09/14/2008 06:00 PM Michael Niedermayer

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

a35acd7f 09/13/2008 04:13 PM Benjamin Zores

Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.

Originally committed as revision 27602 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14014d47 09/13/2008 01:41 PM Michael Niedermayer

Fix indention.

Originally committed as revision 27600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

43c16478 09/13/2008 11:52 AM Michael Niedermayer

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

f433c8ab 09/13/2008 03:12 AM Michael Niedermayer

Disable mmx routines that are not bitexact when the user wants
bitexact ones.

Originally committed as revision 27597 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

ef423a66 09/13/2008 02:18 AM Michael Niedermayer

Make horizontal mmx scaling code match C code.

Originally committed as revision 27596 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

88bc5a64 09/13/2008 02:04 AM Michael Niedermayer

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

84c12535 09/12/2008 11:52 PM Michael Niedermayer

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

881c4294 09/12/2008 10:29 PM Michael Niedermayer

Make the horizontal C scaler code clip only against INT16_MAX not 0,
this decreases the difference between C and MMX, its also faster.

Originally committed as revision 27593 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

ceb700ba 09/12/2008 09:46 PM Michael Niedermayer

Add bitexact flag.

Originally committed as revision 27592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b82ecd62 09/12/2008 09:25 PM Michael Niedermayer

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....

78454dfc 09/12/2008 06:05 PM Michael Niedermayer

Fix another 1000l bug in the mono input code.

Originally committed as revision 27590 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6c80eb16 09/12/2008 05:51 PM Michael Niedermayer

Add support for PIX_FMT_YUV440P.

Originally committed as revision 27589 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

4bb9adcf 09/12/2008 05:28 PM Michael Niedermayer

10000l PIX_FMT_MONOWHITE check was really a || 1.
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

3d05e078 09/12/2008 04:46 PM Michael Niedermayer

Support mono as input format.

Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

ec1bca2a 09/12/2008 04:01 PM Michael Niedermayer

Add support for PIX_FMT_MONOWHITE as output format.

Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

08857704 09/12/2008 04:40 AM Michael Niedermayer

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

4155ece5 09/12/2008 02:05 AM Michael Niedermayer

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

fd5c57b8 09/11/2008 10:02 PM Michael Niedermayer

100000000000000l, forgot to commit header change for r27580.

Originally committed as revision 27583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e09d7eef 09/11/2008 02:47 PM Michael Niedermayer

Fix typo that lead to averaging of the same pixel in rgb24ToUV_half().

Originally committed as revision 27582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

8e7ba004 09/11/2008 02:40 PM Michael Niedermayer

Remove mistakely commited code i used for testing.

Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

f0faee4c 09/11/2008 02:39 PM Michael Niedermayer

Implement full horizontal chroma for rgb/bgr24/32 output.

Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

bdf397ba 09/11/2008 03:22 AM Michael Niedermayer

Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.

Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

e69bd294 09/11/2008 02:36 AM Michael Niedermayer

Factorize yuv2packedXinC().

Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

7b5d7b9e 09/11/2008 01:49 AM Michael Niedermayer

Set rgb2yuv constants more accurately, makes no real difference though.

Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

85a51e6b 09/11/2008 12:09 AM Michael Niedermayer

Fix chroma yuv->rgb tables for jpeg style yuv, this was missed as it
only affects the C code while mmx uses different tables.

Originally committed as revision 27576 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

5fe4aad7 09/10/2008 11:23 PM Michael Niedermayer

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

ac0ad729 09/10/2008 10:41 PM Michael Niedermayer

Make the 2point linear interpolation coefficients correct even for the
nearly never occuring 0.0, 1.0.

Originally committed as revision 27574 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

33a67bd6 09/10/2008 08:47 PM Michael Niedermayer

Fix overflow.

Originally committed as revision 27573 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

ff9a056d 09/10/2008 05:50 PM Michael Niedermayer

Fix build failure due to %%eip on x86_64.

Originally committed as revision 27569 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6b79dbce 09/10/2008 04:39 PM Michael Niedermayer

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

ba83d862 09/10/2008 01:55 PM Michael Niedermayer

Add bgr/rgb15/16/32->UV-half to the macro so theres less code duplication
at the source level.

Originally committed as revision 27567 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a0baa07a 09/10/2008 03:56 AM Michael Niedermayer

Factorize RGB/BGR15/16/32->UV by using the preprocessor.

Originally committed as revision 27566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

214892ee 09/10/2008 03:42 AM Michael Niedermayer

Factorize rgb/bgr15/16/32->Y by using the preprocessor.

Originally committed as revision 27565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

2f60f629 09/10/2008 02:28 AM Michael Niedermayer

Make SWS_FULL_CHR_H_INP work.

Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

58f0ec5f 09/10/2008 12:02 AM Diego Biurrun

spelling/wording cosmetics

Originally committed as revision 27563 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

cbcb408f 09/09/2008 11:39 PM Michael Niedermayer

More accurate rounding for 8bit inputs.

Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

dfb09bd1 09/09/2008 11:30 PM Michael Niedermayer

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

0f5d4aa8 09/09/2008 06:01 PM Michael Niedermayer

Add table of rgb->yuv convertion coefficients.

Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

35ab2b64 09/09/2008 04:55 PM Michael Niedermayer

More correct rounding for the rgb/bgr->yuv converters.

Originally committed as revision 27557 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

aa13b0fc 09/09/2008 03:35 AM Michael Niedermayer

Prevent overflows during mpeg->jpeg yuv.

Originally committed as revision 27552 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

6bc0c792 09/08/2008 12:36 PM Michael Niedermayer

Fix jpeg yuv.
Fixes issue504.

Originally committed as revision 27547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

59ded10c 09/08/2008 12:52 AM Michael Niedermayer

Fix typo in comment.

Originally committed as revision 27546 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

1625216e 09/07/2008 09:06 PM Michael Niedermayer

Fix accurate rounding mode on x86_64.
Fixes issue222.

Originally committed as revision 27545 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

97b93389 09/07/2008 06:22 PM Luca Barbato

Make ToY and ToUV family of function consistent part I
Convert width argument from int to long (note: srcW is still an int).

Originally committed as revision 27544 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

d63a2cb1 09/07/2008 04:59 PM Michael Niedermayer

Make fast bilinear scaler work again.

Originally committed as revision 27543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

3b38f1c6 09/05/2008 01:44 AM Baptiste Coudurier

simplify function selection code

Originally committed as revision 27528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

a6100f39 09/05/2008 12:25 AM Baptiste Coudurier

enable yuv422p to uyvy converter

Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

b0880d5d 09/04/2008 10:58 PM Michael Niedermayer

Make 16bit grayscale output work.

Originally committed as revision 27524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

736143c8 09/04/2008 10:31 PM Michael Niedermayer

Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.

Originally committed as revision 27523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9990e426 09/04/2008 09:59 PM Michael Niedermayer

Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Fixes issue248.

Originally committed as revision 27522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale