126 Commits

Author SHA1 Message Date
Reimar Döffinger
065ee1ec32 fix variable type used via "m" asm constraint to match size used in asm.
fixes crashes on AMD64.

Originally committed as revision 18576 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-06-05 10:51:58 +00:00
Michael Niedermayer
46fe31a019 removing esp usage
this is certainly not the most beautifull but it should work without -fomit-frame-pointer and PIC and gcc-4 vomits when ebp is given in a constraint directly even with -fomi-frame-pointer so theres not that much choice ...
if anyone knows a simpler/cleaner solution, dont hesitate to suggest it ...

Originally committed as revision 18393 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-05-06 02:01:39 +00:00
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
2006-04-15 20:46:54 +00:00
Alan Curry
b9a6fae930 don't call altivec_yuv2packedX() with a dstFormat that it doesn't support;
instead fall back on yuv2packedXinC

Originally committed as revision 17642 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-02-18 00:41:28 +00:00
Diego Biurrun
660204c65c Update licensing information: The FSF changed postal address.
Originally committed as revision 17368 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-01-13 00:23:32 +00:00
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
2005-10-12 12:11:27 +00:00
Guillaume Poirier
dc77ef7fea Re-enables the GCC-4 fix for AMD-64 only. Patch by cartman and poirierg
Originally committed as revision 15973 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-07-12 19:16:04 +00:00
Guillaume Poirier
9cc768f64c Reverts GCC-4.0 "fixe" which broke GCC-3.3 and maybe others
Originally committed as revision 15859 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-06-30 05:35:26 +00:00
Reimar Döffinger
c35afa2f57 Another REG_d -> REG_D fix.
Originally committed as revision 15846 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-06-28 22:54:09 +00:00
Guillaume Poirier
69cf0be2c3 Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
that code othewisei (leading to segfaults).

Originally committed as revision 15814 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-06-24 12:17:30 +00:00
Guillaume Poirier
1a2f549126 10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32
tested with gcc-2.95, 3.3, 3.4, 4.0 on ia-32 and 3.4, 4.0, 3.3 on amd64

Originally committed as revision 15763 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-06-19 14:35:10 +00:00
Guillaume Poirier
bf0c1b62f8 GCC-4 fix for AMD-64
Warning: high cola-affinity here)

Originally committed as revision 15750 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-06-18 20:16:19 +00:00
Michael Niedermayer
20ffdcf9c0 one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, netfarm it)
Originally committed as revision 15618 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-06-02 20:54:03 +00:00
Alex Beregszaszi
b7782b47c9 unused define
Originally committed as revision 15296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-04-29 18:32:24 +00:00
Ville Syrjälä
6118e52ea6 Improved NV12/NV21 support.
- Fixed PlanarToNV12Wrapper() and made it handle NV21.
- Added yuv2nv12XinC() to handle software scaling.
- Added NV12/NV21 handling to various places.
- Removed NV12 from vf_hue and vf_spp as they don't look like they can
  actually handle it.

Originally committed as revision 14716 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-16 23:47:00 +00:00
Aurelien Jacobs
6d606c4f5b fix few x86_64 registers handling
Originally committed as revision 14557 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-01-21 16:48:18 +00:00
Reimar Döffinger
b6663a5573 100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
to check if it's correct??

Originally committed as revision 14537 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-01-19 12:56:16 +00:00
Aurelien Jacobs
a7b42d28da 10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patch
Originally committed as revision 13734 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-10-22 00:21:57 +00:00
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
2004-10-21 11:55:20 +00:00
Michael Niedermayer
a31de95620 altivec yuv->rgb converter
orginal patch  by (Marc Hoffman <mmh at pleasantst dot com>)
critical fixes by (Reza Jelveh <reza.jelveh at tu-harburg dot de>)

known bugs/issues, which should be fixed ASAP by someone who has a ppc:
0..255 vs. 16..235
unneeded recalculation of tables
general cleaup, like removing double initalizing of variables

Originally committed as revision 12699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-06-27 00:07:15 +00:00
Romain Dolbeau
8c266f0cb7 AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
Originally committed as revision 12131 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-04-06 00:25:47 +00:00
Romain Dolbeau
a2faa40192 AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 12018 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-03-11 17:58:11 +00:00
Michael Niedermayer
379a20360c rounding fixes
Originally committed as revision 11123 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-15 11:21:54 +00:00
Gabucino
77a416e8aa many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>

Originally committed as revision 11001 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-04 17:29:08 +00:00
Alex Beregszaszi
3ec3877781 killed an mp_msg occurance
Originally committed as revision 9971 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-21 23:14:21 +00:00
Michael Niedermayer
c9b99ea661 mplayer idependant (not really yet) swscale example
Originally committed as revision 9922 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-17 19:32:46 +00:00
Michael Niedermayer
3e499f531a cleanup
Originally committed as revision 9500 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-24 00:12:30 +00:00
Michael Niedermayer
d4e242755f sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines

Originally committed as revision 9495 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-23 22:05:55 +00:00
Michael Niedermayer
5427e24291 yuv2rgb brightness/contrast/saturation/different colorspaces support finished
yuv2rgb deglobalize
yuv2rgb optimizations / cleanup
bugs?

Originally committed as revision 9477 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-21 20:35:18 +00:00
Michael Niedermayer
9902f4e2e4 1000l
Originally committed as revision 9435 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-15 17:29:01 +00:00
Michael Niedermayer
4e61e21c32 bigendian bug (fixes?)
Originally committed as revision 9434 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-15 15:07:57 +00:00
Michael Niedermayer
e54d94ba4e cleanup
Originally committed as revision 9418 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-13 21:38:43 +00:00
Michael Niedermayer
6542b44e2a cleanup
Originally committed as revision 9415 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-13 18:24:33 +00:00
Michael Niedermayer
77a4965980 cleanup
Originally committed as revision 9414 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-13 14:19:05 +00:00
Michael Niedermayer
7322a67c39 UYVY input
Originally committed as revision 9072 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-01-23 09:35:22 +00:00
Dominik Mierzejewski
c9f99fef4f warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
Originally committed as revision 8255 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-23 10:58:14 +00:00
Michael Niedermayer
25593e29f2 mmx yuy2 output
Originally committed as revision 7724 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-13 17:23:02 +00:00
Michael Niedermayer
46de8b7334 yuy2 output support
Originally committed as revision 7721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-13 00:30:38 +00:00
Michael Niedermayer
df1b2c141b fixing y422p output
Originally committed as revision 7352 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-09 22:48:39 +00:00
Michael Niedermayer
937683784d fixing sinc filter (seems the problem was caused by rounding in pmulhw -> solution use shorter filter, its long and slow enough anyway)
some typos
some warning fixes

Originally committed as revision 6680 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-07-09 17:01:52 +00:00
Michael Niedermayer
f5b58629fe last line messed up in Y800 bugfix
Originally committed as revision 6616 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-30 20:32:42 +00:00
Michael Niedermayer
cf7d1c1a73 use unified yuv2rgb init
{RGB,BGR}{1,4,8,15,16,24,32} output supported

Originally committed as revision 6579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-27 18:00:47 +00:00
Michael Niedermayer
5ac80202c8 killing globals
Originally committed as revision 6555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-24 20:05:53 +00:00
Michael Niedermayer
5859233b70 100l (non mmx versions didnt compile)
some cleanup

Originally committed as revision 6541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-24 00:18:29 +00:00
Michael Niedermayer
e616aa936e yvu9 support (other planar yuv formats with other chroma subsamplings should be trivial to add, if they had a IMGFMT)
disabled broken (=new) converters (they cause random sig11)
various bugfixes

Originally committed as revision 6533 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-23 18:51:43 +00:00
Michael Niedermayer
3f7bb50cdd cleanup
Originally committed as revision 6521 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-23 11:01:25 +00:00
Michael Niedermayer
c7a810cc25 selftest support
bugfixes

Originally committed as revision 6518 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-23 10:36:18 +00:00
Michael Niedermayer
44c1035c2f cleanup & grayscale support
Originally committed as revision 6504 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-22 20:37:30 +00:00
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
2002-06-22 08:49:45 +00:00
Alban Bedel
4a53a912af printf to mp_msg
Originally committed as revision 5938 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-02 11:00:16 +00:00