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
Reimar Döffinger
217d820253
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
16 years ago
Diego Biurrun
aeb87a49a7
cosmetics: typo fix
...
Originally committed as revision 27816 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ò
faf6112e26
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
16 years ago
Luca Barbato
7cff2c7f44
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
16 years ago
Diego Biurrun
02a6a6eea4
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
...
Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
0d696d34ef
Remove MPlayer-specific MP_WORDSIZE hack.
...
Originally committed as revision 27698 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Baptiste Coudurier
a6100f39a1
enable yuv422p to uyvy converter
...
Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
6107059c2c
rgb vs bgr fix for the unscaled converters.
...
Originally committed as revision 27518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
8a3227968c
spelling/grammar/wording overhaul
...
Originally committed as revision 27190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
ce3d365f2f
restore needed cast to correct type with const
...
Originally committed as revision 26957 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
994c1ef014
add const, suppress warnings
...
Originally committed as revision 26942 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Baptiste Coudurier
baf7f7c64a
remove useless casts
...
Originally committed as revision 26941 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Reimar Döffinger
f018bc1000
__asm __volatile -> asm volatile part 3
...
Originally committed as revision 26091 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Reimar Döffinger
5802683a97
Make some assembler constants global instead of declaring them multiple times.
...
Originally committed as revision 25910 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
8916b4b55b
Remove some useless parentheses.
...
Originally committed as revision 25779 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
30c48a0af4
Cosmetics: whitespaces
...
Originally committed as revision 25778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Benoit Fouet
e5091488a5
Remove non cosmetic spaces inside parentheses.
...
Originally committed as revision 25777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
594ff7cc6c
comment spelling/grammar fixes
...
Originally committed as revision 25137 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
17 years ago
Diego Biurrun
b19bcbaa78
license header consistency cosmetics
...
Originally committed as revision 23722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
86bdf3fd3d
misc spelling fixes
...
Originally committed as revision 23556 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
ce505b8523
cosmetics: Fix stray wrongly indented line.
...
Originally committed as revision 23174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
6e42e6c4b4
cosmetics attack, part I: Remove all tabs and prettyprint/reindent the code.
...
Originally committed as revision 23158 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
1da87823db
cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.
...
Originally committed as revision 23157 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
6a4970abd1
cosmetics: Remove trailing whitespace.
...
Originally committed as revision 23147 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
3052ddb2a8
preserve alpha channel when converting rgb32 to bgr32 in plain C
...
Originally committed as revision 23022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
35a9994977
skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
3983057065
skip MMX code in rgb32to16 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23014 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
b2117ceed0
skip MMX code in rgb32to15 if the size of the input is smaller than the
...
size of the units the MMX code processes
Originally committed as revision 23013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
935f50c82c
slightly faster rgb32tobgr32; avoid one add and one cmp
...
Originally committed as revision 23012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
b38d487466
New implementation of rgb32tobgr32
...
The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL
Originally committed as revision 23009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Ivo van Poorten
df170b81d9
Remove code duplication in sws_rgb2rgb_init.
...
The lists of assignments of all rgbxtoy variants are removed from
sws_rgb2rgb_init and replaced by a single list inside the template file.
This way, multiple lists are generated by the preprocessor and each list
gets its own initialization function. Those are called from the main
sws_rgb2rgb_init function, if applicable.
Originally committed as revision 22978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Luca Abeni
807e0c6645
Clarify that some of the non-SIMD code is now LGPLed.
...
All the authours of such code agreed.
Originally committed as revision 21045 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Nigel Pearson
d904b5fc66
Fix MacIntel build: "/nop" is illegal on Apple's older version of GAS
...
Patch by Nigel Pearson % nigel A ind P tansu P com P au %
Original thread:
Date: Nov 6, 2006 10:43 PM
Subject: [Ffmpeg-devel] [PATCH] swscale uses /nop, illegal for old versions of GAS
Originally committed as revision 20740 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
d026b45e73
Change license headers to say 'FFmpeg' instead of 'this program'.
...
Originally committed as revision 20100 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Diego Biurrun
4fadc2b4f1
Add official GPL header to make license explicit as discussed on ffmpeg-devel.
...
Originally committed as revision 19709 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
18 years ago
Jason Tackaberry
83c89c7885
-fPIC support for libswscale
...
patch by Jason Tackaberry, tack /at/ urandom /dot/ ca
Originally committed as revision 19402 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Diego Biurrun
4bff9ef9d0
Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
...
Originally committed as revision 19378 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Luca Abeni
73435f006b
Move postproc ---> libswscale
...
Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
19 years ago
Erik Auerswald
4ee5599fba
10l in rgb2rgb_template.c
...
patch by Erik Auerswald <auerswal at unix-ag uni-kl de>
Originally committed as revision 18111 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Nicolas Plourde
fac8012c3f
add support for intel mac. mp3lib is not fixed yet.
...
Originally committed as revision 18105 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
1d773cfde0
Fix rgb32tobgr16, rgb32to15, and rgb32tobgr15. All had the same problem that
...
was fixed in rgb32to16 about a year ago: using only the first 8 bits of the
32-bit pixel.
Originally committed as revision 17671 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Diego Biurrun
f41b1d3541
Remove obsolete big-endian FIXMEs.
...
Originally committed as revision 17623 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Alan Curry
f688668c3c
Fix big-endian color permutation problems.
...
patch by Alan Curry, pacman_at_TheWorld_dot_com
Originally committed as revision 17587 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Reimar Döffinger
7f526efd17
Change unsigned->signed and int->long, this fits the asm code better on 64
...
bit systems.
Also fixes several crashes because (long)-i is incorrect if i is unsigned.
Originally committed as revision 16740 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
19 years ago
Rene Rebe
d07355da77
Fixes rgb32to16 conversion for I think all platforms since the int8
...
cast should never have worked. Tested on PowerPC and fixes the black GUI
to show the content.
patch by Rene Rebe <rene at exactcode dot de>
Originally committed as revision 14983 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Aurelien Jacobs
6e1c66bc06
adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
...
Originally committed as revision 13721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Alex Beregszaszi
6cb38650e8
lot of bigendian fixes
...
Originally committed as revision 13424 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
20 years ago
Reimar Döffinger
4ccbc7d5a9
width instead of chromWidth causing segfault in some cases
...
Originally committed as revision 12994 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago