Commit Graph

61 Commits

Author SHA1 Message Date
diego 21ea779e7a vo_vesa, vo_directfb2: Replace local min/max macros by FFMIN/FFMAX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32282 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:16:55 +02:00
diego 868fb5d278 build: update DirectFB requirements, reduce #ifdefs
Require DirectFB version 0.9.15 instead of 0.9.13.
This simplifies the build system at the cost of requiring a library
version that was released at the end rather than the middle of 2002.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32251 b3059339-0415-0410-9bf9-f77b7e298cf2

Simplify DirectFB check.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32252 b3059339-0415-0410-9bf9-f77b7e298cf2

Require DirectFB version 0.9.22.
This allows getting rid of a lot of library version check #ifdeffery.
Release 0.9.22 is from February 2005, so the requirement is reasonable.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32253 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:16:55 +02:00
Uoti Urpala e1cd86076f Merge svn changes up to r31141 2010-05-07 22:13:35 +03:00
cehoyos 02641f54ee Add support for 12-bit color mode on framebuffer devices.
Patch Janusz Krzysztofik, jkrzyszt A tis icnet pl 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31139 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-06 10:18:25 +00:00
Uoti Urpala f38efd166e Merge svn changes up to r31097 2010-04-26 19:23:32 +03:00
diego 976d35bc6b 10l: Remove leftover commented-out #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31061 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-24 10:50:21 +00:00
diego ca555e249f Remove unnecessary kd.h #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31060 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-24 10:47:53 +00:00
siretart 8bd8aba37a include sys/kd.h on non-Linux architectures correctly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31058 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-04-23 10:04:56 +00:00
diego 6833ea6ab2 libvo: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30598 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 16:22:17 +00:00
Uoti Urpala 69fe2522f8 Merge svn changes up to r30301 2010-01-25 15:07:30 +02:00
reimar c69a27ef8e Remove a check that simply can not have worked since it relied on a completely
uninitialized variable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30292 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-12 19:51:29 +00:00
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala ae2faad666 Merge svn changes up to r28951 2009-03-14 23:52:45 +02:00
reimar 05119ecaf6 Make data related to suboption parsing const in libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28863 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-07 08:51:40 +00:00
Uoti Urpala 849dc0ba31 Merge svn changes up to r27649
Conflicts:
	Makefile
	configure
	libvo/x11_common.c
2008-09-20 16:13:33 +03:00
diego 4ca1fa0a08 Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 05:40:29 +00:00
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
Uoti Urpala de56d2d9f5 Remove variable arguments from vo control() functions
No voctrl uses them any more, and using them would not be a good idea
because it makes forwarding arguments to other functions harder.
2008-04-23 13:41:03 +03:00
Uoti Urpala dbe080ec9f Change VOCTRL_[GET|SET]_EQUALIZER argument passing
These were the only voctrl types with more than one argument. The
second argument was passed using variable arguments. Change them to
use a single argument (address of a struct containing both old
arguments). This makes forwarding the arguments to other functions
easier and allows simplifying code.
2008-04-23 13:41:03 +03:00
reimar ce3b1606ab Fix warning:
vo_directfb2.c:553: warning: passing argument 2 of ‘dfb->EnumVideoModes’ from incompatible pointer type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25792 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:25:41 +00:00
reimar db95698364 Avoid void* arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:17:04 +00:00
reimar 2bf8c692f1 Mark the vo_functions_t definitions as const where possible.
This is not possible for xover and anything supporting vidix
due to horrible hacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:39:15 +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 808e6280d2 cosmetics: output grammar/spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24979 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:54:58 +00:00
diego a75c9a6527 cosmetics: Comment grammar and spelling fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24978 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:49:55 +00:00
diego 6397fe4346 Reduce excessive verbosity: Move debug messages to the appropriate MSGL
and comment out the silliest ones.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24977 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 09:41:38 +00:00
iive 1479f405f6 10l Diego, revert commit 24966.
We do not have policy of restoring bugs when bug is fixed by accident.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24967 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 23:39:05 +00:00
diego 3d6a73e3e5 Fix previous incorrect commit, +/- has higher precedence than shifts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24966 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-04 13:41:07 +00:00
diego 0e4b5d10db Add some parentheses to fix the following warnings:
vo_directfb2.c:1189: warning: suggest parentheses around + or - inside shift
vo_directfb2.c:1190: warning: suggest parentheses around + or - inside shift


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24959 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 20:25:00 +00:00
diego 559699c7d4 warning fixes:
vo_directfb2.c: In function 'config':
vo_directfb2.c:499: warning: unused variable 'flip'
vo_directfb2.c:498: warning: unused variable 'zoom'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24619 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-26 02:48:37 +00:00
diego 4050debeff warning fix:
vo_directfb2.c:111: warning: 'tvnorm' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24260 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:55:53 +00:00
diego 5606acf652 Fix warnings:
vo_directfb2.c:1296: warning: unused variable 'rect'
vo_directfb2.c:1295: warning: unused variable 'dsc'
vo_directfb2.c:1294: warning: unused variable 'tmp'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24186 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 16:32:20 +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
uau 208d4343ef "()" to "(void)" function param list fixes
patch from Stefan Huehner, stefan huehner org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
rathann 259cfbe7e2 Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ‘mplayer_put_key’" warnings

Based on Attila's suggestions.
Approved by Uoti and Ivan.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-29 17:16:11 +00:00
syrjala 8db718fbf8 Fix DirectFB version check. The old code simply concatenated the
digits, so 1.0.0 was considered older than 0.9.XY.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20118 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 22:16:38 +00:00
diego 66b1d0d001 The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 12:11:11 +00:00
reynaldo 9d9a15d185 rm unnecesary casts from void* - part 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
diego 7416ded30b Change 'if(verbose)' to the more appropriate mp_msg_test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:22:48 +00:00
albeu 374db42e17 libvo input cleanup: remove the dependency on libinput,
remove most of the crappy mappings (like O->o or ESC->q).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-02 21:50:55 +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
reimar e76512dfb7 Make dfbopts a suboption, use suboption parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 20:27:50 +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
diego 5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
zdar 52e2658503 cut and paste typo fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11983 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-21 08:21:42 +00:00
zdar 1cbd9c581e removed usage of fb_dev_name, imported field parity reporting from dfbmga, fixed vsync handling in triple buffering mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11973 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-17 16:34:40 +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
zdar a958aebdbb Config fixed, changed put_image to use memcpy instead of native blits (for compatibility reasons), always clear primary layer (to have always black background) and try to center image.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10841 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-07 19:42:35 +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