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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
cff6ecd7e0
.balign or we´ll align by 64kb on some architectures
...
Originally committed as revision 2801 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-10 20:39:23 +00:00
Michael Niedermayer
6e3bba7282
.align 16
...
Originally committed as revision 2800 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-10 19:46:04 +00:00
Michael Niedermayer
3fe8e8f068
gcc does optimize writes to non volatile variables away if it didnt know that they were read in between
...
Originally committed as revision 2751 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 19:26:22 +00:00
Michael Niedermayer
d8fa3c5497
better dithering
...
Originally committed as revision 2749 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 18:42:22 +00:00
Michael Niedermayer
99d2cb7219
faster bgr24 output
...
Originally committed as revision 2731 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-06 04:06:55 +00:00
Michael Niedermayer
bdc2eb9a00
only 6 registers used
...
Originally committed as revision 2729 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-05 23:49:15 +00:00
Michael Niedermayer
7d7f78b5a4
green line fix for dstw%8!=0
...
Originally committed as revision 2681 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 13:50:20 +00:00
Michael Niedermayer
96034638d1
fixed warnings
...
Originally committed as revision 2672 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 03:07:02 +00:00
Michael Niedermayer
f62255fb13
faster bgr15/16
...
Originally committed as revision 2670 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-04 02:28:23 +00:00
Michael Niedermayer
162caf680f
right green line bugfix for width not %8==0 (untested -vo vesa doesnt work)
...
Originally committed as revision 2639 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-02 19:21:02 +00:00
Michael Niedermayer
02a0a992cd
c speedup
...
Originally committed as revision 2586 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-31 01:30:28 +00:00
Michael Niedermayer
b18ea156c4
15/16bit in C speedup
...
Originally committed as revision 2585 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-31 00:26:29 +00:00
Michael Niedermayer
397c035e91
c optimizations
...
bugfix
Originally committed as revision 2577 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 22:24:38 +00:00
Michael Niedermayer
d9fc1cfec1
c optimizations
...
Originally committed as revision 2576 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 22:03:25 +00:00
Michael Niedermayer
d022ce5c4f
c optimizations (array is faster than pointer) (16bpp variants tested and 2% faster)
...
Originally committed as revision 2573 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 21:33:01 +00:00
Michael Niedermayer
497d4f9932
interpolate chrominance for every second line in the 1:1 vertical scale function
...
Originally committed as revision 2570 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 21:04:42 +00:00
Michael Niedermayer
1faf086709
bugfixes
...
small speedup for the non x86 stuff
Originally committed as revision 2567 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-30 20:30:24 +00:00
Michael Niedermayer
541c4eb9ba
fixed a warning
...
Originally committed as revision 2541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-29 19:54:22 +00:00
Michael Niedermayer
17f715fa64
patch from Martin Decky <deckm1am@ss1000.ms.mff.cuni.cz> applied and unnecassery "memory" removed
...
Originally committed as revision 2535 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-29 18:00:45 +00:00
Michael Niedermayer
2add307d05
tell the c compiler that the memory changed
...
Originally committed as revision 2522 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 19:54:23 +00:00
Michael Niedermayer
99cefd0bda
3dnow prefetch & sfence
...
Originally committed as revision 2521 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 19:41:50 +00:00
Michael Niedermayer
3885847036
yv12 to yv12 scaler
...
someone who knows a bit about vo_odivx could add support for it ...
Originally committed as revision 2520 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 18:30:59 +00:00
Michael Niedermayer
390b20a6c9
yuv2rgb bugfix
...
Originally committed as revision 2504 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-28 03:03:49 +00:00
Pierre Lombard
dda87e9fbb
a few warning fixes (missing #include's)
...
Originally committed as revision 2477 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 23:34:14 +00:00
Michael Niedermayer
2ff198c11a
downscale
...
fixed some warnings
Originally committed as revision 2470 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 14:31:11 +00:00
Michael Niedermayer
a525ce8db1
BGR24 bugfix
...
BGR15 & BGR24 tested
Originally committed as revision 2327 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-21 00:05:56 +00:00
Michael Niedermayer
d604bab901
fixed alignment (static variables where sometimes not 8-byte aligned)
...
added half uv interpolation support
added prefetch
BGR15 support in MMX (untested) (so BGR15,16,24,32 are supported)
special unscaled height version (not much faster but it doesnt interpolate uv vertically)
Originally committed as revision 2317 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-20 21:12:09 +00:00
Michael Niedermayer
84adc106cf
first line bug fixed (happend if the image was scaled down or 1:1)
...
Originally committed as revision 2298 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 15:50:44 +00:00
Michael Niedermayer
0f25d72b3f
horizontal scaling bugs fixed, should be mostly bugfree now
...
Originally committed as revision 2280 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 12:30:01 +00:00
Arpi
44f9179b60
xinc scaled by 16 instead of 8
...
Originally committed as revision 2275 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 02:21:47 +00:00
Michael Niedermayer
b3a134b64c
horizontal lines bugfix
...
Originally committed as revision 2272 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 01:53:45 +00:00
Michael Niedermayer
d3fda50869
vertical lines bugfix
...
Originally committed as revision 2271 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 01:26:36 +00:00
Arpi
afa569afb1
(C) fixed
...
Originally committed as revision 2270 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 00:42:18 +00:00
Michael Niedermayer
cd4102261f
fixed a bug which caused horizontal lines
...
Originally committed as revision 2268 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 00:21:07 +00:00
Michael Niedermayer
783e9cc9af
increased precission of s_xinc s_xinc2 (needed for the mmx2 bugfix)
...
moved mmx variables to top to avoid alignment issues
mmx2 code should work fine now if and only if the input width is %16=0 and the output width is %32=0
reordered some code (5% faster with a simply -benchmark)
first line bug fixed (i hope i didnt introduce any new bugs with that ...)
changed a lot of the vertical scale setup code, i hope i fixed something and didnt mess it up :)
a few known bugs left (rightmost line is wrong)
MMX2 code will only be used for upscaling & acceptable width´s
16bit dithering can be disabled
Originally committed as revision 2265 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-18 22:27:13 +00:00
Michael Niedermayer
d9cf0d3368
24bpp support (untested)
...
Originally committed as revision 2238 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 13:59:49 +00:00
Arpi
fffd2e0ac2
added (f)emms
...
Originally committed as revision 2237 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 11:57:11 +00:00
Arpi
e72c545c93
bpp changed from bytespp to bitspp
...
Originally committed as revision 2236 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 10:55:29 +00:00
Michael Niedermayer
a6e972a217
fixed out of regs "bug"
...
Originally committed as revision 2234 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 03:40:03 +00:00