summaryrefslogtreecommitdiffstats
path: root/libvo/vo_directfb2.c
Commit message (Collapse)AuthorAgeFilesLines
* VO: remove VO direct renderingwm42012-08-021-71/+0
| | | | | | | | | | | | | | | | | | | This was disabled by default, and could be enabled with -dr. It was disabled by default because it was buggy: there were issues with OSD corruption. It wasn't entirely sane for OpenGL based VOs either. OpenGL can chose to drop mapped pixel buffer objects, requiring the application to map and fill the buffer again. But there was no mechanism in mplayer to fill the lost buffer again. (It seems this rarely happened in practice, though.) On the other side, users liked the --dr flag, because it promised them more speed. I'm not sure if it actually helped with speed, but it's unlikely it had any real advantages on modern systems. In order to evade the --dr cargo culting in mplayer config files, it's best to get rid of it.
* mpcodecs: remove mp_image_t.x/ywm42012-02-241-7/+7
| | | | These were never used.
* cleanup: mark some vo_directfb2.c and vo_s3fb.c functions staticUoti Urpala2011-06-291-6/+8
|
* cleanup: some warning fixes and minor cleanupsreimar2011-06-291-2/+2
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33399 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33400 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33421 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33425 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33426 b3059339-0415-0410-9bf9-f77b7e298cf2
* input: move all key code lists to input/keycodes.hUoti Urpala2011-05-021-2/+1
| | | | | | | | | | | | | Move the definitions of all special key codes (those not passed by ASCII value) to input/keycodes.h. Before they were spread between osdep/keycodes.h, input/joystick.h, input/mouse.h and input/ar.h, plus some special values in input.h. This was especially inconvenient as the codes had to be coordinated to not conflict between the files. The change requires a bit of ugliness as appleir.c includes <linux/input.h> which contains various conflicting KEY_* definitions. Work around this by adding a special preprocessor variable which can be used to avoid defining these in keycodes.h.
* sub/OSD: move some related files to sub/Uoti Urpala2011-01-261-1/+1
|
* vo_vesa, vo_directfb2: Replace local min/max macros by FFMIN/FFMAXdiego2010-11-021-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32282 b3059339-0415-0410-9bf9-f77b7e298cf2
* build: update DirectFB requirements, reduce #ifdefsdiego2010-11-021-54/+3
| | | | | | | | | | | | | | | | | | 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
* Merge svn changes up to r31141Uoti Urpala2010-05-071-0/+19
|\
| * Add support for 12-bit color mode on framebuffer devices.cehoyos2010-05-061-0/+19
| | | | | | | | | | | | | | Patch Janusz Krzysztofik, jkrzyszt A tis icnet pl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31139 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31097Uoti Urpala2010-04-261-6/+0
|\|
| * 10l: Remove leftover commented-out #include.diego2010-04-241-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31061 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unnecessary kd.h #include.diego2010-04-241-6/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31060 b3059339-0415-0410-9bf9-f77b7e298cf2
| * include sys/kd.h on non-Linux architectures correctlysiretart2010-04-231-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31058 b3059339-0415-0410-9bf9-f77b7e298cf2
| * libvo: Mark functions not used outside of their files as static.diego2010-02-161-6/+8
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30598 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30301Uoti Urpala2010-01-251-2/+1
|\|
| * Remove a check that simply can not have worked since it relied on a completelyreimar2010-01-121-2/+1
| | | | | | | | | | | | | | uninitialized variable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30292 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-99/+99
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-95/+95
| |
* | Merge svn changes up to r28951Uoti Urpala2009-03-141-1/+1
|\|
| * Make data related to suboption parsing const in libvoreimar2009-03-071-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28863 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27649Uoti Urpala2008-09-201-21/+22
|\| | | | | | | | | | | | | Conflicts: Makefile configure libvo/x11_common.c
| * Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.diego2008-09-151-21/+22
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove useless parentheses from from return statements.diego2008-05-161-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove variable arguments from vo control() functionsUoti Urpala2008-04-231-1/+1
| | | | | | | | | | No voctrl uses them any more, and using them would not be a good idea because it makes forwarding arguments to other functions harder.
* | Change VOCTRL_[GET|SET]_EQUALIZER argument passingUoti Urpala2008-04-231-16/+4
|/ | | | | | | | 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.
* Fix warning:reimar2008-01-191-1/+1
| | | | | | | 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
* Avoid void* arithmeticreimar2008-01-191-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark the vo_functions_t definitions as const where possible.reimar2007-12-021-1/+1
| | | | | | | | 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
* Make vo info structs constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: output grammar/spelling fixesdiego2007-11-061-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24979 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Comment grammar and spelling fixes.diego2007-11-061-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity: Move debug messages to the appropriate MSGLdiego2007-11-061-46/+46
| | | | | | | and comment out the silliest ones. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24977 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l Diego, revert commit 24966.iive2007-11-041-2/+2
| | | | | | | 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
* Fix previous incorrect commit, +/- has higher precedence than shifts.diego2007-11-041-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some parentheses to fix the following warnings:diego2007-11-031-2/+2
| | | | | | | | 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
* warning fixes:diego2007-09-261-2/+0
| | | | | | | | | 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
* warning fix:diego2007-08-281-2/+0
| | | | | | | 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
* Fix warnings:diego2007-08-251-3/+3
| | | | | | | | | 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
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-10/+10
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* "()" to "(void)" function param list fixesuau2007-04-011-1/+1
| | | | | | | patch from Stefan Huehner, stefan huehner org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code cleanup: don't include a .c file in mplayer.c and fix a fewrathann2007-03-291-2/+1
| | | | | | | | | | | "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
* Fix DirectFB version check. The old code simply concatenated thesyrjala2006-10-081-11/+13
| | | | | | | 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
* The FSF changed postal address.diego2006-09-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 2reynaldo2006-07-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change 'if(verbose)' to the more appropriate mp_msg_test.diego2006-03-271-12/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo input cleanup: remove the dependency on libinput,albeu2005-11-021-1/+1
| | | | | | | 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
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-051-6/+6
| | | | | | | | 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
* Make dfbopts a suboption, use suboption parserreimar2005-06-181-92/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15751 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-1/+1
| | | | | | | 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
* cut and paste typo fixedzdar2004-02-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11983 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed usage of fb_dev_name, imported field parity reporting from dfbmga, ↵zdar2004-02-171-10/+29
| | | | | | fixed vsync handling in triple buffering mode git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11973 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesgabucino2003-10-041-1/+1
| | | | | | | 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
* Config fixed, changed put_image to use memcpy instead of native blits (for ↵zdar2003-09-071-2/+58
| | | | | | 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
* 4x10l fix. Vars used by the config layer must be malloc'd (strdup) as they ↵alex2003-08-151-1/+1
| | | | | | will be freed at exit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10619 b3059339-0415-0410-9bf9-f77b7e298cf2
* triple buffering support, configuration/option system changed,some minor ↵zdar2003-04-271-38/+176
| | | | | | bugs fixed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10005 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf->mp_msg and honor -double switchzdar2003-04-191-81/+97
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9938 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some 10l and better layer handling (to comply with DFB 0.9.17)zdar2003-03-051-20/+87
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Layer configuration handling updateszdar2003-03-021-28/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9516 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux->osdeparpi2003-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix to compile with DirecFB 0.9.16zdar2002-12-291-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8641 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-8/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch containing options for DirectFB library was renamed to dfbopts.arpi2002-11-101-4/+49
| | | | | | | | | Layer selection is done as "subdevice" - integer nuber after -vo directfb: where -1 is autodetection and 0,1,2... are for layers example: mplayer -vo directfb:2 -dfbopts matrox-crtc2,matrox-tv-standard=pal *.avi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8138 b3059339-0415-0410-9bf9-f77b7e298cf2
* config() parameters changezdar2002-09-041-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7273 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put/get_image fixed. Deleted forgotten development commentszdar2002-08-131-38/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6986 b3059339-0415-0410-9bf9-f77b7e298cf2
* new directfb driver for 0.9.13+ by jiri.svoboda@seznam.czarpi2002-08-091-0/+1224
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6953 b3059339-0415-0410-9bf9-f77b7e298cf2