Commit Graph

41457 Commits

Author SHA1 Message Date
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
e5c30e0692 fixed difference with -vo md5 between doVertDefFilter() C and MMX / MMX2 versions
fixed some warnings
fixed the cant compile on non x86 systems (i didnt apply the patch from Oliver Schoenbrunner <oliver.schoenbrunner@jku.at> because it used ARCH_X86 instead of HAVE_MMX)

Originally committed as revision 2462 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 11:42:34 +00:00
Michael Niedermayer
4e4dcbc584 much better horizontal filters (transpose & use the vertical ones) :)
bugfix
bugs?

Originally committed as revision 2455 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-24 16:39:40 +00:00
Nick Kurshev
44d01eea32 Independed compilation of SUBDIRS
Originally committed as revision 2445 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-24 07:34:41 +00:00
Michael Niedermayer
73d3355400 more speed
Originally committed as revision 2438 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-24 00:05:30 +00:00
Zdenek Kabelac
2d83f323d6 * and finaly avoid deadlock at the end of audio stream
Originally committed as revision 183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 20:20:01 +00:00
Zdenek Kabelac
de5123dc35 * fixes to avoid crash when broken mp3 header is found
Originally committed as revision 182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:58:30 +00:00
Zdenek Kabelac
123ba0716e * made by Juergen - should be useful for Solaris
Originally committed as revision 181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:04:16 +00:00
Zdenek Kabelac
c152c98327 * simple fix to avoid memcpy with len < 0
Originally committed as revision 180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:03:33 +00:00
Zdenek Kabelac
525782f33f * prevent crash in decoder
Originally committed as revision 179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-23 19:02:55 +00:00
Michael Niedermayer
9736722ad7 more speed
Originally committed as revision 2429 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 15:55:54 +00:00
Michael Niedermayer
ac0b0b2f6d and another +2% speedup
Originally committed as revision 2417 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 12:05:34 +00:00
Michael Niedermayer
37da00fcaa optimizations (+2% speedup)
Originally committed as revision 2414 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 10:29:48 +00:00
Michael Niedermayer
534a602dca brightness / contrast fix/copy optimizations +2% speedup
Originally committed as revision 2402 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 01:46:50 +00:00
Michael Niedermayer
57d04d3f11 negative black bugfix
Originally committed as revision 2395 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-23 00:03:19 +00:00
Michael Niedermayer
911879d15e auto brightness/ contrast bugfix
getPPModeByNameAndQuality

Originally committed as revision 2390 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-22 23:36:35 +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
5486f774bd more logic behavior if the altenative deblock filters are used (turning a alt filter on without turning the deblock filter on uses the alt filter instead of using no filter now)
Originally committed as revision 2301 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 17:03:51 +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
Arpi
311832de1f PP_FUNNY_STRIDE disabled
Originally committed as revision 2293 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 14:54:26 +00:00
Michael Niedermayer
a0e8aca364 added compiletime option to turn width%8==0 on
Originally committed as revision 2287 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 13:56:12 +00:00
Michael Niedermayer
658a85f26f fixed a bug in the tmp buffer
fixed the color range for yuv
fixed the width %8!=0 bug (another 1% speed loss)

Originally committed as revision 2286 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 13:41:38 +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
acced5532e fixed the height%8!=0 bug
simplified a few things
removed last row variants of the deinterlace filters, they are not needed anymore
added cubic interpolating deinterlacer

Originally committed as revision 2247 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 20:42:07 +00:00
Juanjo
8d75673b77 Restore the main Makefile to have debug flags.
Originally committed as revision 167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-17 18:19:30 +00:00
Juanjo
ce68c16f41 Added Juergen Keil fix on quant_tab[4] type.
Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-17 18:05:35 +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
Michael Niedermayer
d4cb9e70a5 quick fix for movies with a height which is not a multiple of 8
Originally committed as revision 2232 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 02:04:16 +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
79e7b30557 exporting qscale data for postprocessing (for MPlayer)
Originally committed as revision 164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-10-16 23:10:38 +00:00
Michael Niedermayer
a6be81113e minor cleanups
median deinterlace in MMX
fixed typos

Originally committed as revision 2222 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-16 02:31:14 +00:00
Arpi
3db822b03f header for swscale.c
Originally committed as revision 2218 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-15 19:06:16 +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
Michael Niedermayer
3b58b885fa rewrote the horizontal lowpass filter to fix a bug which caused a blocky look
added deinterlace filters (linear interpolate, linear blend, median)
minor cleanups (removed some outcommented stuff)

Originally committed as revision 2204 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-15 03:01:08 +00:00
Arpi
9ae0a66da1 c++ fix
Originally committed as revision 2196 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-14 17:11:17 +00:00
Arpi
e939e1c35b Cleanup:
- TIMEING && MORE_TIMEING disabled by default
- private stuff moved to postprocess.c to avoid possible conflicts

Originally committed as revision 2190 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:53:24 +00:00
Arpi
9f3328bc91 small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)

Originally committed as revision 2187 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:38:19 +00:00
Arpi
9a722af7f3 small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)
- added #ifdef'ed code for calling old postprocess (for testing/comparison)
- #ifdef'ed some asm code to allow compilation on non-x86 platforms (untested)

Originally committed as revision 2186 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:36:04 +00:00