Commit Graph

284 Commits

Author SHA1 Message Date
Michael Niedermayer
df8d4d0ed5 cleanup
Originally committed as revision 7964 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 20:12:24 +00:00
Michael Niedermayer
9cb54f4311 cosmetics ;)
prefixing all functions with pp_ to avoid namespace issues

Originally committed as revision 7962 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 18:51:52 +00:00
Michael Niedermayer
ec487e5db8 better deblocking filter
Originally committed as revision 7961 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 18:35:15 +00:00
Michael Niedermayer
9d947f1935 -fomit-frame-pointer is needed for the PIC code
Originally committed as revision 7957 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 11:21:43 +00:00
Michael Niedermayer
abd140db79 using fewer registers (fixes compilation bug hopefully)
Originally committed as revision 7953 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 09:16:06 +00:00
Colin Leroy
5936be4c66 fix compilation on non-x86 with gcc 2.95
Originally committed as revision 7949 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 00:54:07 +00:00
Michael Niedermayer
9c9e467d8d postprocessing cleanup:
remove opendivx #ifdefs
remove rk1 filter
remove unused / obsolete stuff
add -1,4,2,4,-1 deinterlacing filter (ffmpeg uses that)
threadsafe / no more non-const globals
some optimizations
different strides for Y,U,V possible
remove ebx usage (someone really should fix gcc, this is really lame)
change the dering filter slightly (tell me if its worse for any files)

Originally committed as revision 7947 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-28 19:31:04 +00:00
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
2002-10-23 23:52:57 +00:00
Michael Niedermayer
8ecc6a4629 avoid multiple init
Originally committed as revision 7770 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-17 00:04:33 +00:00
Michael Niedermayer
2ce486d850 fixing yuy2 upscaling (use -sws 0 for the faster but uglier variant)
Originally committed as revision 7726 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-13 19:46:51 +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
Arpi
18a7b2a873 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
Originally committed as revision 7473 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-22 02:33:28 +00:00
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
2002-09-16 19:39:57 +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
Alex Beregszaszi
9780c7ffa3 fixed palette8to{rgb24,bgr24,rgb32,bgr32}
Originally committed as revision 7335 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-09 16:18:47 +00:00
Arpi
6b791538b9 warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
Originally committed as revision 7221 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-01 14:30:55 +00:00
Alex Beregszaszi
6c1baeb0aa added missing palette8tobgr pairs (hope it's correct)
Originally committed as revision 7160 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-30 11:17:15 +00:00
Joey Parrish
b77eec85b3 removed -W -Wall -g and other gcc-specific warning/debug options
patch by Joey Parrish <joey@yunamusic.com>

Originally committed as revision 7074 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-22 23:29:46 +00:00
Eric Sesterhenn
890f093a76 remove unused varibles patch by (Eric Sesterhenn <SnakeByte at gmx dot de>)
Originally committed as revision 6992 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-13 19:18:20 +00:00
Michael Niedermayer
47ceabc959 1000l
Originally committed as revision 6950 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-08 10:46:16 +00:00
Michael Niedermayer
d80e2fa24f planar yuv 444 422 411 support
Originally committed as revision 6864 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-01 12:39:08 +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
a86c461c6b more scaling algos
Originally committed as revision 6638 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-07-04 13:08:37 +00:00
Michael Niedermayer
e09d12f4f6 using the new rgb2rgb converters (the LQ ones are only used if -sws 0 or -sws 4)
Originally committed as revision 6617 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-30 20:34:54 +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
a1ce46cf52 fixing rgb24tobgr32
Originally committed as revision 6615 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-30 19:04:02 +00:00
Michael Niedermayer
0598bcbb5f fixing memory overwrite bugs in the new converters
Originally committed as revision 6609 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 21:43:28 +00:00
Michael Niedermayer
8f4260888a test new converter stuff too
Originally committed as revision 6608 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 21:35:48 +00:00
Michael Niedermayer
ac4d0aea71 merging changes from mplayerxp (rgb2rgb*.{c,h} only)
Originally committed as revision 6607 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 21:26:15 +00:00
Michael Niedermayer
d8dad2a525 fixing memory overwrite bugs again ...
Originally committed as revision 6606 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 20:50:11 +00:00
Michael Niedermayer
a28ea2c04d colorspace converter tests (memory corruption tests at different width/src/dst)
quite impressive results only 1 of the 13 rgb->rgb converters fails for the c versions
... sadly only 1 of the mmx converters passes though :( ... i feared allready  that last mplayerxp merge reversed the bugfixes :((((

Originally committed as revision 6604 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 15:01:23 +00:00
Michael Niedermayer
b241cbf2cf yvu9 -> yv12 unscaled converter with linear chroma scaling
Originally committed as revision 6583 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-27 23:48:53 +00:00
Michael Niedermayer
81a571a8b3 -sws 6 (luma bicubic & chroma bilinear)
Originally committed as revision 6581 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-27 19:17:25 +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
7c30782729 fixing scaling/contrast for 1/4/8 bpp
exporting yuv2rgb_c_init() as the swscaler will use it (avoids code duplication)

Originally committed as revision 6578 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-27 17:40:51 +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
985c513355 10l
Originally committed as revision 6542 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-24 00:56:27 +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
Arpi
0c51ef979f IF09 is alias for YVU9 (actually it has extra 4th plane containing MC change
flags, but it doesn't matter for now) - IF09 is supported by win32 Indeo codecs
and by some others too

Originally committed as revision 6536 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-23 19:30:35 +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
Alex Beregszaszi
d661d18d89 pre-yvu9toyv12 converter, only grayscale Y-plane coping :)
Originally committed as revision 6485 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-21 17:37:00 +00:00
Michael Niedermayer
f0063c1a5b 10l
Originally committed as revision 6459 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-17 17:12:22 +00:00
Michael Niedermayer
e4b168dfbe 1bpp support
Originally committed as revision 6457 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-17 12:40:40 +00:00
Michael Niedermayer
d03be26e37 8bpp bugfixes (brightness, contrast ...)
4bpp

Originally committed as revision 6454 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-17 01:48:31 +00:00
Michael Niedermayer
66cd0d8ead ordered dither for 8bpp
Originally committed as revision 6453 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-16 21:24:57 +00:00