Commit Graph

112 Commits

Author SHA1 Message Date
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
Michael Niedermayer b7dc6f6628 overread in the mmx2 horizontal scaler fixed
2% faster horizontal mmx2 scaler

Originally committed as revision 5453 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-01 14:01:22 +00:00
Felix Bünemann 854288bba9 add mangling
Originally committed as revision 4924 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-03-03 13:33:40 +00:00
Michael Niedermayer 2ba1bff059 101++
Originally committed as revision 4795 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 19:41:50 +00:00
Michael Niedermayer df3c183a7b fixing bgr32 output on big-endian systems
Originally committed as revision 4794 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 17:48:00 +00:00
Michael Niedermayer 332105e446 minor dststride bugfix for i420 output
srcHeight %2 != 0 bugfix / chroma height = (luma height +1)>>1 in YV12

Originally committed as revision 4699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-14 16:38:50 +00:00
Michael Niedermayer 4342fc14dc bgr24toUV in MMX
Originally committed as revision 4620 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-09 23:43:48 +00:00
Michael Niedermayer ac6a2e4550 bgr24toY in MMX
Originally committed as revision 4613 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-09 17:03:53 +00:00
Michael Niedermayer b72034dd49 bgr15 input support
Originally committed as revision 4581 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 03:09:46 +00:00
Michael Niedermayer 5bb9d9d8e8 faster bgr16 input
Originally committed as revision 4580 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 01:24:02 +00:00
Michael Niedermayer 6af250ea5c bgr16 input support
Originally committed as revision 4579 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 00:42:00 +00:00
Michael Niedermayer a861d4d7f3 rgb32 & rgb24 input support
squished a endianness bug in the 15/16bgr output

Originally committed as revision 4559 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 22:55:57 +00:00
Michael Niedermayer 370799068d swScale internally uses yuv2rgb now if possible
Originally committed as revision 4555 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 20:52:14 +00:00
Michael Niedermayer 6ff0ad6bfd MMX(2) optimized YUY2 input
avoid duplicate checks for formats by changeing them (Y8->Y800, IYUV->I420)

Originally committed as revision 4482 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-02 18:18:58 +00:00
Michael Niedermayer 1e621b18b2 YUY2, BGR24, BGR32 input support (no mmx yet)
Originally committed as revision 4468 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-01 19:25:09 +00:00