summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Fix build: calc_drwXY was factorized into vo_calc_drwXY.diego2009-01-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28286 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor calc_drwXY out of vo_xv and vo_xvmc.cehoyos2009-01-094-35/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28285 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support loading font faces other then the first one in a font file.eugeni2009-01-062-7/+9
| | | | | | | | | | | With -fontconfig, it is possible to select a face with index higher than 0 in a multi-face font file. Currently, with the old rendering code, this information is lost and the first face is loaded. With this change, index supplied by fontconfig is used for font loading. Patch by Adrian Stutz, adrian sttz ch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28276 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' keyword to parameterless function declarations.diego2009-01-056-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix deinit problem due to r28215gpoirier2009-01-031-2/+4
| | | | | | | | | original thread: date: Fri, Jan 2, 2009 at 10:00 PM subject: [PATCH] Fix deinit problem due to r28215 (was Re: [MPlayer-cvslog] r28215 - in trunk: DOCS/man/en/mplayer.1 libvo/vo_macosx.m) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28239 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync with latest round of xvmc changes in FFmpeg.diego2009-01-021-19/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Conditionally define render_one_glyph and kerning dummy functions indiego2009-01-022-9/+5
| | | | | | | | | font_load.c when FreeType is not enabled instead of conditionally defining them in font_load.h. This moves the workaround closer to where the actual problem is. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused debug code.diego2009-01-021-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28234 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add an option to vo_macosx to set a custom buffer_name.gpoirier2008-12-301-6/+23
| | | | | | | | | | | | | | | This allows to have multiple instances of MPlayerOSX running without stepping on each other's toes. Patch by Adrian Stutz % adrian A sttz P ch % Original thread: date: Tue, Dec 9, 2008 at 2:46 PM subject: [MPlayer-dev-eng] [PATCH] vo_macosx: option to set shared buffer name to allow multiple instances git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28215 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support F- and numpad keys for w32_common based vos.reimar2008-12-301-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28214 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ugly borders problem with ati-hackreimar2008-12-271-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28199 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.diego2008-12-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28191 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warn when using features that are broken due to ATI driver bugs.reimar2008-12-231-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28188 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not default to rectangle=2, it is at least for ATI HD4850 cards with 8.12 ↵reimar2008-12-231-1/+1
| | | | | | drivers 20% slower at HD resolutions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28187 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless forward declaration.diego2008-12-231-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28184 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, forgot an assignment, broke special keys handling for X11-based vos.reimar2008-12-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28175 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add and use a special lookup function to do table-based translation to ↵reimar2008-12-204-55/+49
| | | | | | MPlayer keycodes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28172 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: get rid of some tabs and trailing whitespace.reimar2008-12-201-32/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28171 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a table to translate X11 to MPlayer keycodes.reimar2008-12-201-145/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28170 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless and now unused defines.reimar2008-12-201-88/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28169 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify handling of X11 key events that are just passed through.reimar2008-12-201-97/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace vo_macosx's custom options parsing with a subopt_parse()-based onegpoirier2008-12-191-22/+24
| | | | | | | | | | | (in the same way as vo_gl). Patch by Adrian Stutz %adrian A sttz P ch% Original thread: date: Tue, Dec 9, 2008 at 3:20 PM subject: Re: [MPlayer-dev-eng] [PATCH] vo_macosx: option to set shared buffer name to allow multiple instances git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use full relative #include path for headers in the same directory.diego2008-12-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28157 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include sub.h instead of locally declaring vo_draw_text().diego2008-12-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28156 b3059339-0415-0410-9bf9-f77b7e298cf2
* xvmc is now a CONFIG_ option in FFmpeg.diego2008-12-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for writing PNG files with alpha channel in -vo pngreimar2008-12-101-2/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28126 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to auto-detect several vo_gl settings (ati-hack, force-pbo and rectangle).reimar2008-12-101-3/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28125 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MGSTR vs. MSGTR typo.diego2008-12-091-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28122 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set d3d_handle to NULL after release.reimar2008-12-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28121 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten part of previous cosmetics commitreimar2008-12-091-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28120 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly simplify the conditional release/free codereimar2008-12-091-21/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28119 b3059339-0415-0410-9bf9-f77b7e298cf2
* First version of OSD support for vo_direct3dreimar2008-12-091-7/+282
| | | | | | | Patch by Jim Hauxwell [james dattrax co uk] with modifications by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28118 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: indentationdiego2008-12-081-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28113 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless or even wrong N/A return values doxy commentsreimar2008-12-081-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28112 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing unistd.h #include, fixes the warning:diego2008-12-081-0/+1
| | | | | | | libvo/vo_macosx.m:177: warning: implicit declaration of function 'ftruncate' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28111 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable, fixes the warning:diego2008-12-081-1/+0
| | | | | | | libvo/vo_macosx.m:735: warning: unused variable 'lastTime' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28110 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include appropriate headers instead of locally declaring function prototypes.diego2008-12-082-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28109 b3059339-0415-0410-9bf9-f77b7e298cf2
* ati_hack only makes sense when PBOs are used, not with mesa_buffer.reimar2008-12-061-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28108 b3059339-0415-0410-9bf9-f77b7e298cf2
* More possible fixes for mesa-buffer mode.reimar2008-12-061-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28107 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move one ati_hack check to a better place.reimar2008-12-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28106 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2008-12-061-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28105 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, forgot setting GL_UNPACK_CLIENT_STORAGE_APPLE for mesa-buffer mode.reimar2008-12-062-5/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28104 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, add forgotten a #ifndef GL_WIN32, fixes win32 builds.reimar2008-12-051-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28103 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indentationreimar2008-12-051-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28102 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add experimental support for glXAllocateMemoryMESAreimar2008-12-053-5/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid one more duplicated logic.reimar2008-12-051-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28099 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify, do not duplicate buffer size calculationreimar2008-12-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28098 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set the base size window manager hint, otherwise some subtract the minimumreimar2008-12-051-0/+7
| | | | | | | | size of 4x4 from the numbers displayed to the user which might be confusing. Based on patch by Bert Wesarg [bert wesarg googlemail com]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28097 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some forgotten documentation for gl suboptionsreimar2008-12-051-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28094 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for YCBCR MESA texture format to vo_gl.reimar2008-12-053-0/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28093 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-0312-33/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused declarations and references to vo_draw_text_osd(),diego2008-12-033-16/+1
| | | | | | | vo_draw_text_progbar(), vo_draw_text_sub(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28083 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indentation.reimar2008-12-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28076 b3059339-0415-0410-9bf9-f77b7e298cf2
* More robust w32 -wid size handlingreimar2008-12-031-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindent after previous commitreimar2008-12-031-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28073 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not override the vo_dwidth/vo_dheight values in vo_w32_configreimar2008-12-031-0/+3
| | | | | | | in -wid mode because we ignore the requested size in that case. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28072 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics, whitespace and "... == NULL" to "!..."reimar2008-12-031-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some whitespace and () cosmeticsreimar2008-12-031-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28069 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove resize_d3d call from render_d3d_frame that was made uselessreimar2008-12-021-2/+0
| | | | | | | | | by previous commit. If this is necessary e.g. to prevent flicker while resizing, check_events should be called instead or even better the functionality be moved to some higher layer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28065 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, do not call check_events from resize_d3d since there should bereimar2008-12-021-3/+0
| | | | | | | | no reason to do it and it might call resize_d3d again which makes it hard to guarantee that it works correctly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28064 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: Remove unnecessary ()reimar2008-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28063 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistency cosmetics: do not compare against NULL in ifsreimar2008-12-021-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28062 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove spaces before argument (reimar2008-12-021-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorganize Direct3D initialization code.reimar2008-12-021-51/+150
| | | | | | | Patch by Georgi Petrov [gogothebee gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28060 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a lot of completely pointless mp_msg_test calls.reimar2008-12-011-53/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28055 b3059339-0415-0410-9bf9-f77b7e298cf2
* use mmap instead of shmat for MPlayerOSX, patch by Adrian Stutz<adrian@sttz.ch>nplourde2008-11-301-17/+32
| | | | | | | | | Original thread: date: Sun, Oct 12, 2008 at 10:32 PM subject: [MPlayer-dev-eng] [PATCH] vo_macosx: use mmap instead of shmat for MPlayerOSX git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28050 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: prettyprinting and indentationdiego2008-11-281-77/+81
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28045 b3059339-0415-0410-9bf9-f77b7e298cf2
* factorize mouse hiding and screensaver disabling codegpoirier2008-11-272-10/+11
| | | | | | | | | | Based on the patch posted in thread: from Gregor Riepl %onitake A gmail P com% date: Wed, Oct 29, 2008 at 7:26 PM subject: Re: [MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28044 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use D3DFMT_ constants where possible instead of MAKEFOURCCreimar2008-11-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28041 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for RGB formats to vo_direct3dreimar2008-11-261-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28040 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, OSD alpha textures were cleared to the wrong value.reimar2008-11-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28036 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix + readability improvementgpoirier2008-11-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28035 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary #ifdef around a struct and a bunch of extern declarations.diego2008-11-241-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28031 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not initialize fb_dev_fd to -1, similar to vo_fbdev.c.diego2008-11-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28028 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Add/remove a few newlines similar to vo_fbdev.c.diego2008-11-241-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28027 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics (svn diff --diff-cmd diff -x '-duwbBE' gives no differences)gpoirier2008-11-241-1186/+1189
| | | | | | | | replace tabs by 4 spaces. prettier intentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28026 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid putting several statements on a single linegpoirier2008-11-241-9/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28025 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use doxygen-style comments in file header. Remove tabs usage.gpoirier2008-11-241-12/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28024 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace-cleanupgpoirier