summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix -fs and 'f'pontscho2002-05-061-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6000 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix xmga fs, resize to movie size and mouse auto hide + dgapontscho2002-05-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5956 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix aspect ratio handlingpontscho2002-05-031-57/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5946 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgalbeu2002-05-021-19/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5936 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreen (?)pontscho2002-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5836 b3059339-0415-0410-9bf9-f77b7e298cf2
* -rootwin fixed, keys work, mouse doesn'tarpi2002-04-241-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5823 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround yv12 vs. i420 'bug' of swscalearpi2002-04-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5710 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playlist bug with gui and rewrite mousecursor show/hide codepontscho2002-04-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsarpi2002-04-131-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
* VFCAP addedarpi2002-04-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5567 b3059339-0415-0410-9bf9-f77b7e298cf2
* check depth for direct renderingarpi2002-03-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5417 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix uninit() crash if no config() callarpi2002-03-311-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix resizing when zoom is used and image size changes between frames.atmos42002-03-271-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5369 b3059339-0415-0410-9bf9-f77b7e298cf2
* print meaningfull error message instead of "hmm, arpi said that isnt used...michael2002-03-211-4/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a (more or less dummy) reference to vo_format_name(), to pull thejkeil2002-03-171-0/+2
| | | | | | | | | | | img_format.o object from libvo.a on solaris. The typical set of libvo video drivers on solaris didn't reference this symbol, but a library at the end of the link command for mplayer requires this function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5164 b3059339-0415-0410-9bf9-f77b7e298cf2
* added directrendering support and better query_formatalex2002-03-161-10/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5131 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changes in libvo's X11 supportpontscho2002-03-081-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4994 b3059339-0415-0410-9bf9-f77b7e298cf2
* yuy2 support disabled to workaround stupid colorspace selectionmichael2002-03-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4906 b3059339-0415-0410-9bf9-f77b7e298cf2
* Corrections to position saving/restore under vo=X11.atlka2002-02-281-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4890 b3059339-0415-0410-9bf9-f77b7e298cf2
* ehh, return error if cannot open displayalex2002-02-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4828 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bugfix in x11_common.c mainly. Don't screw up the display name,albeu2002-02-231-3/+7
| | | | | | | | | don't forget to close the display (vo_xv) and to reset vo_depthonscreen when we have destroyed the window and closed the display !!!!! Open the display before using it (vo_x11) !!! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4816 b3059339-0415-0410-9bf9-f77b7e298cf2
* using vo_dx, vo_dyalex2002-02-221-31/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4814 b3059339-0415-0410-9bf9-f77b7e298cf2
* clear the window if resized but no scaling used. Enable runtime fullscreen ↵alex2002-02-221-6/+8
| | | | | | selectin when no zooming available git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4809 b3059339-0415-0410-9bf9-f77b7e298cf2
* mondom fix bazmeg.pontscho2002-02-221-12/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4806 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix nexus's key bug :) 10l, sorry :)pontscho2002-02-221-31/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4805 b3059339-0415-0410-9bf9-f77b7e298cf2
* unscaled yuv2rgb fix for big-endian systemsmichael2002-02-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4792 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix return value of VOCTRL_FULLSCREENatmos42002-02-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4791 b3059339-0415-0410-9bf9-f77b7e298cf2
* changes in fullscreen/window switching code to obtain returning toatlka2002-02-211-4/+8
| | | | | | | old window position (icewm aware) while using -vo x11 -zoom git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4781 b3059339-0415-0410-9bf9-f77b7e298cf2
* I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'nick2002-02-171-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4738 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for runtime fullscreen switchingalex2002-02-171-1/+51
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4735 b3059339-0415-0410-9bf9-f77b7e298cf2
* 101 (NULL->srcW, NULL->srcH)michael2002-02-161-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4727 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid allocating a dummy scaler as debug/info messages will only be printed ↵michael2002-02-151-3/+8
| | | | | | for the first allocated scaler unless -v -v is used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4719 b3059339-0415-0410-9bf9-f77b7e298cf2
* bugfix for width % 2 != 0michael2002-02-141-6/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4698 b3059339-0415-0410-9bf9-f77b7e298cf2
* default is allways nozoom again (specify -zoom if u want the sane behavior)michael2002-02-121-3/+5
| | | | | | | call freeSwsContext() on uninit() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4678 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor rounding bugfix in the aspect stuffmichael2002-02-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4663 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fs and or -vm default is nozoom, -zoom does the expected thingmichael2002-02-111-8/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4662 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added new input mouse support in x11 voalbeu2002-02-111-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4659 b3059339-0415-0410-9bf9-f77b7e298cf2
* allways use swScalermichael2002-02-101-119/+54
| | | | | | | keep aspect ratio during resizeing and fullscreen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4642 b3059339-0415-0410-9bf9-f77b7e298cf2
* bgr15 / bgr16 input support (with -zoom)michael2002-02-101-7/+15
| | | | | | | stride % 8 == 0 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4628 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000hl to Holm... control MUST BE static...arpi2002-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
* query_ stuff replaced by new control() - patch by David Holmarpi2002-02-091-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
* swScale internally uses yuv2rgb now if possiblemichael2002-02-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
* checking output of getSwsContext*()michael2002-02-051-10/