Commit Graph

101 Commits

Author SHA1 Message Date
diego ad603f5559 cosmetics: Remove useless parentheses from from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 08:33:27 +00:00
reimar 909887bdbe Make vo info structs const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:06:03 +00:00
diego be4cb72ebe Fix redundant redeclaration warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24171 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 12:50:05 +00:00
reimar 6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
rathann f78363e244 Remove spurious casts to int. Blessed by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20116 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 16:40:11 +00:00
pacman 2857c2e4d4 Don't multiply fb_line_len by fb_pixel_size. Fixes too-low placement of OSD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17902 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 22:24:14 +00:00
pacman 6a6fec3656 Don't try to parse fb.modes more than once. Fixes playback of multiple files
with mplayer -vm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17901 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 22:07:30 +00:00
pacman 34e08d15ea When centering a video with odd width, be sure to start on a pixel boundary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17729 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 20:00:06 +00:00
pacman 74e03a35f1 Fix colormap save/restore for directcolor fb devices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17638 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 03:49:33 +00:00
ivo cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's
changed to int now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 01:24:37 +00:00
henry dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
rfelker 44d693368f remove old buggy workaround. kerneltwosix.h itself will be removed soon if this doesn't cause problems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14095 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-03 20:55:00 +00:00
attila 3115b22def linux 2.6 patch by "ismail 'cartman' dönmez" <ismail.donmez@boun.edu.tr>
no idea whether this really works :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11766 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-10 09:48:15 +00:00
rathann e1dc488097 Warning fixes (approved by A'rpi).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 00:26:51 +00:00
alex 836d219075 fixed -nocolorkey
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11217 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 13:22:00 +00:00
alex a34978c3a7 Colorkeying can be disabled. Fbdev, svga and vesa vidix colorkeying support
by Jake Page <jake@CS.Stanford.EDU>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11159 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-17 09:08:37 +00:00
alex 4efe868ed8 correct handling of subdevice, -fb device is obsoleted
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11056 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-08 10:58:44 +00:00
alex bf6af9920f vidix equalizer support by Jake Page <jake@CS.Stanford.EDU>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11037 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-07 22:29:37 +00:00
alex 5a13436db5 4x10l fix. Vars used by the config layer must be malloc'd (strdup) as they will be freed at exit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10619 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 13:04:37 +00:00
rfelker a035351921 10000l, the old code was slow as hell, copying stuff extra times and
actually broken -- blanking the whole screen at each 'page flip' with
-dr enabled. benchmarks:

before:
56% cpu for decode
56% cpu for vo with no -dr
25% cpu for vo with -dr

after:
56% cpu for decode
25% cpu for vo without -dr
0% cpu for vo with -dr

if vo_fbdev is going to do pageflip, it needs to do it for REAL, using
vertical scroll registers (like g2), not copying a temp buffer (which
will shear anyway and is super-slow).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10579 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 08:24:24 +00:00
joey 1badec0613 Changed all printf into mp_msg
Removed extern int verbose
Removed some unneeded includes
Removed swscale, because this should be done by vf layer instead
Removed weird video_out_png definition
There is no more flip, zoom, or geometry support, so I removed those.
Slices, stride support for all supported CSP.
Replaced draw_frame with a stub.
Removed: do { ... } while (0)
Removed unused dstFourcc.
Added DR support
Removed USE_CONVERT2FB, since we have real DR now
Simplified some color depth checks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10577 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 06:57:19 +00:00
alex 63e689e4ec removed yv12 support, but left some swscaler support for fast 15 vs 16bpp conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10427 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-13 23:33:56 +00:00
rfelker bae4a5cbb5 at least it works now, but it's horrible slow and broken. double buffer
and direct rendering support are needed to make this remotely usable...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9942 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 18:57:16 +00:00
attila 6514fbb076 clean up of -geometry code.
disabled -geometry for all but -vo xv (will be fixed later)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9518 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-02 21:09:15 +00:00
arpi faf2f98c85 -geometry fix (untested!)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8919 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 17:59:47 +00:00
mark 0842caf6f0 Added support for X style -geometry options (adapted from Henk's patch)
-- Mark


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8746 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 20:46:44 +00:00
alex 6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
albeu 89562c1e3d 10L
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7981 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 17:51:13 +00:00
arpi a28cbe4811 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7876 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 18:51:19 +00:00
mark a2dfc7a766 Added the -geometry option (supports fbdev and tdfxfb drivers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7867 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 16:52:54 +00:00
arpi 9823a4e64e If movie height is odd, the picture is placed badly, due to wrong rouding.
patch by Balatoni Denes <pnis@coder.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7864 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 15:32:40 +00:00
arpi 4a92dacc4e preinit() has an arg... use it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7677 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 00:52:15 +00:00
arpi bda251bbb2 -zoom will be handled by -vop scale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7428 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-17 09:55:05 +00:00
alex 64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
arpi 4ae1571dda General Timing Formula algorithm from a scratch.
vo_vesa.c so now adjust the timing to highest possible refresh rate using
the monitor capabilities from a config file.
patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7070 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:03:51 +00:00
arpi ed7f81ec5e - fixed size/aspect for -fs
- use vidix's query_format for vidix mode (10l bug)
patch by Jacek Rembisz <jr178783@zodiac.mimuw.edu.pl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6852 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-30 18:52:57 +00:00
alex bb314fce93 query_format revised
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6213 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-27 17:56:52 +00:00
alex e9e10be568 removed screenshot thingie - it will be moved to video filter layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6204 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-27 15:45:02 +00:00
alex 5b0b08a392 applied 64bit patch from Ulrich Hecht <uli at suse dot de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-23 15:40:08 +00:00
nick f99f534bdb Screenshot on the fly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4757 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-18 18:37:39 +00:00
arpi 4b33dccb25 10000hl to Holm... control MUST BE static...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 01:21:48 +00:00
arpi 7c51652a1b query_ stuff replaced by new control() - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 00:47:26 +00:00
nick 9bf9892bd3 Use new tune info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4435 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 10:23:39 +00:00
nick b587a3d642 new info for tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4434 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 09:57:13 +00:00
pl 2d0f99c510 did not compile when --disable-vidix was used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4387 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-27 18:06:56 +00:00
nick b337aa2029 Use real preinit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4381 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-27 16:45:48 +00:00
nick fa1d5742bc Extensions for video accelerated architecture
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 16:01:26 +00:00
arpi a13184aac4 fbdev nocopy option - Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4211 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-17 01:15:31 +00:00
alex 576095dfb9 added vidix_start() and vidix_stop() for better runtime-resize support ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4199 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-16 15:22:45 +00:00
nick b986aebcc5 Configurable VIDIX usage
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4090 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-11 17:20:43 +00:00