Commit Graph

394 Commits

Author SHA1 Message Date
Alex Beregszaszi
b76ee469c7 update
Originally committed as revision 10174 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-05-23 20:21:31 +00:00
Alex Beregszaszi
27161c0630 non-x86 support
Originally committed as revision 10173 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-05-23 20:12:44 +00:00
Alex Beregszaszi
b706b007a4 removed the last mp_msg :)
Originally committed as revision 10047 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-05-01 19:14:27 +00:00
Michael Niedermayer
d7b8e4b622 bigendian fix by (Samuel Kleiner <kleiner at cd dot chalmers dot se>)
Originally committed as revision 9989 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-25 17:22:11 +00:00
Michael Niedermayer
700490a4d1 remove remaining cpudetect dependancy
Originally committed as revision 9988 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-25 17:16:55 +00:00
Michael Niedermayer
e21206a820 moving getFilter stuff back (vf_scale.c -> swscale.c)
Originally committed as revision 9986 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-25 11:26:34 +00:00
Michael Niedermayer
516b1f82ac removing sws - global verbose var dependancy
removing sws - cpudetect dependancy (note rgb2rgb still needs it)
moving mplayer specific stuff from swscale.c -> vf_scale.c

Originally committed as revision 9976 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-24 17:04:20 +00:00
Alex Beregszaszi
3ec3877781 killed an mp_msg occurance
Originally committed as revision 9971 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-21 23:14:21 +00:00
Michael Niedermayer
c9b99ea661 mplayer idependant (not really yet) swscale example
Originally committed as revision 9922 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-17 19:32:46 +00:00
Andreas Öman
8553d9f4fd 10l patch by (Andreas Hess <jaska at gmx dot net>)
Originally committed as revision 9886 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-04-08 23:46:35 +00:00
Michael Niedermayer
5bf0135422 10l
Originally committed as revision 9699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-03-27 16:16:58 +00:00
Michael Niedermayer
fccb9b2b80 10000l (YUV vs. YVU swscale fix/cleanup)
Originally committed as revision 9698 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-03-27 16:04:53 +00:00
Michael Niedermayer
3e499f531a cleanup
Originally committed as revision 9500 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-24 00:12:30 +00:00
Michael Niedermayer
d4e242755f sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines

Originally committed as revision 9495 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-23 22:05:55 +00:00
Michael Niedermayer
4363b41d8d 100l (gcc 3.2 .....)
Originally committed as revision 9478 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-21 22:01:00 +00:00
Michael Niedermayer
5427e24291 yuv2rgb brightness/contrast/saturation/different colorspaces support finished
yuv2rgb deglobalize
yuv2rgb optimizations / cleanup
bugs?

Originally committed as revision 9477 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-21 20:35:18 +00:00
Michael Niedermayer
20380eb831 cleanup
Originally committed as revision 9456 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-18 19:36:20 +00:00
Michael Niedermayer
aeae5d537b optimize
Originally committed as revision 9455 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-18 19:22:34 +00:00
Michael Niedermayer
9902f4e2e4 1000l
Originally committed as revision 9435 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-15 17:29:01 +00:00
Michael Niedermayer
4e61e21c32 bigendian bug (fixes?)
Originally committed as revision 9434 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-15 15:07:57 +00:00
Michael Niedermayer
deb2277c0d simpler & faster
Originally committed as revision 9431 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-15 13:04:17 +00:00
Michael Niedermayer
bba9b16c26 moving postprocess to ffmpeg/libavcodec
Originally committed as revision 1586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 9427 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Originally committed as revision 9428 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-14 21:27:25 +00:00
Michael Niedermayer
e54d94ba4e cleanup
Originally committed as revision 9418 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-13 21:38:43 +00:00
Michael Niedermayer
0481412aba brightness / saturation / contrast / different yuv colorspace support for some yuv2rgb converters (many converters still ignore it)
Originally committed as revision 9417 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-13 19:27:17 +00:00
Michael Niedermayer
6542b44e2a cleanup
Originally committed as revision 9415 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-13 18:24:33 +00:00
Michael Niedermayer
77a4965980 cleanup
Originally committed as revision 9414 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-13 14:19:05 +00:00
Michael Niedermayer
9858f77376 avoid #include "../
Originally committed as revision 9403 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-11 21:13:30 +00:00
Michael Niedermayer
6524b641c0 #ifdef c++
Originally committed as revision 9402 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-11 21:12:16 +00:00
Michael Niedermayer
4596673c06 -fPIC compileable
Originally committed as revision 9395 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-11 15:06:44 +00:00
Michael Niedermayer
b3b8bf6419 yv12 -> yuy2 converter in alpha asm (from mplayerxp)
Originally committed as revision 9394 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-11 13:13:16 +00:00
Michael Niedermayer
f0b62bbde2 cleanup (unsigned stride -> int stride)
Originally committed as revision 9393 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-11 12:57:53 +00:00
Michael Niedermayer
b2609d4cbd yuv9 -> yv12 bugfixes
Originally committed as revision 9257 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-03 18:45:25 +00:00
Michael Niedermayer
799fd46714 10l found by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
Originally committed as revision 9189 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-02-01 00:48:33 +00:00
Michael Niedermayer
f17457ac49 fixing rgb4 & bgr4 (2 pixels per byte)
adding bg4b & rg4b (1 pixel per byte)

Originally committed as revision 9172 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-01-30 09:15:09 +00:00
Michael Niedermayer
7322a67c39 UYVY input
Originally committed as revision 9072 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-01-23 09:35:22 +00:00
D Richard Felker III
9b1663fcd0 C implementation of the median deinterlacer (seems to be the only one
that generates tolerable output for anime) so it will work on non-MMX
architectures. Someone should optimize it better eventually.

Originally committed as revision 9071 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-01-23 04:19:24 +00:00
Michael Niedermayer
e9effafdf9 YUV 411/422/444 support for pp
Originally committed as revision 8806 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-01-05 19:10:42 +00:00
Sascha Sommer
bb87a84ce9 10l another int i missing (without ^M)
Originally committed as revision 8667 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-12-30 23:00:02 +00:00
Michael Niedermayer
a2596758e0 10l (int i)
Originally committed as revision 8657 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-12-30 12:36:28 +00:00
Michael Niedermayer
3cef52271d cleaning corners of green dirt ;)
Originally committed as revision 8652 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-12-29 23:31:52 +00:00
Michael Niedermayer
88c0bc7e9c buffer alloc cleanup / 10l
Originally committed as revision 8631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-12-29 00:57:23 +00:00
Dominik Mierzejewski
c9f99fef4f warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
Originally committed as revision 8255 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-23 10:58:14 +00:00
Michael Niedermayer
87f9c9e091 fixing compilation of cs_test
Originally committed as revision 8232 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-18 10:39:22 +00:00
Arpi
005ba71884 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>

Originally committed as revision 8124 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-06 23:54:29 +00:00
Michael Niedermayer
70d4f2da7f dont use fastmemcpy for PIC
Originally committed as revision 8108 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-04 22:45:34 +00:00
Michael Niedermayer
8664c807e6 10l
Originally committed as revision 8100 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-04 15:56:38 +00:00
Michael Niedermayer
8cb097d4a6 fixing dependancies
removing stray tabs

Originally committed as revision 8099 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-04 10:01:15 +00:00
Michael Niedermayer
b01be12120 pp docs
Originally committed as revision 8077 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-03 10:05:19 +00:00
Michael Niedermayer
326d40af06 cleanup
Originally committed as revision 8041 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-02 14:20:05 +00:00
Michael Niedermayer
c41d972d9c cleanup
Originally committed as revision 8039 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-02 13:58:14 +00:00
Arpi
a749913f4c verbose can be negative
Originally committed as revision 8028 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-01 17:46:45 +00:00
Michael Niedermayer
b401ebad91 cosmetics requested by kabi
Originally committed as revision 8020 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-11-01 01:19:04 +00:00
Michael Niedermayer
1609f6680c disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
Originally committed as revision 7995 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-31 10:21:44 +00:00
Michael Niedermayer
01dc3aa48d using fewer registers ... to workaround something
Originally committed as revision 7991 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-31 01:42:59 +00:00
Michael Niedermayer
1d9324fd4e removing "-npp" (found by arpi)
Originally committed as revision 7987 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-30 21:13:07 +00:00
Michael Niedermayer
fa6ea14e40 per context cpuCaps (idea by kabi)
Originally committed as revision 7986 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-30 21:02:21 +00:00
Michael Niedermayer
4407a3c47a change qscale type to int8 and fix qscale ordering
Originally committed as revision 7985 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-30 20:50:33 +00:00
Michael Niedermayer
b49d916512 using same numbers for cpuCaps as libmpeg2 & liba52
Originally committed as revision 7974 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-30 01:59:51 +00:00
Michael Niedermayer
4603ed8f91 cleanly passing the cpuCaps
Originally committed as revision 7973 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-30 01:51:14 +00:00
Michael Niedermayer
51e19dccc7 10l
Originally committed as revision 7969 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 23:36:37 +00:00
Michael Niedermayer
df8d4d0ed5 cleanup
Originally committed as revision 7964 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 20:12:24 +00:00
Michael Niedermayer
9cb54f4311 cosmetics ;)
prefixing all functions with pp_ to avoid namespace issues

Originally committed as revision 7962 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 18:51:52 +00:00
Michael Niedermayer
ec487e5db8 better deblocking filter
Originally committed as revision 7961 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 18:35:15 +00:00
Michael Niedermayer
9d947f1935 -fomit-frame-pointer is needed for the PIC code
Originally committed as revision 7957 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 11:21:43 +00:00
Michael Niedermayer
abd140db79 using fewer registers (fixes compilation bug hopefully)
Originally committed as revision 7953 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 09:16:06 +00:00
Colin Leroy
5936be4c66 fix compilation on non-x86 with gcc 2.95
Originally committed as revision 7949 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 00:54:07 +00:00
Michael Niedermayer
9c9e467d8d postprocessing cleanup:
remove opendivx #ifdefs
remove rk1 filter
remove unused / obsolete stuff
add -1,4,2,4,-1 deinterlacing filter (ffmpeg uses that)
threadsafe / no more non-const globals
some optimizations
different strides for Y,U,V possible
remove ebx usage (someone really should fix gcc, this is really lame)
change the dering filter slightly (tell me if its worse for any files)

Originally committed as revision 7947 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-28 19:31:04 +00:00
Colin Leroy
470ba6f28a fixing RGB32->RGB16 on big endian patch by (Colin Leroy <colin at colino dot net>)
Originally committed as revision 7892 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-23 23:52:57 +00:00
Michael Niedermayer
8ecc6a4629 avoid multiple init
Originally committed as revision 7770 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-17 00:04:33 +00:00
Michael Niedermayer
2ce486d850 fixing yuy2 upscaling (use -sws 0 for the faster but uglier variant)
Originally committed as revision 7726 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-13 19:46:51 +00:00
Michael Niedermayer
25593e29f2 mmx yuy2 output
Originally committed as revision 7724 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-13 17:23:02 +00:00
Michael Niedermayer
46de8b7334 yuy2 output support
Originally committed as revision 7721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-13 00:30:38 +00:00
Arpi
18a7b2a873 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
Originally committed as revision 7473 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-22 02:33:28 +00:00
Arpi
ff78c59639 use detected WORDSIZE instead of warning, when inttypes.h doesn't define __WORDSIZE
Originally committed as revision 7422 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-16 19:39:57 +00:00
Michael Niedermayer
df1b2c141b fixing y422p output
Originally committed as revision 7352 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-09 22:48:39 +00:00
Alex Beregszaszi
9780c7ffa3 fixed palette8to{rgb24,bgr24,rgb32,bgr32}
Originally committed as revision 7335 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-09 16:18:47 +00:00
Arpi
6b791538b9 warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
Originally committed as revision 7221 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-09-01 14:30:55 +00:00
Alex Beregszaszi
6c1baeb0aa added missing palette8tobgr pairs (hope it's correct)
Originally committed as revision 7160 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-30 11:17:15 +00:00
Joey Parrish
b77eec85b3 removed -W -Wall -g and other gcc-specific warning/debug options
patch by Joey Parrish <joey@yunamusic.com>

Originally committed as revision 7074 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-22 23:29:46 +00:00
Eric Sesterhenn
890f093a76 remove unused varibles patch by (Eric Sesterhenn <SnakeByte at gmx dot de>)
Originally committed as revision 6992 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-13 19:18:20 +00:00
Michael Niedermayer
47ceabc959 1000l
Originally committed as revision 6950 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-08 10:46:16 +00:00
Michael Niedermayer
d80e2fa24f planar yuv 444 422 411 support
Originally committed as revision 6864 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-08-01 12:39:08 +00:00
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
f5b58629fe last line messed up in Y800 bugfix
Originally committed as revision 6616 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-30 20:32:42 +00:00
Michael Niedermayer
a1ce46cf52 fixing rgb24tobgr32
Originally committed as revision 6615 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-30 19:04:02 +00:00
Michael Niedermayer
0598bcbb5f fixing memory overwrite bugs in the new converters
Originally committed as revision 6609 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 21:43:28 +00:00
Michael Niedermayer
8f4260888a test new converter stuff too
Originally committed as revision 6608 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 21:35:48 +00:00
Michael Niedermayer
ac4d0aea71 merging changes from mplayerxp (rgb2rgb*.{c,h} only)
Originally committed as revision 6607 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 21:26:15 +00:00
Michael Niedermayer
d8dad2a525 fixing memory overwrite bugs again ...
Originally committed as revision 6606 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 20:50:11 +00:00
Michael Niedermayer
a28ea2c04d 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 :((((

Originally committed as revision 6604 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-29 15:01:23 +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
7c30782729 fixing scaling/contrast for 1/4/8 bpp
exporting yuv2rgb_c_init() as the swscaler will use it (avoids code duplication)

Originally committed as revision 6578 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-27 17:40:51 +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
985c513355 10l
Originally committed as revision 6542 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-06-24 00:56:27 +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