summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
Commit message (Collapse)AuthorAgeFilesLines
* typo fix: inited --> initializeddiego2008-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesuau2008-01-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Format mapping table should be constreimar2007-12-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25267 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
* Remove unused variable.diego2007-08-151-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24065 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make X11 window creation and (with -fixed-vo) management simpler and morereimar2007-06-271-28/+2
| | | | | | | | | consistent by introducing a new function that handles most of the ugly things. Changes of behaviour with some vos is unavoidable, bug reports welcome. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused variables, patch by timwoj ieee org.diego2007-05-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove more pointless fastmemcpy.h includes in libvoreimar2007-05-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify -flip handling on vo_x11.creimar2007-05-121-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23302 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash with -flip on 64 bit systems, the result ofreimar2007-05-121-1/+1
| | | | | | | stride*height _must_ be sign extended. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23301 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor common code out of if in x11_common.creimar2007-05-121-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23300 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gui --> guidiego2007-04-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 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
* Move common vo initialization code to video_out.creimar2007-02-171-9/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22250 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, missing () in check for 32bit endian-conversion hackreimar2006-12-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for different endianness on client and server with -vo x11reimar2006-12-121-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Align image data pointer, this is also in preparation of an upcoming patchreimar2006-12-121-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use XCreateImage instead of XGetImage, this is not only more correct andreimar2006-12-121-3/+5
| | | | | | | | similar to the SHM case, it also eliminates the massive startup delay over ssh (at least when you have a tiny upstream). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper detection of corresponding MPlayer image format for X server format ↵reimar2006-10-231-41/+58
| | | | | | for vo_x11. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove dead code (condition can obviously never be true)reimar2006-10-131-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20202 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.diego2006-07-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscalelucabe2006-06-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Software Scaler headers usage cleanuplucabe2006-06-181-8/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix window position when changing videos while in fullscreen and forreimar2006-06-151-3/+3
| | | | | | | window managers that modify position on Map. Oked by Alexander Strasser. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18718 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with ↵reynaldo2006-04-241-1/+2
| | | | | | lots of corrections git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportreimar2006-04-161-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless and memleak-causing strdupreimar2006-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 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 -wid behave more consistent.al2005-05-211-0/+5
| | | | | | | Original patch by kiriuja |mplayer-patches >ta< en-directo >tod< net| git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15541 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-7/+7
| | | | 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-7/+7
| | | | | | | 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
* Removed superfluous XFlush calls before XSync.al2004-08-201-1/+0
| | | | | | | | | Original patch by Piotr Neuman <sikkh@wp.pl> extended by Joey to cover all X11 code modified by me to only do the above stated change. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13057 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed saver_on, saver_off calls, they are already in x11_common.creimar2004-07-251-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12896 b3059339-0415-0410-9bf9-f77b7e298cf2
* major reindentation of x11 code try #2attila2004-06-141-462/+586
| | | | | | | | | | | | | | note that this is plain ident output, i didnt tweak it by hand like the last attempt. if anyone is interested in the indent profile i used, just drop me a mail. please contact me on irc on how to send me my share of cola, but be aware that i will only accept swiss or german cola, as the japanese is way to sweet :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12583 b3059339-0415-0410-9bf9-f77b7e298cf2
* just the same include reordering as in vo_xv (codemetics :)alex2003-12-271-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11691 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 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
* Avoid flickering during resizes. Keep video contents even when paused. Fix ↵mosu2003-08-311-10/+19
| | | | | | by Tomas Simonaitis <haden@homelan.lt> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
* geometry support for x11attila2003-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10729 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_scale.h & related cleanup & some small warning fix by dominikmichael2003-06-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>alex2003-05-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10213 b3059339-0415-0410-9bf9-f77b7e298cf2
* swscaler doesn't recognizes support for BGR1/BGR4 too, and so if forced it ↵alex2003-05-231-1/+3
| | | | | | crashes, without checking the swsContext git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10178 b3059339-0415-0410-9bf9-f77b7e298cf2
* that works correctlyalex2003-05-231-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10177 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l (YUV vs. YVU swscale fix/cleanup)michael2003-03-271-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
* sws_ prefix, more seperation between internal & external swscaler APImichael2003-02-231-7/+8
| | | | | | | sws_scale() returns the number of outputed lines git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
* The reason why mplayer crashes (in some cases) when using x11arpi2003-02-041-4/+4
| | | | | | | | | | | | | | | | | output and -wid (>0) parameter is this: Mplayer by default creates a colormap using DirectColor visual. If the window given to mplayer uses TrueColor visual there will be an error when mplayer sets the colormap for the window. This patch modifies mplayer to use TrueColor visual if the window given to mplayer uses TrueColor. Another solution is to make sure that the window given to mplayer is created using DirectColor visual if it is supported by the display. Jouni Tulkki <jitulkki@cc.hut.fi> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9279 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPlayer crash when using -wid and -vo x11 parameters.arpi2003-01-261-2/+3
| | | | | | | | I don't understand very well why my fix works. Jouni Tulkki <jitulkki@cc.hut.fi> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9116 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* here is a somewhat generic equalizer implementation for the X11 vo driversarpi2002-10-291-2/+21
| | | | | | | | | | using the window's colormap (DirectColor). this method is using the video card's hardware gamma ramp so it involves no performance penalties at all. patch by lucho <lucho@haemimont.bg> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7965 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix memleakpontscho2002-10-161-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7766 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixed-vo supportpontscho2002-10-161-19/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7765 b3059339-0415-0410-9bf9-f77b7e298cf2
* since draw_slice() supports RGB/BGR, we don't need draw_image() for stridearpi2002-10-091-12/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7690 b3059339-0415-0410-9bf9-f77b7e298cf2
* - implemented draw_image()arpi2002-10-091-23/+16
| | | | | | | - removed unneeded if(!gui) from preinit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7684 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nograbpointer, based on old patch by Christian Ohm <chr.ohm@gmx.net>arpi2002-09-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7540 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the code that chooses a good X11 truecolor visual to the vo_x11 config()jkeil2002-09-031-1/+4
| | | | | | | | | | function. This is useful for framebuffers on Sun hardware, where we have multiple truecolor visuals of different depths available, and the root window typically runs at depth 8, yet there are 24 bit true color visuals available as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7257 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warningarpi2002-08-091-2/+2
| | | | | | | patch Kazunori Ueno <jagarl@creator.club.ne.jp> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
* initial window size (-xy) fixed - patch by Kazunori Ueno ↵arpi2002-07-311-1/+1
| | | | | | <jagarl@creator.club.ne.jp> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silly me, vo_x11 doesn't use my aspect code!atmos42002-07-111-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6705 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, back out hack-n-slay 8bpp code from my local tree.atmos42002-07-101-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6695 b3059339-0415-0410-9bf9-f77b7e298cf2
* Markus Rechberger <revenger at shell.dnload.com>:atmos42002-07-101-0/+1
| | | | | | | XMapWindow (vo_x11.c didn't map the Window after using -wid 0x....) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6694 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vm -fs -zoom fix, set correct vm screenres in aspect code (similar to xv fix).atmos42002-07-101-5/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Destroy the old win when config is called multiple timesalbeu2002-05-241-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6181 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanup, gl/gl2 updated to use vo_windowarpi2002-05-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6096 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable bgr8alex2002-05-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6081 b3059339-0415-0410-9bf9-f77b7e298cf2
* bad fix removedarpi2002-05-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6064 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix Arpi's bugspontscho2002-05-121-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6060 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix Nil's vo_x11 bug (Nilmoni Deb <ndeb@ece.cmu.edu>)pontscho2002-05-111-20/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6046 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix some small bug and -rootwinpontscho2002-05-111-35/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6044 b3059339-0415-0410-9bf9-f77b7e298cf2
* some reorderarpi2002-05-091-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6026 b3059339-0415-0410-9bf9-f77b7e298cf2
* -zoom, -fs with x[11|mga|v] fix -- round twopontscho2002-05-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6017 b3059339-0415-0410-9bf9-f77b7e298cf2
* some bugfix, x[11|mga|v] ( fullscreen with more files )pontscho2002-05-081-12/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6014 b3059339-0415-0410-9bf9-f77b7e298cf2
* f