Commit Graph

395 Commits

Author SHA1 Message Date
Rene Rebe
d07355da77 Fixes rgb32to16 conversion for I think all platforms since the int8
cast should never have worked. Tested on PowerPC and fixes the black GUI
to show the content.
patch by Rene Rebe <rene at exactcode dot de>

Originally committed as revision 14983 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-03-22 10:11:42 +00:00
Reimar Döffinger
0ce5275d78 100l, forgot to change an ifdef on last commit
Originally committed as revision 14784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-23 14:07:18 +00:00
Reimar Döffinger
113ef149fd fix for MAP_ANON vs. MAP_ANONYMOUS fix...
Originally committed as revision 14762 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-22 14:40:44 +00:00
Ville Syrjälä
6118e52ea6 Improved NV12/NV21 support.
- Fixed PlanarToNV12Wrapper() and made it handle NV21.
- Added yuv2nv12XinC() to handle software scaling.
- Added NV12/NV21 handling to various places.
- Removed NV12 from vf_hue and vf_spp as they don't look like they can
  actually handle it.

Originally committed as revision 14716 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-16 23:47:00 +00:00
Bohdan Horst
171d7d788a FreeBSD fix
Originally committed as revision 14699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-14 13:29:55 +00:00
Reimar Döffinger
790409c949 Compile fix on non-x86
Originally committed as revision 14631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-02-01 09:00:12 +00:00
Aurelien Jacobs
38d5c282cd makes funnyCode pages executable (for CPU with NX bit)
Originally committed as revision 14626 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-01-31 15:57:27 +00:00
Aurelien Jacobs
6d606c4f5b fix few x86_64 registers handling
Originally committed as revision 14557 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-01-21 16:48:18 +00:00
Reimar Döffinger
b6663a5573 100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
to check if it's correct??

Originally committed as revision 14537 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2005-01-19 12:56:16 +00:00
Aurelien Jacobs
a7b42d28da 10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patch
Originally committed as revision 13734 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-10-22 00:21:57 +00:00
Aurelien Jacobs
6e1c66bc06 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
Originally committed as revision 13721 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-10-21 11:55:20 +00:00
Luca Barbato
582552fb56 postproc/yuv2rgb_altivec.c compile fix
yuv2rgb_altivec_init_tables does initialize the SwsContext vectors.
missing vec_splat.
patch by (Luca Barbato <lu_zero at gentoo dot org>) and (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 13565 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-10-05 19:11:00 +00:00
Alex Beregszaszi
6cb38650e8 lot of bigendian fixes
Originally committed as revision 13424 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-09-21 17:23:49 +00:00
Michael Niedermayer
66d1cdb672 passing an array or double precission parameters for the scaling function, instead of missusing a few bits of the flags
fixing the naming of the scaling functions a little

Originally committed as revision 13374 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-09-18 00:08:17 +00:00
Reimar Döffinger
4ccbc7d5a9 width instead of chromWidth causing segfault in some cases
Originally committed as revision 12994 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-08-10 20:23:58 +00:00
Alex Beregszaszi
f2015f0c50 fix altivec.h inclusion (vector keyword in structure)
Originally committed as revision 12839 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-07-17 08:56:47 +00:00
Alex Beregszaszi
95d45b1e64 simplify the init
Originally committed as revision 12838 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-07-17 08:53:20 +00:00
Alex Beregszaszi
84fdd6421f some fixes
Originally committed as revision 12837 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-07-17 07:01:15 +00:00
Romain Dolbeau
b71cf33c9b Altivec unscaled YV12 -> packed YUV patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 12769 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-07-06 13:52:56 +00:00
Michael Niedermayer
a31de95620 altivec yuv->rgb converter
orginal patch  by (Marc Hoffman <mmh at pleasantst dot com>)
critical fixes by (Reza Jelveh <reza.jelveh at tu-harburg dot de>)

known bugs/issues, which should be fixed ASAP by someone who has a ppc:
0..255 vs. 16..235
unneeded recalculation of tables
general cleaup, like removing double initalizing of variables

Originally committed as revision 12699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-06-27 00:07:15 +00:00
Alex Beregszaszi
57c4d4051e bigendian fix
Originally committed as revision 12658 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-06-25 17:05:35 +00:00
Alex Beregszaszi
5ea951b74e ranlib cleanup by Dan Christiansen
Originally committed as revision 12633 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-06-24 12:52:17 +00:00
Michael Niedermayer
0d56feac94 small linux/altivec compile fix in postproc/ by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 12533 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-06-04 10:00:36 +00:00
Michael Niedermayer
da7f8893e3 bigendian fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
with #if defined(WORDS_BIGENDIAN) && (WORDS_BIGENDIAN == 1) -> #ifdef WORDS_BIGENDIAN by me

Originally committed as revision 12396 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-05-02 14:26:28 +00:00
D Richard Felker III
ae4cffd9fc this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as such
Originally committed as revision 12386 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-05-01 20:15:21 +00:00
Matthieu Castet
db7a2e0d17 attribute_used patch by (matthieu castet <castet.matthieu at free dot fr>)
Originally committed as revision 12302 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-04-26 19:38:17 +00:00
Romain Dolbeau
8c266f0cb7 AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
Originally committed as revision 12131 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-04-06 00:25:47 +00:00
Alex Beregszaszi
6b6242a205 make gcc happy under hurd
Originally committed as revision 12125 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-04-05 21:34:04 +00:00
Magnus Damm
35fe5cc53f altivec swscale under Linux patch by (Magnus Damm <damm at opensource dot se>)
Originally committed as revision 12024 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-03-14 18:04:59 +00:00
Romain Dolbeau
a2faa40192 AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 12018 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2004-03-11 17:58:11 +00:00
Alex Beregszaszi
2c293402b0 correct C init tables
Originally committed as revision 11692 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-12-27 19:54:59 +00:00
Michael Niedermayer
468887480c 1000l
Originally committed as revision 11407 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-11-06 23:22:17 +00:00
Michael Niedermayer
ec62c38fd5 -sws 0 && -ssf chs fixed
Originally committed as revision 11380 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-11-04 13:52:12 +00:00
Michael Niedermayer
8bae9ddc91 10l (forgot that the dstW offset is hardcoded in the asm)
Originally committed as revision 11369 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-11-03 02:19:57 +00:00
Michael Niedermayer
c4f1e443e7 minimum slice size fix (fixes 422P 1 line per slice, used by huffyuv)
Originally committed as revision 11214 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-22 00:19:20 +00:00
Michael Niedermayer
ff49072013 dither scaling coefficients so they add up to 1.0
Originally committed as revision 11124 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-15 12:08:31 +00:00
Michael Niedermayer
379a20360c rounding fixes
Originally committed as revision 11123 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-15 11:21:54 +00:00
Michael Niedermayer
7ac25f2d00 yv12->uyvy MMX
Originally committed as revision 11073 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-10 00:19:16 +00:00
Michael Niedermayer
abdcd3379a 1E10l
#undef ARCH_X86
...
#ifdef ARCH_X86
...
#define ARCH_X86
...
#endif

Originally committed as revision 11072 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-10 00:11:24 +00:00
Michael Niedermayer
2549c2bc00 10l
Originally committed as revision 11071 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-09 23:45:04 +00:00
Alex Beregszaszi
caeaabe7d0 uyvy output support in swscaler
Originally committed as revision 11069 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-09 22:25:53 +00:00
Ken Mandelberg
236699830d Fixed the brokeness and also bgr32 should work now. Patch by Ken Mandelberg <km@mathcs.emory.edu>
Originally committed as revision 11038 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-07 22:41:56 +00:00
Gabucino
77a416e8aa many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>

Originally committed as revision 11001 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-10-04 17:29:08 +00:00
Michael Niedermayer
54324550b8 srcSliceY % 4 != 0 fix
Originally committed as revision 10953 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-09-26 23:37:28 +00:00
Pierre Lombard
3f4185517f reversed for cause of code obsolescence
Originally committed as revision 10896 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-09-21 01:23:07 +00:00
Pierre Lombard
b9ebf325c6 printf() requires stdio.h
Originally committed as revision 10891 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-09-20 11:57:42 +00:00
Alex Beregszaszi
7855ef1ce4 remove cs_test and swscale-example too
Originally committed as revision 10497 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-07-28 15:24:38 +00:00
Michael Niedermayer
a4c90ea3ba fixing "internal error in orderYUV" bug
Originally committed as revision 10313 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-06-19 21:28:56 +00:00
Alex Beregszaszi
cd96358cb5 unused
Originally committed as revision 10236 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-06-01 22:10:44 +00:00
Michael Niedermayer
35ca945423 vf_scale.h & related cleanup & some small warning fix by dominik
Originally committed as revision 10234 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2003-06-01 21:59:29 +00:00