Zuxy Meng
4b19045566
Remove unused PREFETCHW macro
...
Originally committed as revision 30253 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
7d73d1c336
Indent.
...
Originally committed as revision 29654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
dd68318cee
Cosmetics:
...
- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.
Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
9b734d44ab
Indent libswscale:
...
- Use 4 spaces throughout for indentation;
- Fix inconsistent indentation;
- Indent function calls and declarations aligning arguments on multiple lines
to the column after the opening parentheses;
- Align asm code to the column 4 spaces after the call to __asm__();
- Align cases in switch statements to the same column as "switch".
Originally committed as revision 29522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Diego Biurrun
0bf18ed32d
Remove disabled crufty code.
...
Originally committed as revision 29482 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
a898cdc995
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 29439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
b36da2c215
Remove 2 useless += at the end of rgb16to15(), found by CSA.
...
Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
3d99e069e4
10l (C code was buggy and untested)
...
Originally committed as revision 29030 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
870a4adbb7
Average chroma of 2 lines in packed 422 -> planar 420.
...
Originally committed as revision 29029 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
9326d3f355
Revert
...
Date: Wed Mar 18 23:11:50 2009
New Revision: 28996
Log:
Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.
This change was non optimal, correct would have been to revert the offending commits
if no time was available to find a clean fix.
Originally committed as revision 29003 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
0411072ee3
Unscaled converters for
...
YUYV->YUV420P
YUYV->YUV422P
UYVY->YUV420P
UYVY->YUV422P
Originally committed as revision 28997 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
62651fa729
Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.
...
Originally committed as revision 28996 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
d0ce212a7a
Do not assume long is same width as x86 register.
...
Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
a284d03093
Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting alpha channel to 0xFF
...
Originally committed as revision 28808 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
f8a138be52
When converting from a non alpha format to an alpha format, defaults
...
Originally committed as revision 28756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
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
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