Commit Graph

384 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
Michael Niedermayer 431b47f9fd 8bpp support (no dithering yet, use -vop noise for now)
Originally committed as revision 6452 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-16 20:25:50 +00:00
Alex Beregszaszi 8cd91a44b8 applied 64bit patch from Ulrich Hecht <uli at suse dot de>
Originally committed as revision 6165 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-23 15:40:08 +00:00
Artur Grabowski b5a40dc6d0 64bit incompatibility bug, patch by Artur Grabowski <art@blahonga.org>
Originally committed as revision 6141 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-20 04:00:25 +00:00
Arpi 5eee1aeddd big cosmetics patch, cleanup of messages printed by mplayer and libs.
some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2
mplayer's output is now shorter, readable and consistent

Originally committed as revision 6139 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-20 03:25:26 +00:00
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
2002-05-15 02:27:41 +00:00
Björn Sandell b6acbc3caf various openbsd and general warning fixes - patch by Björn Sandell <biorn@dce.chalmers.se>
Originally committed as revision 6058 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-12 02:18:52 +00:00
Michael Niedermayer 413dec620d 3dnow temporal denoiser bugfix by Rémi Guyomarch <rguyom@pobox.com>
Originally committed as revision 5981 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-05 11:08:59 +00:00
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
2002-05-03 23:16:07 +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 dc16b332f9 x1 deblocking filter bugfix
Originally committed as revision 5788 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-22 15:53:24 +00:00
Michael Niedermayer b1ec5875a6 yuv422p -> yuy2 (untested)
Originally committed as revision 5589 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-13 02:21:12 +00:00
Michael Niedermayer 74d3583521 rgb24->bgr24
Originally committed as revision 5583 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-13 00:48:21 +00:00
Michael Niedermayer 096172d435 fix typo found by Milan Cutka <cutka@szm.sk>
Originally committed as revision 5577 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-12 14:01:10 +00:00
Michael Niedermayer 7ba8435d64 fixing black stripe at right if width%8!=0 && stride%8==0 reported by kabi
Originally committed as revision 5534 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-08 14:43:18 +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
Michael Niedermayer 52075cdeaa 10l
Originally committed as revision 5339 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-03-25 16:38:13 +00:00
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
2002-03-25 16:35:24 +00:00
Michael Niedermayer daa5764137 fixing bgr15&16 on big_endian
i doubt that that will fix all big endian problems though, we very likely will have to support RGB & BGR output formats as either bgr32 or bgr15 is rgb depending upon the way rgb/bgr is defined

Originally committed as revision 5247 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-03-21 18:53:32 +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 81b7c056ee use assert.h
more assertions

Originally committed as revision 4807 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-22 15:24:19 +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 1e1c4fe926 unscaled yuv2rgb fix for big-endian systems
Originally committed as revision 4792 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-21 16:57:35 +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 9bd8bd1add unscaled memcpy variant bugfix (negative strides)
Originally committed as revision 4650 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-10 23:57:47 +00:00
Michael Niedermayer ec22603f79 unscaled BGR24 -> YV12
Originally committed as revision 4624 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-10 00:43:31 +00:00
Michael Niedermayer 21316f3c84 rgb24toyv12 in MMX (untested)
Originally committed as revision 4623 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-10 00:30:24 +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 b0db419867 fastmemcpy
Originally committed as revision 4587 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 15:54:56 +00:00
Michael Niedermayer 4bb3fa5e4f unscaled BGR15->BGR16
a few bugfixes of the other unscaled converters

Originally committed as revision 4582 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-08 04:18:01 +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 b935781b41 unscaled converters
BGR24 -> BGR32 & RGB24 -> RGB32
 BGR32 -> BGR24 & RGB32 -> RGB24

Originally committed as revision 4568 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-07 15:29:15 +00:00
Michael Niedermayer adeaecb9ae fixing green line at right side bug (reported by Nick Kurshev <nickols_k@mail.ru>)
Originally committed as revision 4564 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-07 03:39:30 +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 b6654a5464 101 (yuv2rgb with mpeg1,...) ;)
simple copy if possible (same format, no scaling, ...)

Originally committed as revision 4556 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-06 21:59:23 +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 b81cf27484 printing error messages if something is wrong instead of just return NULL;
Originally committed as revision 4530 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-04 18:53:01 +00:00
Michael Niedermayer 8a01d20ccb filterPos bugfix (only nearest neighbor scaling was affected)
Originally committed as revision 4493 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-03 02:08:05 +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 1747031459 printing correct format info
Originally committed as revision 4469 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-02-01 19:39:37 +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
Michael Niedermayer 1f347f225d -sws 2 is default now
Originally committed as revision 4422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-30 15:32:43 +00:00
Michael Niedermayer 6c7506de1c YV12 like formats support (I420/IYUV)
bugfixes related to vo_x11 resizeing

Originally committed as revision 4420 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-30 15:21:08 +00:00
Michael Niedermayer 4b6388d1f5 top row bugfix
Originally committed as revision 4404 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-29 04:21:27 +00:00
Michael Niedermayer d8863d37e2 area averageing scaling support (-sws 5) (is identical to bilinear for upscale)
Originally committed as revision 4403 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-29 01:43:15 +00:00
Michael Niedermayer ff7ba85694 nearest neighbor / sdl emulation ;) scaling (-sws 4)
Originally committed as revision 4402 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-28 23:57:18 +00:00
Michael Niedermayer bdd677ac13 minor QP bugfix
Originally committed as revision 4400 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-28 22:38:15 +00:00
Michael Niedermayer fd2848053f minor bugfix in the -v output
Originally committed as revision 4305 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-22 15:54:44 +00:00
Michael Niedermayer 5521b193d6 15/16 bit dithering in C (5% slower, can be disabled by comenting #define DITHER1XBPP out)
x/yInc bugfix (bug was introduced during the global var removial)
more emms & no messing with ARCH_X86 (=workaround against not cleared mmx state somewhere)
sharpening filter (-ssf cs=<int> & -ssf ls=<int>)

Originally committed as revision 4298 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 22:11:09 +00:00
Michael Niedermayer fe8054c0ff copyright(swscaler) = GPL
Originally committed as revision 4296 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 18:32:31 +00:00
Michael Niedermayer 5cebb24be0 a few filters (should be removed/merged when arpis videofilter stuff is finished)
-ssf cgb=<float> -> chrominance gaussian blur (nice to improve picture quality)
-ssf lgb=<float> -> luminance gaussian blur (dunno what its good for)
-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
these will only work if the swscaler is used at all

Originally committed as revision 4295 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 15:22:28 +00:00
Michael Niedermayer c7f822d95e general convolution filtering of the source picture
dynamic memory allocation for the buffers (needed for the filter stuff)

Originally committed as revision 4291 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-21 03:56:47 +00:00
Felix Bünemann 635b3ec6dd add mangling
Originally committed as revision 4286 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 18:36:09 +00:00
Michael Niedermayer 7f56a52795 101
Originally committed as revision 4282 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 13:45:19 +00:00
Michael Niedermayer 28bf81c90d removed global vars so that multiple swscalers can be used
experimental upscaling mode (-sws 3)
general convolution filters support (unfinished)
bugfix for bicubic upscaling
assertion checking if defined MP_DEBUG
checking of the input/output size instead of segfault if its very large

Originally committed as revision 4277 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-20 05:30:23 +00:00
Alban Bedel cbf5fa71c9 Added reverting support for -pp and -npp options
Originally committed as revision 4258 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 17:01:03 +00:00
Felix Bünemann bf1595c488 fix mangling with runtime cpu detection
Originally committed as revision 4254 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 16:56:35 +00:00
Felix Bünemann 9b4644281d mangle for win32 in postproc
Originally committed as revision 4249 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-19 05:14:47 +00:00
Michael Niedermayer 162c9c2e0d dont print -npp parser debug info if only -v
print "using pp filters ..." if -v

Originally committed as revision 4144 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-13 20:51:49 +00:00
Michael Niedermayer 211c4920ea fixed -npp help ... i think i need more sleep ;)
Originally committed as revision 3988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-04 21:56:11 +00:00
Michael Niedermayer 4b001a1312 -npp help
Originally committed as revision 3977 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-04 13:39:06 +00:00
Michael Niedermayer 8aaac43576 -npp fq:<quantizer>
force quantizer (for these lq movies which where reencoded at high bitrates)
(c) 2002

Originally committed as revision 3965 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-03 14:16:13 +00:00
Michael Niedermayer c0903414cb only print last line warning if verbose is on
Originally committed as revision 3884 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-30 00:57:35 +00:00
Michael Niedermayer 07f8991b60 minor brightness/contrast bugfix / moved some global vars into ppMode
non mmx compilation bugfix

Originally committed as revision 3833 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-28 13:56:04 +00:00
Michael Niedermayer 43d52f7612 customizeable deblocking (2 thresholds)
chrominance & luminance filtering is the default now if -npp ...:y isnt specified (lumi only was only used for the deinterlacers and that was wrong anyway)

Originally committed as revision 3818 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-28 00:09:55 +00:00
Michael Niedermayer f15afacdf4 output shifted by a few pixels on extreem scalings bugfix
filterPos was wrong by 0.5 pixels on downscale with -sws 1 and 2 bugfix

Originally committed as revision 3783 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-27 00:57:32 +00:00
Michael Niedermayer 6ec6e3c963 101
Originally committed as revision 3780 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-26 23:31:30 +00:00
Michael Niedermayer 45b4f28550 new -pp options stuff (-npp ...)
see line527@postproc/postprocess.c ;) for the documentation of the format

Originally committed as revision 3772 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-26 19:45:49 +00:00
Johannes Feigl 51fdf2de1b looks better
Originally committed as revision 3731 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-25 15:03:36 +00:00
Michael Niedermayer 627690b5a2 minor bugfixes (noone noticed them)
a few more asserts

Originally committed as revision 3642 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-21 02:09:34 +00:00
Michael Niedermayer aa21f0c389 rgb24toyv12 bugfix
Originally committed as revision 3634 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-20 17:30:59 +00:00
Michael Niedermayer e3d2500fe4 print more info if -v
use new horizontal mmx scaler instead of old x86asm if mmx2 cant be used (FAST_BILINEAR only)
fixed overflow in init function ... using double precission fp now :)
using C scaler for the last 1-2 lines if there is a chance to write over the end of the dst array

Originally committed as revision 3353 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-06 19:07:25 +00:00
Michael Niedermayer f014740a85 dithering info wasnt displayed
Originally committed as revision 3346 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-06 01:23:23 +00:00
Michael Niedermayer c1b0bfb477 vertical cubic/linear scaling
prints some info (MMX, dstbpp, ...)
mainloop rewritten

Originally committed as revision 3345 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-06 00:10:42 +00:00
Michael Niedermayer e2f5a2a981 typo
Originally committed as revision 3300 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-03 22:24:43 +00:00
Michael Niedermayer 077ea8a7f4 horizontal up/downscale linear & cubic
-sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic)

Originally committed as revision 3273 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-02 20:03:26 +00:00
Michael Niedermayer af91b8b3c8 sliced scaleing bugfix
Originally committed as revision 3216 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-29 22:19:21 +00:00
Michael Niedermayer d1fac6cf52 swscaler cleanup
green line at bottom bugfix
green lines in yuv2yuv scaler bugfix

Originally committed as revision 3210 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-29 20:19:17 +00:00
Michael Niedermayer 6e9b48406c faster brightness correcture in MMX2
Originally committed as revision 3172 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-28 01:26:03 +00:00
Michael Niedermayer 06c4804a79 compiletime pp-mode support (luminance = chrominance filters though) 1-2% faster with -benchmark -vo null -nosound
Originally committed as revision 3155 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-27 02:25:31 +00:00
Michael Niedermayer 726a959a54 runtime cpu detection optional (compiles faster)
Originally committed as revision 3153 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-27 01:19:56 +00:00
Michael Niedermayer e89952aabe runtime cpu detect optional (compiles faster)
Originally committed as revision 3152 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-27 01:12:30 +00:00
Michael Niedermayer 43d8c23cbf runtime cpu detection
Originally committed as revision 3144 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 21:17:23 +00:00
Michael Niedermayer 48a05ceccd oops
Originally committed as revision 3137 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 02:20:51 +00:00
Michael Niedermayer 1de97d8422 runtime cpu detection
rgb24toyv12 in C

Originally committed as revision 3133 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 01:15:08 +00:00
Michael Niedermayer 7630f2e060 runtime cpu detection
Originally committed as revision 3127 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-26 00:31:43 +00:00
Michael Niedermayer cc9b067935 runtime cpu detection
Originally committed as revision 3100 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-24 22:16:29 +00:00
Michael Niedermayer 4e1349d4e1 use fastmemcpy for chrominance if no chrominance filtering is done
Originally committed as revision 3095 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-24 02:05:06 +00:00
Michael Niedermayer cd38e322ef faster dering
Originally committed as revision 3094 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-24 01:38:30 +00:00
Michael Niedermayer 043ba56f68 1% speedup
Originally committed as revision 3038 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-20 20:46:39 +00:00
Michael Niedermayer cf5ec61d0c oops, too much cleanup ;)
Originally committed as revision 3033 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-20 18:07:13 +00:00
Michael Niedermayer c09dc46524 cleanup
precopy fewer lines from src to dst if possible
speedup (due to cleanup of blockcopy)

Originally committed as revision 3032 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-20 17:47:52 +00:00
Michael Niedermayer 7f16f6e64e faster mmx2 / 3dnow deblocking filter
brightness_debug (draws luminance histogram & autodetected white/black level)

Originally committed as revision 3014 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-19 22:20:30 +00:00
Felix Bünemann 652cb0f57a Move ignores in subdirs to their respective .cvsignore files.
Originally committed as revision 2964 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-17 23:55:40 +00:00
Gabucino 21810797bc postproc/ dir now respects --with-extraincdir
Now that I'm fixing configure1, here comes configure2 ehh ;)

Originally committed as revision 2928 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-16 19:13:03 +00:00
Michael Niedermayer a9c779788f temp denoiser:
bugfix?
 averageing noise over the surrounding blocks

Originally committed as revision 2900 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-14 11:51:36 +00:00
Michael Niedermayer be44a4d74a temp denoiser changes: (a-b)^2 instead of |a-b| and MMX2/3DNOW version
Originally committed as revision 2896 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-14 02:46:58 +00:00