1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00
Commit Graph

418 Commits

Author SHA1 Message Date
diego
1806f8776f AltiVec operations need to have memory aligned on 16-byte boundaries.
patch by Alan Curry, pacman at world dot std dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17559 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 08:20:40 +00:00
diego
7d56335977 vYCoeffsBank and vCCoeffsBank are allocated and initialized using incorrect
sizes based on the image width instead of height.
patch by Alan Curry, pacman at world dot std dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17558 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 08:16:53 +00:00
michael
694c65e985 change sws sharpen filter a little
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17531 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-04 00:08:54 +00:00
diego
89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
diego
988281c471 Update licensing information: The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 00:23:32 +00:00
diego
fb20d201d7 Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16986 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-14 00:30:37 +00:00
rfelker
a742fc01a3 100l -- mismatched type after changing sizes to type long!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16784 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-17 05:05:51 +00:00
reimar
4465aa5eb2 Change unsigned->signed and int->long, this fits the asm code better on 64
bit systems.
Also fixes several crashes because (long)-i is incorrect if i is unsigned.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16740 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 12:11:27 +00:00
diego
0b3365c8dc Reduce unnecessary swscaler verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16405 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 15:15:27 +00:00
gpoirier
47be9aef90 Re-enables the GCC-4 fix for AMD-64 only. Patch by cartman and poirierg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15973 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-12 19:16:04 +00:00
gpoirier
455ea9d1c2 Reverts GCC-4.0 "fixe" which broke GCC-3.3 and maybe others
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15859 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 05:35:26 +00:00
reimar
5a99d5e02c Another REG_d -> REG_D fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15846 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-28 22:54:09 +00:00
michael
55f6ab49eb width % 16 != 0 workaround by (Nicolas Plourde: nicolas plourde, gmail com>)
cleanup by me
  indention fixed
  second one must be yv12touyvy instead of yv12toyuy2
  replace slow modulo by bitwise and
  move %16!=0 code before the comment saying the code cant handle %16!=0


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15825 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-27 07:40:24 +00:00
gpoirier
f7011457b0 Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
that code othewisei (leading to segfaults).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15814 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 12:17:30 +00:00
gpoirier
276116a0ea 10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32
tested with gcc-2.95, 3.3, 3.4, 4.0 on ia-32 and 3.4, 4.0, 3.3 on amd64


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15763 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 14:35:10 +00:00
gpoirier
622cea7559 GCC-4 fix for AMD-64
Warning: high cola-affinity here)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15750 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 20:16:19 +00:00
michael
3f3ef3d48b one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, netfarm it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15618 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 20:54:03 +00:00
nplourde
f912acba6d Should fix altivec detection for g3 system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15524 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-20 12:08:31 +00:00
alex
bfe12a1e93 unused define
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15296 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-29 18:32:24 +00:00
nplourde
a68ebe977a fix palette8tobgr32/palette8torgb32 on big endian
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15278 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-27 18:17:53 +00:00
henry
1f07ae744f check for negative strides before memcpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15250 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-24 07:50:18 +00:00
henry
be41c4a71e support for both orderings of the slices (top->down / bottom->up)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15249 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-24 07:47:41 +00:00
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