Commit Graph

382 Commits

Author SHA1 Message Date
michael 0f1d6aabec better deblocking filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7961 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 18:35:15 +00:00
michael caa57f98bd -fomit-frame-pointer is needed for the PIC code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7957 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 11:21:43 +00:00
michael d60a88e4fa using fewer registers (fixes compilation bug hopefully)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7953 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 09:16:06 +00:00
colin af0d4b8c60 fix compilation on non-x86 with gcc 2.95
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7949 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 00:54:07 +00:00
michael 2d28fdd64c 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)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7947 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-28 19:31:04 +00:00
michael ab10907f7d fixing RGB32->RGB16 on big endian patch by (Colin Leroy <colin at colino dot net>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7892 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 23:52:57 +00:00
michael 4f18e46a42 avoid multiple init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7770 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 00:04:33 +00:00
michael b363309d04 fixing yuy2 upscaling (use -sws 0 for the faster but uglier variant)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7726 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 19:46:51 +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
arpi d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
arpi d1b505683a use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7422 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-16 19:39:57 +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
alex 5bf4fb0263 fixed palette8to{rgb24,bgr24,rgb32,bgr32}
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7335 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-09 16:18:47 +00:00
arpi d8edb8566c warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7221 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-01 14:30:55 +00:00
alex 17749b3397 added missing palette8tobgr pairs (hope it's correct)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7160 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 11:17:15 +00:00
arpi ddc4bdf2cb removed -W -Wall -g and other gcc-specific warning/debug options
patch by Joey Parrish <joey@yunamusic.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7074 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:29:46 +00:00
michael 9456952346 remove unused varibles patch by (Eric Sesterhenn <SnakeByte at gmx dot de>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6992 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-13 19:18:20 +00:00
michael 3d19927f90 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6950 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-08 10:46:16 +00:00
michael bfe5d4d4b4 planar yuv 444 422 411 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-01 12:39:08 +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 de90a774d9 more scaling algos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6638 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-04 13:08:37 +00:00
michael 307eeeeba8 using the new rgb2rgb converters (the LQ ones are only used if -sws 0 or -sws 4)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6617 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-30 20:34:54 +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 54c584a287 fixing rgb24tobgr32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6615 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-30 19:04:02 +00:00
michael adc1b1e270 fixing memory overwrite bugs in the new converters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6609 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 21:43:28 +00:00
michael 0c1d367cff test new converter stuff too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6608 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 21:35:48 +00:00
michael 8e54723b7c merging changes from mplayerxp (rgb2rgb*.{c,h} only)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6607 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 21:26:15 +00:00
michael 5d8533d7f2 fixing memory overwrite bugs again ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6606 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 20:50:11 +00:00
michael 068e718f32 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 :((((


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6604 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 15:01:23 +00:00
michael e02775f59a yvu9 -> yv12 unscaled converter with linear chroma scaling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6583 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 23:48:53 +00:00
michael 6148204f04 -sws 6 (luma bicubic & chroma bilinear)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6581 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 19:17:25 +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 2cb2f05956 fixing scaling/contrast for 1/4/8 bpp
exporting yuv2rgb_c_init() as the swscaler will use it (avoids code duplication)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6578 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 17:40:51 +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 c61e4925b1 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6542 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 00:56:27 +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
arpi 1ac6f92adf 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6536 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 19:30:35 +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
alex b9cda21184 pre-yvu9toyv12 converter, only grayscale Y-plane coping :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6485 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 17:37:00 +00:00
michael 6b5dd5b561 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6459 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-17 17:12:22 +00:00
michael 7fc2adfa25 1bpp support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6457 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-17 12:40:40 +00:00
michael ab57a3bd8f 8bpp bugfixes (brightness, contrast ...)
4bpp


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6454 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-17 01:48:31 +00:00
michael c72461d702 ordered dither for 8bpp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6453 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-16 21:24:57 +00:00
michael f3ab565a23 8bpp support (no dithering yet, use -vop noise for now)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-16 20:25:50 +00:00
alex 5b0b08a392 applied 64bit patch from Ulrich Hecht <uli at suse dot de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-23 15:40:08 +00:00
arpi d07b369a49 64bit incompatibility bug, patch by Artur Grabowski <art@blahonga.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6141 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 04:00:25 +00:00
arpi c835270280 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 03:25:26 +00:00
michael ee22e5dbe1 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 ...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6097 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-15 02:27:41 +00:00
arpi 278b3ae129 various openbsd and general warning fixes - patch by Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6058 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-12 02:18:52 +00:00
michael 7a4298edc0 3dnow temporal denoiser bugfix by Rémi Guyomarch <rguyom@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5981 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-05 11:08:59 +00:00
arpi 4a7b9f410e 10l - MMX rgb2bgr 32bpp expects num_of_bytes instead of num_of_pixels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5962 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-03 23:16:07 +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 2beca14c04 x1 deblocking filter bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5788 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-22 15:53:24 +00:00
michael 52fb460310 yuv422p -> yuy2 (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5589 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 02:21:12 +00:00
michael 0141d839e3 rgb24->bgr24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5583 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 00:48:21 +00:00
michael 8368822c8c fix typo found by Milan Cutka <cutka@szm.sk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5577 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-12 14:01:10 +00:00
michael 7aaa119f45 fixing black stripe at right if width%8!=0 && stride%8==0 reported by kabi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5534 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-08 14:43:18 +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
michael 2260559466 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5339 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 16:38:13 +00:00
michael f7440c1784 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5338 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 16:35:24 +00:00
michael d3daa53395 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5247 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 18:53:32 +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 d60a7a1d74 use assert.h
more assertions


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4807 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-22 15:24:19 +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 50657061a8 unscaled yuv2rgb fix for big-endian systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4792 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 16:57:35 +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
michael 7af0988886 unscaled memcpy variant bugfix (negative strides)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4650 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 23:57:47 +00:00
michael 7acf931299 unscaled BGR24 -> YV12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 00:43:31 +00:00
michael f023f5a336 rgb24toyv12 in MMX (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4623 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 00:30:24 +00:00
michael 9a93e7607a bgr24toUV in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4620 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 23:43:48 +00:00
michael 5fb0523722 bgr24toY in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4613 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 17:03:53 +00:00
michael bf9946cee5 fastmemcpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4587 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 15:54:56 +00:00
michael 46054f5fdc unscaled BGR15->BGR16
a few bugfixes of the other unscaled converters


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4582 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 04:18:01 +00:00
michael 9f5349323d bgr15 input support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4581 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 03:09:46 +00:00
michael 2f599efbff faster bgr16 input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4580 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 01:24:02 +00:00
michael cfed813582 bgr16 input support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4579 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-08 00:42:00 +00:00
michael 316b6bc8f1 unscaled converters
BGR24 -> BGR32 & RGB24 -> RGB32
 BGR32 -> BGR24 & RGB32 -> RGB24


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4568 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-07 15:29:15 +00:00
michael 37892b0819 fixing green line at right side bug (reported by Nick Kurshev <nickols_k@mail.ru>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4564 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-07 03:39:30 +00:00
michael 3cf588d2c6 rgb32 & rgb24 input support
squished a endianness bug in the 15/16bgr output


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4559 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 22:55:57 +00:00
michael e4b5914859 101 (yuv2rgb with mpeg1,...) ;)
simple copy if possible (same format, no scaling, ...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4556 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 21:59:23 +00:00
michael 7bfa2fa275 swScale internally uses yuv2rgb now if possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 20:52:14 +00:00
michael 12176a29c0 printing error messages if something is wrong instead of just return NULL;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4530 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-04 18:53:01 +00:00
michael 420039c5f5 filterPos bugfix (only nearest neighbor scaling was affected)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4493 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 02:08:05 +00:00
michael f363f965be MMX(2) optimized YUY2 input
avoid duplicate checks for formats by changeing them (Y8->Y800, IYUV->I420)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4482 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-02 18:18:58 +00:00
michael b0add1f66b printing correct format info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4469 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-01 19:39:37 +00:00
michael 9f00f833ca YUY2, BGR24, BGR32 input support (no mmx yet)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4468 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-01 19:25:09 +00:00
michael d8efbed69a -sws 2 is default now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4422 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-30 15:32:43 +00:00
michael 07b2372cc1 YV12 like formats support (I420/IYUV)
bugfixes related to vo_x11 resizeing


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4420 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-30 15:21:08 +00:00
michael 5045d3ae56 top row bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4404 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-29 04:21:27 +00:00
michael f9263ee763 area averageing scaling support (-sws 5) (is identical to bilinear for upscale)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4403 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-29 01:43:15 +00:00
michael 5fcf31db65 nearest neighbor / sdl emulation ;) scaling (-sws 4)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4402 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-28 23:57:18 +00:00
michael 2d5546459c minor QP bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4400 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-28 22:38:15 +00:00
michael 78ba21bc69 minor bugfix in the -v output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4305 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-22 15:54:44 +00:00
michael df864731f8 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>)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4298 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 22:11:09 +00:00
michael f8e2988c9f copyright(swscaler) = GPL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4296 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 18:32:31 +00:00
michael c955eeae14 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4295 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 15:22:28 +00:00
michael 1f2d4faa6d general convolution filtering of the source picture
dynamic memory allocation for the buffers (needed for the filter stuff)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4291 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 03:56:47 +00:00
atmos4 9cc1007666 add mangling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4286 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 18:36:09 +00:00
michael 33b7a1c675 101
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4282 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 13:45:19 +00:00
michael e016034afc 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4277 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 05:30:23 +00:00
albeu 01e9ed23bf Added reverting support for -pp and -npp options
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4258 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 17:01:03 +00:00
atmos4 3e63fad5b5 fix mangling with runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4254 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 16:56:35 +00:00
atmos4 cdc2fe57bd mangle for win32 in postproc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4249 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 05:14:47 +00:00
michael a4bcc2e89e dont print -npp parser debug info if only -v
print "using pp filters ..." if -v


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4144 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-13 20:51:49 +00:00
michael 476e40d323 fixed -npp help ... i think i need more sleep ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3988 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-04 21:56:11 +00:00
michael 30cbdfbe77 -npp help
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3977 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-04 13:39:06 +00:00
michael 2aa34c8fb4 -npp fq:<quantizer>
force quantizer (for these lq movies which where reencoded at high bitrates)
(c) 2002


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3965 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-03 14:16:13 +00:00
michael 25cf84b3fc only print last line warning if verbose is on
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3884 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 00:57:35 +00:00
michael 0c4138440d minor brightness/contrast bugfix / moved some global vars into ppMode
non mmx compilation bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3833 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 13:56:04 +00:00
michael 08f3250e44 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)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3818 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 00:09:55 +00:00
michael b0a28151cb 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3783 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-27 00:57:32 +00:00
michael e5db7a2071 101
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3780 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 23:31:30 +00:00
michael 1eaa5eae03 new -pp options stuff (-npp ...)
see line527@postproc/postprocess.c ;) for the documentation of the format


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3772 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 19:45:49 +00:00
jaf 940944fc75 looks better
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3731 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 15:03:36 +00:00
michael 57befe55fb minor bugfixes (noone noticed them)
a few more asserts


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3642 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-21 02:09:34 +00:00
michael 31eee01624 rgb24toyv12 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3634 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-20 17:30:59 +00:00
michael bb837200ba 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3353 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-06 19:07:25 +00:00
michael 0342b107bc dithering info wasnt displayed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3346 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-06 01:23:23 +00:00
michael d8651ac9ff vertical cubic/linear scaling
prints some info (MMX, dstbpp, ...)
mainloop rewritten


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3345 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-06 00:10:42 +00:00
michael b4a59df0bc typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3300 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 22:24:43 +00:00
michael 4fbb316438 horizontal up/downscale linear & cubic
-sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3273 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-02 20:03:26 +00:00
michael 96dc73cd6c sliced scaleing bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3216 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 22:19:21 +00:00
michael 5a26f27760 swscaler cleanup
green line at bottom bugfix
green lines in yuv2yuv scaler bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3210 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 20:19:17 +00:00
michael 311521a656 faster brightness correcture in MMX2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3172 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-28 01:26:03 +00:00
michael b5c58f8381 compiletime pp-mode support (luminance = chrominance filters though) 1-2% faster with -benchmark -vo null -nosound
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3155 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-27 02:25:31 +00:00
michael fc1895f35b runtime cpu detection optional (compiles faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3153 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-27 01:19:56 +00:00
michael 813b79917b runtime cpu detect optional (compiles faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3152 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-27 01:12:30 +00:00
michael 3ee58151e2 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3144 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 21:17:23 +00:00
michael 32646569d9 oops
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3137 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 02:20:51 +00:00
michael 89fa17bc76 runtime cpu detection
rgb24toyv12 in C


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3133 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 01:15:08 +00:00
michael 5645836ad4 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3127 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 00:31:43 +00:00
michael 09c4c29277 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3100 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 22:16:29 +00:00
michael becadec644 use fastmemcpy for chrominance if no chrominance filtering is done
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3095 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 02:05:06 +00:00
michael 39595a9f2e faster dering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3094 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 01:38:30 +00:00
michael 6220f955b3 1% speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3038 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 20:46:39 +00:00
michael e68df118a9 oops, too much cleanup ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3033 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 18:07:13 +00:00
michael 0510e0933e cleanup
precopy fewer lines from src to dst if possible
speedup (due to cleanup of blockcopy)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3032 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 17:47:52 +00:00
michael 3c25d58ba3 faster mmx2 / 3dnow deblocking filter
brightness_debug (draws luminance histogram & autodetected white/black level)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3014 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-19 22:20:30 +00:00
atmos4 d2d9565a1a Move ignores in subdirs to their respective .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2964 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-17 23:55:40 +00:00
gabucino 6200381409 postproc/ dir now respects --with-extraincdir
Now that I'm fixing configure1, here comes configure2 ehh ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2928 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-16 19:13:03 +00:00
michael cf408ccf65 temp denoiser:
bugfix?
 averageing noise over the surrounding blocks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2900 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 11:51:36 +00:00
michael 056ba1208b temp denoiser changes: (a-b)^2 instead of |a-b| and MMX2/3DNOW version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2896 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 02:46:58 +00:00
michael 327341ec03 temporal noise reducer in C (-pp 0x100000)
setting the thresholds from the commandline requires postprocess2() / getPpModeByNameAndQuality() (someone could perhaps modify mplayer so that they are beiing used, iam too lazy for it ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2861 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-13 02:40:56 +00:00
michael 96a935f225 uyvytoyv12 in MMX (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2848 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 22:26:15 +00:00