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
Michael Niedermayer
d3f41512a8
MMX & MMX2 optimizations (MMX2 is buggy and commented out)
...
32, 24, 16, 15 bit support in C (only 32 & 16 tested)
32, 16 bit support in mmx (16 with dithering)
ranges of some variables changed so mmx likes them more
Originally committed as revision 2233 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 02:30:39 +00:00
Felix Bünemann
d1530c6461
fix rgb/bgr for 15/16bpp
...
Originally committed as revision 2231 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 00:29:07 +00:00
Arpi
62ac0b014d
16bpp code for atmos
...
Originally committed as revision 2230 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-16 23:58:17 +00:00
Arpi
31190492f9
software yv12->rgb scaler - separated from fsdga
...
Originally committed as revision 2217 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-15 18:59:44 +00:00