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

262 Commits

Author SHA1 Message Date
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