0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
Commit Graph

146 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
alex
a7b309bb0a removed the last mp_msg :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10047 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-01 19:14:27 +00:00
michael
acf20201db remove remaining cpudetect dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9988 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-25 17:16:55 +00:00
michael
6c662cfb25 moving getFilter stuff back (vf_scale.c -> swscale.c)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9986 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-25 11:26:34 +00:00
michael
0f929103ed 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9976 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-24 17:04:20 +00:00
michael
f09836cc0e mplayer idependant (not really yet) swscale example
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9922 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-17 19:32:46 +00:00
michael
edd566863e 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9699 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 16:16:58 +00:00
michael
20faf3dc0d 10000l (YUV vs. YVU swscale fix/cleanup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 16:04:53 +00:00
michael
546b584627 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9500 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-24 00:12:30 +00:00
michael
41b847f6a8 sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 22:05:55 +00:00
michael
274db98899 yuv2rgb brightness/contrast/saturation/different colorspaces support finished
yuv2rgb deglobalize
yuv2rgb optimizations / cleanup
bugs?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9477 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-21 20:35:18 +00:00
michael
36e6ca75bc cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9456 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-18 19:36:20 +00:00
michael
0e7b470b4e brightness / saturation / contrast / different yuv colorspace support for some yuv2rgb converters (many converters still ignore it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9417 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-13 19:27:17 +00:00
michael
0436097051 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9414 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-13 14:19:05 +00:00
michael
61e1960fe1 10l found by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9189 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-01 00:48:33 +00:00
michael
49a3af8585 fixing rgb4 & bgr4 (2 pixels per byte)
adding bg4b & rg4b (1 pixel per byte)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 09:15:09 +00:00
michael
9c3153404f UYVY input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9072 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-23 09:35:22 +00:00
michael
d9142cf555 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8100 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-04 15:56:38 +00:00
arpi
39fe4d0cd3 verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
michael
b363309d04 fixing yuy2 upscaling (use -sws 0 for the faster but uglier variant)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7726 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 19:46:51 +00:00
michael
c5bd2a756f mmx yuy2 output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7724 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 17:23:02 +00:00
michael
c7c35d3208 yuy2 output support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7721 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 00:30:38 +00:00
michael
bfe5d4d4b4 planar yuv 444 422 411 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-01 12:39:08 +00:00
michael
154dc921d3 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6680 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-09 17:01:52 +00:00
michael
de90a774d9 more scaling algos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6638 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-04 13:08:37 +00:00
michael
307eeeeba8 using the new rgb2rgb converters (the LQ ones are only used if -sws 0 or -sws 4)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6617 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-30 20:34:54 +00:00
michael
e02775f59a yvu9 -> yv12 unscaled converter with linear chroma scaling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6583 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 23:48:53 +00:00
michael
6148204f04 -sws 6 (luma bicubic & chroma bilinear)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6581 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 19:17:25 +00:00
michael
21b3ff056a use unified yuv2rgb init
{RGB,BGR}{1,4,8,15,16,24,32} output supported


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6579 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 18:00:47 +00:00
michael
f78969448f killing globals
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6555 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 20:05:53 +00:00
michael
d6648864ba 100l (non mmx versions didnt compile)
some cleanup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6541 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 00:18:29 +00:00