Commit Graph

250 Commits

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