Commit Graph

396 Commits

Author SHA1 Message Date
diego 99e20d343f 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>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14983 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-22 10:11:42 +00:00
reimar c02f7dd0d0 100l, forgot to change an ifdef on last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14784 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-23 14:07:18 +00:00
reimar bd10844282 fix for MAP_ANON vs. MAP_ANONYMOUS fix...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14762 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 14:40:44 +00:00
syrjala c260a1139d 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.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14716 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-16 23:47:00 +00:00
nexus 0fa58569d7 FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14699 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-14 13:29:55 +00:00
reimar 0e85a7ebb2 Compile fix on non-x86
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14631 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-01 09:00:12 +00:00
aurel 16637df8c2 makes funnyCode pages executable (for CPU with NX bit)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14626 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 15:57:27 +00:00
aurel 1f5ddaaa29 fix few x86_64 registers handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14557 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-21 16:48:18 +00:00
reimar 93cd7326b3 100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
to check if it's correct??


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14537 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 12:56:16 +00:00
aurel 4f21b986b7 10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13734 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-22 00:21:57 +00:00
aurel 798d2d1337 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 11:55:20 +00:00
michael fe4f5a4336 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>)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13565 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-05 19:11:00 +00:00
alex a9fdc2bf7d lot of bigendian fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13424 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-21 17:23:49 +00:00
michael 54df7e4a3e 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13374 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-18 00:08:17 +00:00
reimar 4c4ed3e98b width instead of chromWidth causing segfault in some cases
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12994 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-10 20:23:58 +00:00
alex 85c3622f1c fix altivec.h inclusion (vector keyword in structure)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12839 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 08:56:47 +00:00
alex 82e3eeea4f simplify the init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12838 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 08:53:20 +00:00
alex 3914e47b64 some fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12837 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 07:01:15 +00:00
michael b612dd86b0 Altivec unscaled YV12 -> packed YUV patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12769 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-06 13:52:56 +00:00
michael 56164a0e7a 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12699 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 00:07:15 +00:00
alex 8690b155f6 bigendian fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12658 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 17:05:35 +00:00
alex 0fc20ac930 ranlib cleanup by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-24 12:52:17 +00:00
michael e8b4e1c1c4 small linux/altivec compile fix in postproc/ by (Romain Dolbeau <dolbeau at irisa dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12533 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-04 10:00:36 +00:00
michael 664e2abbd7 bigendian fix by (Romain Dolbeau <dolbeau at irisa dot fr>)
with #if defined(WORDS_BIGENDIAN) && (WORDS_BIGENDIAN == 1) -> #ifdef WORDS_BIGENDIAN by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12396 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-02 14:26:28 +00:00
rfelker cc8b6a93a4 this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as such
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12386 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 20:15:21 +00:00
michael 688ccb2f3d attribute_used patch by (matthieu castet <castet.matthieu at free dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12302 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 19:38:17 +00:00
michael 834569d109 AltiVec hScale, all size patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12131 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 00:25:47 +00:00
alex cd74679ec6 make gcc happy under hurd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12125 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-05 21:34:04 +00:00
michael df350fdb3f altivec swscale under Linux patch by (Magnus Damm <damm at opensource dot se>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12024 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-14 18:04:59 +00:00
michael e61fb5349a AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12018 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-11 17:58:11 +00:00
alex c392464d38 correct C init tables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11692 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-27 19:54:59 +00:00
michael 6500590537 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11407 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-06 23:22:17 +00:00
michael e9b116e274 -sws 0 && -ssf chs fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11380 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-04 13:52:12 +00:00
michael f3744ed25c 10l (forgot that the dstW offset is hardcoded in the asm)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11369 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-03 02:19:57 +00:00
michael b23fa77744 minimum slice size fix (fixes 422P 1 line per slice, used by huffyuv)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11214 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 00:19:20 +00:00
michael fa12a92799 dither scaling coefficients so they add up to 1.0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11124 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-15 12:08:31 +00:00
michael f9bb7a21e5 rounding fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11123 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-15 11:21:54 +00:00
michael ad4439417d yv12->uyvy MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11073 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-10 00:19:16 +00:00
michael 15e3417fba 1E10l
#undef ARCH_X86
...
#ifdef ARCH_X86
...
#define ARCH_X86
...
#endif


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11072 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-10 00:11:24 +00:00
michael 6e824ee6cb 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11071 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-09 23:45:04 +00:00
alex 697d692f4c uyvy output support in swscaler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11069 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-09 22:25:53 +00:00
alex c1d54011c1 Fixed the brokeness and also bgr32 should work now. Patch by Ken Mandelberg <km@mathcs.emory.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11038 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-07 22:41:56 +00:00
gabucino fadce2d781 many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 17:29:08 +00:00
michael cc80597f63 srcSliceY % 4 != 0 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10953 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-26 23:37:28 +00:00
pl f5e3da616a reversed for cause of code obsolescence
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10896 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 01:23:07 +00:00
pl 3633450622 printf() requires stdio.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10891 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-20 11:57:42 +00:00
alex 5d920fad09 remove cs_test and swscale-example too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10497 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-28 15:24:38 +00:00
michael 5ff7d7bb6e fixing "internal error in orderYUV" bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10313 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-19 21:28:56 +00:00
alex 1e7437181a unused
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10236 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-01 22:10:44 +00:00
michael 5b882e5130 vf_scale.h & related cleanup & some small warning fix by dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-01 21:59:29 +00:00