summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-173-3/+3
| | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after last commit.cehoyos2009-02-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cropping parameter to calc_src_dst_rects is constreimar2009-02-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28626 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, reset ass_border when switching out of fullscreen mode.reimar2009-02-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28625 b3059339-0415-0410-9bf9-f77b7e298cf2
* The CONFIG_TV_TELETEXT preprocessor directive is defined/undefined,diego2009-02-171-1/+1
| | | | | | | | so use it with #ifdef instead of #if; fixes the warning: libvo/sub.c:1233:5: warning: "CONFIG_TV_TELETEXT" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28621 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation without VDPAUuau2009-02-171-1/+1
| | | | | | | | | | | | The commit adding vo_vdpau had two bugs that broke compilation when VDPAU was not enabled. - video_out.c used "#ifdef CONFIG_VDPAU", but it's always set to 0 or 1 - In configure, MPEG1_VDPAU_DECODER was dropped from the list of libavcodec codecs to disable when moving VDPAU-related ones from the always-disabled list to a conditinal one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28620 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for VDPAU video out, including hardware decoding.reimar2009-02-162-0/+813
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28617 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace double semicolon by single semicolon.diego2009-02-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync renaming of xvmc struct members in FFmpeg.diego2009-02-161-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28610 b3059339-0415-0410-9bf9-f77b7e298cf2
* The AV_XVMC_RENDER_MAGIC constant was renamed to AV_XVMC_ID in FFmpeg.diego2009-02-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28608 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reflect ffmpeg change of xvmc struct field to xvmc_id.iive2009-02-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28607 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all tabs and trailing whitespace.diego2009-02-151-75/+75
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28604 b3059339-0415-0410-9bf9-f77b7e298cf2
* The xvmc_pixfmt_render structure was renamed to xvmc_pix_fmt in FFmpeg.diego2009-02-151-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28603 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary #ifdef around internal #include.diego2009-02-151-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28602 b3059339-0415-0410-9bf9-f77b7e298cf2
* The xmvc structure member magic_id was renamed to unique_id.diego2009-02-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reflect the change of xvmc struct name.iive2009-02-151-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move direct-rendering hack from vo_xvmc to vf_vo, so it does not need toreimar2009-02-151-1/+0
| | | | | | | be duplicated for other systems like VDPAU or VAAPI. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Now xvmc struct uses magic_id fieldiive2009-02-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28578 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove display_flag remains as the member has been removed from the xvmc struct.iive2009-02-151-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28577 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some xvmc field initializations. They are not used byiive2009-02-141-2/+0
| | | | | | | | the libavcodec decoder. They are a copy of the queried surface and are meaningful only for pixel format selection, not during decoding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove local copy of xvmc_render.h, it is now an installed header in FFmpeg.diego2009-02-141-15/+15
| | | | | | | Also adapt MPlayer to definition name changes in libavcodec/xvmc.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28557 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now unused vo_calc_drwXY function.reimar2009-02-122-18/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28547 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a calc_src_dst_rects that calculates from window size, panscan etc.reimar2009-02-125-93/+99
| | | | | | | | | which part of the video source must be scaled onto which part of the window. Direct3D and (future) VDPAU need this, for XvMC it makes it easier to add cropping support and Xv is changed to keep the diff to XvMC small. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only set VO_EVENT_RESIZE if size actually changed, not if e.g. the window wasreimar2009-02-121-2/+6
| | | | | | | only moved to the foreground. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28541 b3059339-0415-0410-9bf9-f77b7e298cf2
* Conditionally compile aclib.c instead of placing #ifdef around its content.diego2009-02-081-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28483 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license headers, unify header formatting.diego2009-02-0851-147/+976
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid message spam during video adapter uncooperative state.gogothebee2009-02-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28469 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify info/error messages to a common style:gogothebee2009-02-051-43/+43
| | | | | | | <vo_direct3d> in the beginning, "." at the end. Shorter/more descriptive sentences. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28468 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add [gl] in front of vo_gl messagereimar2009-02-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Latest 9.1 ATI drivers finally fixed PBOs, thus do not need ati-hack and are ↵reimar2009-02-031-1/+10
| | | | | | | | | much faster without it. Change autodetection accordingly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28458 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add checks that a D3D device is available before attempting rendering.reimar2009-02-031-1/+16
| | | | | | | | | We may have lost the device e.g. because it became uncooperative e.g. when using remote desktop or Vista's UAC is activated. Patch by Georgi Petrov [gogothebee gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28457 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove the Present call after adapter reinitialization, it can not work anywayreimar2009-02-031-4/+0
| | | | | | | since no video frame is uploaded to the new context yet. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove empty line, improve some messages.reimar2009-02-031-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28454 b3059339-0415-0410-9bf9-f77b7e298cf2
* Whitespace/comment typo cosmetics.reimar2009-02-031-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28453 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for change_d3d_backbuffer failure.reimar2009-02-031-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix several return valuesreimar2009-02-031-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28451 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdef around internal header includes.diego2009-02-011-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make CONFIG_XVMC a proper FFmpeg-style 0/1 definition.diego2009-01-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allocate a larger backbuffer to allow resizing without reinit.reimar2009-01-271-43/+113
| | | | | | | Patch by Georgi Petrov [gogothebee gmail com] and Jim Hauxwell [james (at) dattrax co uk] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28379 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOW --> HAVE_AMD3DNOWdiego2009-01-265-47/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless period after copyright statement non-sentences.diego2009-01-192-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28342 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix device_id option after r28165gpoirier2009-01-181-7/+6
| | | | | | | | | | patch by Adrian Stutz %adrian A sttz P ch% Original thread: date Fri, Jan 9, 2009 at 4:03 PM subject [MPlayer-dev-eng] [PATCH] vo_macosx: fix device_id option after r28165 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28341 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, forgot to delete two defines left over from old HAVE_MMX handling code.reimar2009-01-161-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28337 b3059339-0415-0410-9bf9-f77b7e298cf2
* More #ifdef HAVE_MMX etc. missed by earlier search.reimar2009-01-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28327 b3059339-0415-0410-9bf9-f77b7e298cf2
* More #ifdef -> #if fixesreimar2009-01-161-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28326 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lots and lots of #ifdef ARCH_... -> #if ARCH_...reimar2009-01-164-90/+142
| | | | | | | | and #ifdef HAVE_MMX etc -> #if HAVE_MMX. There might be still more that need to be fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change vo_draw_text to a vo_draw_text_ext function which draws DVD navigationreimar2009-01-103-11/+45
| | | | | | | highlights at the correct position with the high-resolution OSD of -vo gl. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28290 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
*