summaryrefslogtreecommitdiffstats
path: root/libvo
Commit message (Collapse)AuthorAgeFilesLines
* Deduplicate enable_mouse_movements declaration.reimar2010-04-254-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31089 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor cosmetics.reimar2010-04-251-7/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31088 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add comment for endif.reimar2010-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31087 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for auto-selecting the OpenGL backend.reimar2010-04-253-7/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31086 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add reinitialization support. Necessary for fullscreen on OSX.reimar2010-04-254-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle SDL expose events with -vo gl.reimar2010-04-251-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31084 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing space in error message.reimar2010-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31083 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify SDL key symbol mapping.reimar2010-04-251-48/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31082 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the proper define for translating the tab key.reimar2010-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31081 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make uppercase characters and in general all ASCII characters workreimar2010-04-251-12/+5
| | | | | | | properly with SDL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31080 b3059339-0415-0410-9bf9-f77b7e298cf2
* Share SDL initialization code.reimar2010-04-254-20/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31079 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary check.reimar2010-04-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31078 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fullscreen support for -vo gl using SDL.reimar2010-04-253-1/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31077 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set SDL window title.reimar2010-04-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31076 b3059339-0415-0410-9bf9-f77b7e298cf2
* Window resizing support for -vo gl with SDL backend.reimar2010-04-254-7/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31075 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add sdl_common file and use it to share the input handling between -vo glreimar2010-04-254-83/+159
| | | | | | | with SDL backend and -vo sdl. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use SDL_GL_ProcAddress to work around conflicts between -lGLreimar2010-04-251-0/+10
| | | | | | | and -framework OpenGL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31073 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update copyright and email address.reimar2010-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31072 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify that the GL_TEXT_FRAGMENT_SHADER_ATI bug workaround is for OSX,reimar2010-04-251-3/+3
| | | | | | | and which versions are known good/known bad. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing gl.h include for SDL backend.reimar2010-04-241-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly more correct ifdefs for vo_gl2.reimar2010-04-241-6/+9
| | | | | | | Compiling with both win32 and x11 backend still will not work though. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31069 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add workaroound for yuv=7 mode - does hurt speed but not muchreimar2010-04-241-1/+5
| | | | | | | and this code should only be used when it is the only option. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31068 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove code to work around bugs in ancient libSDL versions, the code has beenreimar2010-04-241-35/+0
| | | | | | | accidentally disabled since some time and there were no complaints. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31067 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try harder to find linked OpenGL functions.reimar2010-04-241-27/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31066 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable OSD support by default if the necessary OpenGL functionality is missing.reimar2010-04-241-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31065 b3059339-0415-0410-9bf9-f77b7e298cf2
* SDL support with related crash-resilience fixes.reimar2010-04-241-4/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31064 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some crash-resilience fixes.reimar2010-04-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31063 b3059339-0415-0410-9bf9-f77b7e298cf2
* First steps to support -vo gl with SDL-based Window handling.reimar2010-04-242-0/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31062 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
* rename 'struct keymap' -> 'struct mp_keymap'siretart2010-04-236-10/+10
| | | | | | | | | | | | | This avoids the compilation failure on kFreeBSD (at least amd64): In file included from libvo/vo_directfb2.c:44: libvo/video_out.h:267: error: redefinition of 'struct keymap' This is because libvo/vo_directfb2.c #includes sys/kd.h, which in turn includes sys/kbio.h, which defines another 'struct keymap'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31059 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
* Open cutomtex file in binary mode to avoid potential issues onreimar2010-04-131-1/+1
| | | | | | | Windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31036 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some fallback OpenGL defines to fix compilation on Windows.reimar2010-04-071-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31027 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix RGB support for corevideo: corevideo can only supportreimar2010-04-051-8/+22
| | | | | | | | | ARGB and BGRA, which depending on endianness matches only one of RGB32 and BGR32. Also add RGB24 support which works independent of endianness, git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31016 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable OSD also for BGR32, the code is the same as for RGB32.reimar2010-04-051-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31015 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement VOCTRL_DRAW_IMAGE instead of the deprecated draw_frame, avoidingreimar2010-04-051-10/+6
| | | | | | | an extra memcpy in case of stride mismatch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check texture dimensions instead of internal format in max texturereimar2010-04-041-3/+3
| | | | | | | | | size check to work around OS X ATI driver bugs: - does not keep format but use an equivalent one (1 becomes 0x8040). - does not set to 0 on failure but to 0x8018 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics/reindent.reimar2010-04-041-14/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31012 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid duplicating a condition.reimar2010-04-041-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31011 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print width before height,reimar2010-04-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31010 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix width/height mixup in error message.reimar2010-04-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31009 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor out the YUV->RGB conversion auto-selection and alsoreimar2010-04-044-4/+18
| | | | | | | | enable auto-selection of ATI fragment shaders since they should do accurate conversions now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31006 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark dxr2_opts array as const.diego2010-04-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30998 b3059339-0415-0410-9bf9-f77b7e298cf2
* Share more code between the two ATI fragment shader YUV to RGBreimar2010-04-041-69/+87
| | | | | | | | conversion methods and extend them to support more accurate conversion (though at the cost of some speed). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30995 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to detect and work around broken glXGetProcAddress on atreimar2010-04-031-0/+6
| | | | | | | least PPC OS X 10.4. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement OpenGL-based YUV to RGB version for Radeon 9200 classreimar2010-04-032-0/+55
| | | | | | | cards on OS X. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indentation fix.reimar2010-04-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30988 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add mpgl prefix to all OpenGL-related function pointers.reimar2010-04-035-572/+572
| | | | | | | | | This is necessary because at least the GetString symbol causes clashes on PPC OSX 10.4, causing -vo gl to always crash. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30987 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use (void) instead of () to indicate a parameterless function, fixes:diego2010-03-281-1/+1
| | | | | | | libvo/vo_xvmc.c:123: warning: function declaration isn't a prototype git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30975 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add const to some video_out extern declarations to match their definitions.reimar2010-03-271-45/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30968 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark some more LIBVO_EXTERN declarations as const where possible.reimar2010-03-274-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30967 b3059339-0415-0410-9bf9-f77b7e298cf2
* Refactor OS X foreground process setting into a separate function.diego2010-03-264-38/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30964 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename get_path.[ch] --> path.[ch].diego2010-03-202-2/+2
| | | | | | | These files now contain different functions related to path handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add newlines to generated fragment program to make both fragment program dumpreimar2010-03-121-117/+117
| | | | | | | with -v more readable and compiler error message more understandable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30882 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use FBIOPAN_DISPLAY for switching between pages, seems to work for morereimar2010-03-071-1/+1
| | | | | | | drivers and can be much faster. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add double-buffering support to vo_fbdev.reimar2010-03-071-3/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reuse fb_tty_fd for setting up the text area.reimar2010-03-051-11/+5
| | | | | | | | This avoids the fopen call which could end up creating a /dev/tty file if it did not exist. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30846 b3059339-0415-0410-9bf9-f77b7e298cf2
* Save the new width and height earlier so that e.g. -geometry 30x30-50-50reimar2010-03-031-4/+6
| | | | | | | | gives the correct behaviour - before placement would depend on the original movie size instead of the one scaled according to -geometry. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30823 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for specifying window position relative to right and bottomreimar2010-03-031-5/+10
| | | | | | | | screen borders with -geometry. Based on patch by Melchior FRANZ [melchior franz gmail com]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30822 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify sscanf format strings and get rid of useless percent variable.reimar2010-03-031-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30821 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid very deep indentation level and RESET_GEOMETRY macro in -geometryreimar2010-03-031-39/+34
| | | | | | | parsing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30820 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop support for old-style DVB code.diego2010-03-021-21/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30818 b3059339-0415-0410-9bf9-f77b7e298cf2
* Documentation: Add linebreak and try to be less ambiguous.cehoyos2010-02-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30800 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused static function send_lpcm_packet().cehoyos2010-02-271-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update -vo gl info structs, it isn't X11-only since ages and there's basicallyreimar2010-02-271-4/+4
| | | | | | | no code left from Arpi and it's unlikely the email address is still working anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30763 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, remove forgotten debugging code.reimar2010-02-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only prefer -vo gl over -vo x11 if hardware acceleration is available.reimar2010-02-272-4/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable StructureNotifyMask before waiting for a DestroyNotify event.reimar2010-02-271-0/+1
| | | | | | | | Fixes hangs if OpenGL initialization fails in vo gl preinit and we call uninit while the window is still hidden. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30760 b3059339-0415-0410-9bf9-f77b7e298cf2
* Port yuv=... auto-detection from gl to gl2.reimar2010-02-261-2/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30753 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark character arrays as const.diego2010-02-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30751 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not cast the results of malloc/calloc/realloc.diego2010-02-263-8/+8
| | | | | | | | These functions return void*, which is compatible with any pointer, so there is no need for casts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder vos: prioritize -vo gl above -vo x11 and -vo matrixview down with ↵reimar2010-02-251-4/+6
| | | | | | aa, caca etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30741 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unconditionally declare fast_memcpy() and mem2agpcpy().diego2010-02-251-3/+1
| | | | | | | | | This fixes the following warnings on non-x86 systems: libvo/aclib.c:162: warning: no previous prototype for 'fast_memcpy' libvo/aclib.c:196: warning: no previous prototype for 'mem2agpcpy' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30728 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare externally used variables from vd.c as extern in vd.h.diego2010-02-221-2/+1
| | | | | | | This saves declaring them as extern all over the place. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30695 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header for v4l2_write() instead of forward declaring it.diego2010-02-212-0/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30692 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless empty lines at EOF.diego2010-02-2012-13/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf