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
19 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
21 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
Michael Niedermayer
da7f8893e3
bigendian fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
...
with #if defined(WORDS_BIGENDIAN) && (WORDS_BIGENDIAN == 1) -> #ifdef WORDS_BIGENDIAN by me
Originally committed as revision 12396 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
D Richard Felker III
ae4cffd9fc
this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as such
...
Originally committed as revision 12386 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
21 years ago
Michael Niedermayer
7ac25f2d00
yv12->uyvy MMX
...
Originally committed as revision 11073 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Alex Beregszaszi
caeaabe7d0
uyvy output support in swscaler
...
Originally committed as revision 11069 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
d7b8e4b622
bigendian fix by (Samuel Kleiner <kleiner at cd dot chalmers dot se>)
...
Originally committed as revision 9989 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
700490a4d1
remove remaining cpudetect dependancy
...
Originally committed as revision 9988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
aeae5d537b
optimize
...
Originally committed as revision 9455 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
deb2277c0d
simpler & faster
...
Originally committed as revision 9431 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
4596673c06
-fPIC compileable
...
Originally committed as revision 9395 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
b3b8bf6419
yv12 -> yuy2 converter in alpha asm (from mplayerxp)
...
Originally committed as revision 9394 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
f0b62bbde2
cleanup (unsigned stride -> int stride)
...
Originally committed as revision 9393 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Michael Niedermayer
b2609d4cbd
yuv9 -> yv12 bugfixes
...
Originally committed as revision 9257 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
22 years ago
Colin Leroy
470ba6f28a
fixing RGB32->RGB16 on big endian patch by (Colin Leroy <colin at colino dot net>)
...
Originally committed as revision 7892 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Arpi
ff78c59639
use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
...
Originally committed as revision 7422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
0598bcbb5f
fixing memory overwrite bugs in the new converters
...
Originally committed as revision 6609 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
ac4d0aea71
merging changes from mplayerxp (rgb2rgb*.{c,h} only)
...
Originally committed as revision 6607 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
d8dad2a525
fixing memory overwrite bugs again ...
...
Originally committed as revision 6606 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
b241cbf2cf
yvu9 -> yv12 unscaled converter with linear chroma scaling
...
Originally committed as revision 6583 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Arpi
0d9f3d85f6
sync with mplayer xp
...
- partial yvu9 support (copy only)
- rgb 15/16 -> 24/32 converters
- int->unsigned changes
Originally committed as revision 6493 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Alex Beregszaszi
d661d18d89
pre-yvu9toyv12 converter, only grayscale Y-plane coping :)
...
Originally committed as revision 6485 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
218ad65d4d
fixing end overwrite bugs (some at least)
...
this needs testing, untested parts should be reversed before release
i tested 24->32, 15->16, bgr24->rgb, bgr32->rgb (retesting them isnt a bad idea either ...)
Originally committed as revision 6097 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Arpi
4085d977dd
10l - MMX rgb2bgr 32bpp expects num_of_bytes instead of num_of_pixels
...
Originally committed as revision 5962 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
b1ec5875a6
yuv422p -> yuy2 (untested)
...
Originally committed as revision 5589 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
74d3583521
rgb24->bgr24
...
Originally committed as revision 5583 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Michael Niedermayer
5d55fdb40b
byte interleaving for mga
...
untested (no g200 mga or whatever i would need ...)
experimental sse2 version (even less tested as no p4 either ...)
sse2 version would need 16-byte aligned src & dst else sig11
sse2 version is disabled by default
Originally committed as revision 5338 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago
Felix Bünemann
854288bba9
add mangling
...
Originally committed as revision 4924 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
23 years ago