Commit Graph

55 Commits

Author SHA1 Message Date
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 2fa8fe4ad3 do not modify d_width and d_height when -xy option was given, otherwise -xy has no effect with e.g. vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13269 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-06 21:26:46 +00:00
reimar 7c496e41ee give Y8 and Y800 lower conversion priority to avoid grayscaled video
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12476 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-14 21:08:53 +00:00
faust3 571b28ad1a prefer yuv formats over rgb in case both are supported by hw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12261 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-23 15:24:24 +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 184852b051 interlaced scaling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11701 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-29 14:16:07 +00:00
alex 4739e551fb uninit support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11538 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-29 19:40:30 +00:00
michael 0334cc4729 another lame workaround for the g1 filter layer ...
now filter chains with >8 scale filters initalize before u fall asleep


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11374 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-03 12:15:32 +00:00
alex a31340614b some missing formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11070 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-09 22:32:30 +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 112e0a35f1 size presets: added the standard resolutions as proposed by Fabrice (ffmpeg)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10815 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-05 15:30:46 +00:00
michael 2bff57da7f -brightness && -vf scale fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10633 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-16 19:22:11 +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
rfelker 8b0fe12840 fix segfaults with slices. support slice rendering into a filter even
when the following filter/vo doesn't support slices. also use unified
vf->dmpi rather than having vf->priv->dmpi duplicated in every filter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10141 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-20 17:42:33 +00:00
alex d918952db8 not needed anymore (vo_jpeg.c and vo_dga.c were depending on it some time ago)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10023 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-29 17:17:38 +00:00
rfelker 70d3248840 generate meaningful d_width & d_height when scaling, rather than useless nonsense.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10003 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-27 10:04:39 +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 f0626e2f8d vf_clone_mpi_attributes()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9935 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 02:48:53 +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
albeu 72cd49c5f2 10L the scale filter accpet w and h to -3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9599 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 20:39:05 +00:00
albeu 33b62af947 Add the new -vf option wich is the same as vop in reverse order.
Syntax is we decided, so you can give the nomes or not with both
vop and vf. vf take precedence over vop.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 18:01:02 +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
arpi 2074da4092 draw_slice support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9492 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 20:40:46 +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
arpi 409f2f0ada move some verbose msg to dbg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9277 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-04 17:51:39 +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
arpi e635c0d02d exporting palette for 4/8bpp modes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7784 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 21:53:30 +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
arpi 1c014d0cfb out formats reordered, quality order
(we should prefer 422P to YV12 if available...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7404 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 13:36:37 +00:00
arpi c7944423a3 changing return type of put_image void->int
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7369 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 22:18:32 +00:00
michael 788451afa7 typo fix, patch by (Eric Lammerts <eric at lammerts dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7045 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-18 22:46:03 +00:00
arpi d3374e2065 imho swscale also likes aligned stride :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6877 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-02 22:57:58 +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
kmkaplan 1909c80216 Put back the ordering of the if as requested by Arpi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6751 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-18 16:14:27 +00:00
kmkaplan e2e5f63009 Round height or width to valid values when doing automatic calculation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6747 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-18 14:06:32 +00:00
alex 3f457aa9b7 support for external pp by divx4. some fixes/cosmetics?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6709 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-11 19:16:30 +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 ecff630554 support dropping some chroma src lines for a bit extra speed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6543 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 01:05:41 +00:00
arpi a72a759aba IF09 added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6537 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 19:31:31 +00:00
michael 10456fb947 yvu9 & y8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6534 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 18:53:46 +00:00
arpi 086c324692 warning fixes, patch by Ulrich Hecht <uli@suse.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6189 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-25 13:22:28 +00:00
arpi c835270280 big cosmetics patch, cleanup of messages printed by mplayer and libs.
some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2
mplayer's output is now shorter, readable and consistent


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 03:25:26 +00:00
arpi 4cb6458382 new special w/h values: -2 and -3. based on proposal by Bohdan Horst <nexus@hoth.amu.edu.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6127 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-19 23:39:42 +00:00
arpi 6ab0d987ad keep aspect ratio - based on Fredrik Kuivinen's idea
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6061 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-12 19:06:15 +00:00
arpi 24a34ce613 w/h=0 means d_w/h instead of original
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6004 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-06 22:50:02 +00:00
arpi af898e75d3 swscaler yv12 vs i420 workaround
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5713 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-19 23:29:41 +00:00
arpi 2bea9b36a7 mp_image.h and img_format.h moved to libmpcodecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 19:14:34 +00:00
arpi 39e3a780ce capabilities support -> automatic insertion of scale, expand, pp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5566 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-11 20:56:17 +00:00