Commit Graph

121 Commits

Author SHA1 Message Date
reimar 4465aa5eb2 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.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16740 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 12:11:27 +00:00
gpoirier 47be9aef90 Re-enables the GCC-4 fix for AMD-64 only. Patch by cartman and poirierg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15973 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-12 19:16:04 +00:00
gpoirier 455ea9d1c2 Reverts GCC-4.0 "fixe" which broke GCC-3.3 and maybe others
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15859 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 05:35:26 +00:00
reimar 5a99d5e02c Another REG_d -> REG_D fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15846 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-28 22:54:09 +00:00
gpoirier f7011457b0 Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
that code othewisei (leading to segfaults).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15814 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 12:17:30 +00:00
gpoirier 276116a0ea 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15763 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 14:35:10 +00:00
gpoirier 622cea7559 GCC-4 fix for AMD-64
Warning: high cola-affinity here)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15750 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 20:16:19 +00:00
michael 3f3ef3d48b one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, netfarm it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15618 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 20:54:03 +00:00
alex bfe12a1e93 unused define
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15296 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-29 18:32:24 +00:00
syrjala c260a1139d 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.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14716 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-16 23:47:00 +00:00
aurel 1f5ddaaa29 fix few x86_64 registers handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14557 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-21 16:48:18 +00:00
reimar 93cd7326b3 100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
to check if it's correct??


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14537 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 12:56:16 +00:00
aurel 4f21b986b7 10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13734 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-22 00:21:57 +00:00
aurel 798d2d1337 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 11:55:20 +00:00
michael 56164a0e7a 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12699 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 00:07:15 +00:00
michael 834569d109 AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12131 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 00:25:47 +00:00
michael e61fb5349a AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12018 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-11 17:58:11 +00:00
michael f9bb7a21e5 rounding fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11123 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-15 11:21:54 +00:00
gabucino fadce2d781 many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 17:29:08 +00:00
alex 16cc949f79 killed an mp_msg occurance
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9971 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-21 23:14:21 +00:00
michael f09836cc0e mplayer idependant (not really yet) swscale example
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9922 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-17 19:32:46 +00:00
michael 546b584627 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9500 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-24 00:12:30 +00:00
michael 41b847f6a8 sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 22:05:55 +00:00
michael 274db98899 yuv2rgb brightness/contrast/saturation/different colorspaces support finished
yuv2rgb deglobalize
yuv2rgb optimizations / cleanup
bugs?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9477 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-21 20:35:18 +00:00
michael 399c27aabb 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9435 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-15 17:29:01 +00:00
michael 4c884c5a6b bigendian bug (fixes?)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9434 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-15 15:07:57 +00:00
michael 1a0f8f0552 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9418 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-13 21:38:43 +00:00
michael fdbb1881f5 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9415 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-13 18:24:33 +00:00
michael 0436097051 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9414 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-13 14:19:05 +00:00
michael 9c3153404f UYVY input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9072 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-23 09:35:22 +00:00
michael 01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
michael c5bd2a756f mmx yuy2 output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7724 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 17:23:02 +00:00
michael c7c35d3208 yuy2 output support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7721 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 00:30:38 +00:00
michael 053661ed12 fixing y422p output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7352 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-09 22:48:39 +00:00
michael 154dc921d3 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6680 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-09 17:01:52 +00:00
michael 545cc2b406 last line messed up in Y800 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6616 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-30 20:32:42 +00:00
michael 21b3ff056a use unified yuv2rgb init
{RGB,BGR}{1,4,8,15,16,24,32} output supported


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6579 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 18:00:47 +00:00
michael f78969448f killing globals
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6555 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 20:05:53 +00:00
michael d6648864ba 100l (non mmx versions didnt compile)
some cleanup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6541 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 00:18:29 +00:00
michael 89b1dec5ff 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6533 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 18:51:43 +00:00
michael 8317448441 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6521 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 11:01:25 +00:00
michael 4f188f6869 selftest support
bugfixes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6518 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 10:36:18 +00:00
michael cb7f0c8feb cleanup & grayscale support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6504 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-22 20:37:30 +00:00
arpi d3c753359a sync with mplayer xp
- partial yvu9 support (copy only)
- rgb 15/16 -> 24/32 converters
- int->unsigned changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6493 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-22 08:49:45 +00:00
albeu 55afd4ed10 printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5938 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 11:00:16 +00:00
michael 91438d4597 overread in the mmx2 horizontal scaler fixed
2% faster horizontal mmx2 scaler


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5453 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-01 14:01:22 +00:00
atmos4 fac9cb6305 add mangling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4924 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-03 13:33:40 +00:00
michael d424101631 101++
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4795 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 19:41:50 +00:00
michael d0b24c8362 fixing bgr32 output on big-endian systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4794 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 17:48:00 +00:00
michael 424df7dbb1 minor dststride bugfix for i420 output
srcHeight %2 != 0 bugfix / chroma height = (luma height +1)>>1 in YV12


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4699 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-14 16:38:50 +00:00