1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
Commit Graph

349 Commits

Author SHA1 Message Date
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
michael
d7bb86940c QP_store==null bugfix and no opendivx bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2809 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 01:18:40 +00:00
michael
7c90427a5c yuy2toyv12 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2807 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 00:50:40 +00:00
arpi
31dc283826 uyvy->uv12 added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2802 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 23:28:10 +00:00
michael
751324d0d3 .balign or we´ll align by 64kb on some architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2801 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 20:39:23 +00:00
michael
5f43d4efb0 .align 16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2800 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 19:46:04 +00:00
pl
0afb7c9331 added missing #include <malloc.h>
#include "config.h" moved as 1st #include since it defines HAVE_foo_h for
  later conditional inclusions


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2776 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 02:17:02 +00:00
michael
33d4bdc12d bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2767 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-07 23:17:11 +00:00
nick
45f3604cf4 rgb32tobgr32 now is documented ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2759 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-07 08:52:04 +00:00
michael
f1ec01ad5f rgb32tobgr32 / bgr32torgb32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2756 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 23:54:41 +00:00
michael
20c8c1aea2 gcc does optimize writes to non volatile variables away if it didnt know that they were read in between
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2751 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 19:26:22 +00:00
michael
57abdc5516 15/16 bpp dithering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2750 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 19:16:49 +00:00
michael
1ccfbf170b better dithering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2749 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 18:42:22 +00:00
nick
d573fa0df8 Minor speedup of rgb32to24. (performance is not successful)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2747 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 17:14:22 +00:00
jkeil
b781460944 Remove a few obsolete header includes (fixes a compile error on solaris)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2745 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 17:04:13 +00:00
michael
991ff4de60 minor changes (fixed some warnings, added attribute aligned(8) stuff)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2743 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:53:47 +00:00
nick
a4910290d8 MMX2, 3DNOW, MMX optimized rgb32(24)to16(15) stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2742 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:35:17 +00:00
nick
28eb46a832 optimized rgb24to16 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2741 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:21:38 +00:00
michael
87b501b7b7 mmx2 bgr24 stuff from swscale (slightly faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2740 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 14:43:19 +00:00
nick
1aed82a8da rgb24to32 now is faster
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2739 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:53:43 +00:00
michael
b37111a50b vars are aligned by 8 now (even faster, yes they where not aligned correctly)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2738 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:45:57 +00:00
michael
2458a84879 16bpp is 10% faster
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2737 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:41:12 +00:00
michael
1c45ff7ccd 15 bpp support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2736 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:26:43 +00:00
michael
501db3c02f common code moved to a #define
added bgr24 output support


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2735 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:06:50 +00:00
nick
dfe91abaa2 Move yuv2rgb to postprocess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 11:22:40 +00:00
michael
ff5899ec71 faster bgr24 output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2731 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 04:06:55 +00:00
michael
1fb2a93515 only 6 registers used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2729 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 23:49:15 +00:00
michael
deae6b59e2 unsigned stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2726 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 19:55:11 +00:00
michael
bc8918936a yuy2toyv12 fixed and speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2725 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:50:58 +00:00
michael
e550a5928f fixed yv12toyuy2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2724 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:26:49 +00:00
nick
e0133146f3 Forgot
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2722 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:03:46 +00:00
nick
6ef8871203 Fixed rgb32(24)to15 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2721 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:56:11 +00:00
nick
f5d9352986 Fixed rgb32(24)to16 stuff, rgb32(24)to15 is still broken
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2720 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:46:20 +00:00
nick
21f00e8f8e Well - old algorithms and new stuff rgb24to16(15)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2719 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:35:28 +00:00