Commit Graph

2795 Commits

Author SHA1 Message Date
reimar 252f6d5093 Remove a useless XGetGeometry call, the X11 event handling already takes care of this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27918 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 17:41:30 +00:00
reimar 18fac2d947 Remove code from unused and since ages deprecated draw_frame function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27917 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 16:40:48 +00:00
reimar eb4f31f73b Remove vo_xv code that has been under #if 0 since ages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27916 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 16:36:39 +00:00
reimar 08367541bc vo_x11: do not replace the vo_gc created by the Gui.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27915 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 16:34:44 +00:00
reimar 60b5834701 Cosmetic changes to vo_x11 to reduce diff to vo_xv for future refactoring.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27914 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 15:50:47 +00:00
reimar e0a4769570 Cosmetics for vo_x11 control() to make it more similar to vo_xv.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27913 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 14:24:32 +00:00
reimar f850757249 Fix grammar of comment and sync it with vo_x11.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27912 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 14:21:02 +00:00
reimar 930c37da56 Fix ati-hack to work again with ATI 8.9 and later drivers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27908 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-14 10:31:15 +00:00
reimar 36dade7693 Use the proper IMGFMT_RGB24 and IMGFMT_BGR24 defines instead of
IMGFMT_RGB|24 and IMGFMT_BGR|24.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27907 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-13 19:05:07 +00:00
reimar 69c3d22e00 Fix Windows OpenGL -wid:
Disable the Window instead of explicitly passing on click events.
This also makes Drag-and-Drop work if the -wid window supports it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27904 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-11 19:21:36 +00:00
reimar 14eb21fce0 For fragment programs, check GL_MAX_TEXTURE_IMAGE_UNITS instead of GL_MAX_TEXTURE_UNITS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27899 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-06 18:39:37 +00:00
diego 69ad7080f9 Add #include <string.h> for memset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27896 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 21:00:29 +00:00
reimar c9f2a3636c Change OpenGL support to work on unmodified MinGW64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27879 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 16:37:45 +00:00
ben b086fadb3d Remove X11 backing store: this is now a useless flag.
Also, it is mandatory for Xserver 1.5.x (part of Xorg 7.4, shipped on all
Linux distributions starting from Oct. 08) and will be removed
from Xserver 1.6 anyhow ...

Patch by Stephane Marchesin (marchesin at icps dot u dash strasbg dot fr).

For more info, see long flame thread at:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-August/058323.html



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27849 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-29 22:03:36 +00:00
diego 33f7abfe2c Improve error message when screen width and height are not set.
patch by Christian Ohm, chr.ohm gmx net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27802 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 11:47:46 +00:00
faust3 fe44156133 fixed image format detection for 15 bit color depths
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27796 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-17 10:01:44 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego a290af1657 Move X11_FULLSCREEN definition to x11_common.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:19:36 +00:00
faust3 beef14987b fixed overlay x and y calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27782 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:13:26 +00:00
faust3 c27f719237 Honour differences between src and dst stride for packed yuv
patch by Laurent <laurent.aml at gmail.com>
 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27772 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 22:28:19 +00:00
diego 4d644f513c Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:23:55 +00:00
diego 9992cbd580 Surround conditionally used function with corresponding #ifdef, fixes:
libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27754 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:40:58 +00:00
diego 1d5af8c0da Remove redundant variable declaration, fixes the warning:
libvo/vo_winvidix.c:52: warning: redundant redeclaration of 'hWnd'
libvo/vo_winvidix.c:50: warning: previous declaration of 'hWnd' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27753 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:38:36 +00:00
diego 73357cc804 Add missing support for some multimedia keys to X11 backend code.
patch by Jorge Lopez, jorgelt gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27747 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 15:58:44 +00:00
cehoyos 22bb046adc Replace numeric constants by their defines.
Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27738 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 17:08:47 +00:00
diego e965e29432 Add missing #include for mplayer.h, fixes the warning:
libvo/vo_png.c:67: warning: implicit declaration of function 'exit_player'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27687 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 10:18:53 +00:00
reimar 10dc2e1429 Fix glAdjustAlignment parameter in glCreateClearTex
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27654 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 19:41:13 +00:00
reimar 0e99017da9 Change glCreateClearTex to use the same host data format as later uploads.
This fixes at least some of the massive performance problems the ATI drivers have.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27653 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 17:48:01 +00:00
ben 22322409dd add outdir sub-option to vo png
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27650 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 13:13:02 +00:00
reimar 7756839a14 Remove already disabled and probably long obsolete code that worked around an OpenBox bug.
Patch by Julien Danjou [ julien danjou info ]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27649 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 08:16:05 +00:00
reimar 0643fde0c3 Use already "prefetched" atoms instead of calling XInternAtom each time.
Patch by Julien Danjou [ julien danjou info ]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27648 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-20 08:14:28 +00:00
syrjala d4471e0a09 Update the copyright statement.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27626 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:46:43 +00:00
syrjala b129179e5d Cosmetics:
- Convert tabs to spaces
- Remove trailing whitespace
- Remove useless comments


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27625 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:45:17 +00:00
syrjala 7c94b44308 Don't limit BES to non-synced single buffering when CRTC2 is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27624 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:43:24 +00:00
syrjala af709594ea Rename some variables and change some strings to make the CRTC1 code clearer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27623 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:41:08 +00:00
syrjala 654db62437 Add CRTC1 support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27622 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:39:03 +00:00
syrjala 9a00106a58 Remove BGR24 support since it has never worked anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27621 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:35:05 +00:00
syrjala d45397dbdd Eliminate void * arithmetic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27615 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 11:47:02 +00:00
diego 4ca1fa0a08 Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 05:40:29 +00:00
diego 3311a2ae9c Replace casual GPL notices by proper license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 14:09:51 +00:00
diego aa598f4837 license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27540 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 14:06:26 +00:00
diego 8d275a4b8d license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27539 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 13:57:35 +00:00
diego 434a2063ed Remove wrong compilation instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27538 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 13:57:00 +00:00
diego 83651c8bfa Remove Windows-specific #ifdefs, the file does not compile on MinGW anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27513 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 22:34:27 +00:00
diego 0e970b49f0 Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET'
preprocessor condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27506 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-01 07:35:05 +00:00
diego 3af860b877 Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.
This is what it is called in FFmpeg and more consistent with other
names for similar conditionals. This fixes a potential compilation
failure on MinGW, as described in Bugzilla #1262.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27493 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 20:05:08 +00:00
reimar d54c1f0309 -geometry support for -vo fbdev.
Patch by Sander (thrill12 gmx net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27475 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 17:26:16 +00:00
diego 511729a3a2 Use '#include <poll.h>' instead of '#include <sys/poll.h>'.
It is the standard location as defined by the Open Group.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27463 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-14 15:54:53 +00:00
diego 20e0b5c831 100l: Rename missed preprocessor directives from a HAVE_ prefix to CONFIG_.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27462 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-14 15:48:11 +00:00
diego c324966059 Remove duplicated prototype for XShmGetEventBase(), because
- it is used in other places without checking,
- it is a workaround for a bug elsewhere,
- if the problem is real at all, there should be a proper configure check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27444 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-09 14:56:09 +00:00
ben f56b633045 Add NV12 colorspace support to VIDIX driver.
patch by Magnus Damm <magnus dot damm at gmail dot com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27430 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:28:28 +00:00
diego e0b1c9a6b7 Give a CONFIG_ prefix to preprocessor directives that lacked one and
change arbitrary prefixes to CONFIG_.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:20:50 +00:00
diego 5641e60698 Ahem, the MACOSX_FINDER_SUPPORT directive was renamed to MACOSX_FINDER.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27426 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:57:40 +00:00
diego 091d352d06 Rename font-related preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
diego 473e2824cb Rename all preprocessor directives related to Apple / Mac OS X.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 07:42:26 +00:00
diego 0a749ffdc5 Rename preprocessor directives related to image libraries.
Change a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:47:51 +00:00
diego 82f319af62 Change a bunch of X11-specific preprocessor directives.
Switch from a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 06:16:23 +00:00
ben bfd89d7610 Add video driver for Nintendo Wii/GameCube.
Original patch by Jing Liu <fatersh-1@yahoo.com>,
based on vo_fbdev.c and adapted to Nintendo's specific GPU.

This driver handles dedicated ATI GPU, which can be found in:
 - Nintendo GameCube (ATI LSI Flipper @ 162 MHz)
 - Nintendo Wii (ATI Hollywood @ 243 MHz)

Flipper and Hollywood chipsets are pretty similar, except from clock speed:
 - Embedded framebuffer is 2MB.
 - Texture cache is 1MB.
 - Vertex cache is 0.1 MB.
 - Framebuffer is YUY2, not RGB.
 - Best resolution is 480p (854x480)
          


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27407 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 20:04:03 +00:00
diego 02135001b4 Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego 52d358e3dc Set HAVE_DVB in configure when HAVE_DVB_HEAD is defined
instead of doing in redundantly in DVB-specific files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27401 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 21:39:29 +00:00
diego 429bf7a9dc cosmetics: typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27400 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 20:35:29 +00:00
diego e588ab056d Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:38:11 +00:00
diego d17f9943af Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
CONFIG_ prefix for configurable options, HAVE_ for system-dependent stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27391 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 20:28:58 +00:00
diego 3b31fa5717 Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:44:59 +00:00
diego 4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
reimar 983800b76f Enable runtime border/window decorations-toggling for Linux gl and gl2 vos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27338 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-22 18:46:07 +00:00
reimar 93f1a21bf7 Support -noborder with X11-based vos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27336 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-22 18:38:04 +00:00
reimar 839d579160 Make vo_x11_fullscreen not break vo_border (proper support still needs vo changes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27335 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-22 18:33:53 +00:00
reimar cd5cbd2c57 One more hack for PBOs on ATI cards.
Either I am doing something very wrong or they managed to code at about 1 bug per line...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27216 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 07:59:19 +00:00
reimar fcf655c887 Move at-hack code a bit up for further changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27215 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-06 07:53:36 +00:00
reimar 4615576358 100l: finally understood ATI PBO problem: width must be a power of two.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27201 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-04 21:19:27 +00:00
reimar 828212b59f More stride alignment is needed to work reliably on ATI cards :-(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27200 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-04 21:16:14 +00:00
reimar bbcf93faee 100l, bpp is bits per pixel, not bytes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27121 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-22 07:25:48 +00:00
ben b40e5e88d5 remove useless typedef againstfor VDXContext
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27116 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:28:50 +00:00
ben 144b0d05cd remove now useless vidixlib.h file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27111 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:16:34 +00:00
ben 2bd0d969a6 allow conditionnal compilation of yuv4mpeg video out.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27103 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 19:33:32 +00:00
diego b158675b6d Add missing string.h #include for memcpy prototype;
fixes warnings with 'make checkheaders'.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27076 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-16 08:45:01 +00:00
diego c31a0a07c7 Move message about which adapter is used to verbose mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27063 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-15 12:13:29 +00:00
diego f7867644cb Add parentheses to expression to avoid the warning:
libvo/x11_common.c: In function 'xss_suspend':
libvo/x11_common.c:1618: warning: suggest parentheses around && within ||


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-15 11:11:39 +00:00
diego 4147306650 Give name to font_desc struct, patch by Bryan Henderson, giraffedata gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27045 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-09 09:37:25 +00:00
diego 6c852424d0 Slightly reduce VIDIX video output verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27040 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 21:51:00 +00:00
ben 4f99e19300 declare some functions as static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27014 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 12:02:56 +00:00
ben 6212ebbcae remove useless vidix versioning stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27009 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 11:43:57 +00:00
ben 4e08014790 remove duplicated code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27008 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 11:38:11 +00:00
ben b7391dde39 Drop some useless parameter from vidix init routine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27007 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 10:56:42 +00:00
ben de97a24d3f Drop support for external libvidix (unmaintained and not up-to-date)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27006 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 10:54:07 +00:00
diego 7f68edbc37 Remove unnecessary mangle.h #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26982 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-04 09:44:12 +00:00
diego 90c5b9d782 Fix typo in string name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26900 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-27 13:30:50 +00:00
reimar 89d2a4960b Render everything as early as possible, doing as little as possible in
flip_page. Can improve A-V sync when playing a video that uses little
CPU with GPU filtering that is very slow.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26874 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-25 11:26:09 +00:00
reimar 552052ac31 Reorder flip_page to make moving around do_render call easier
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26873 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-25 11:11:32 +00:00
reimar e1f2c361a3 Split flip_page function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26872 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-25 11:06:51 +00:00
reimar 6701227e16 Simplify yuv to rgb conversion matrix stuff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26871 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-24 12:10:08 +00:00
reimar 5ba240c875 Cosmetics: align
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26870 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-24 11:31:49 +00:00
reimar 54f9e2b03d update doxygen comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26869 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-24 11:25:57 +00:00
reimar 6689fe364e Add a filter strength parameter for blurring/sharpening scalers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26868 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-24 11:19:38 +00:00
reimar dbe3c2994a Forgotten changes to gl_common.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26867 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-24 11:04:18 +00:00
reimar 056b5b9457 Use a struct instead of a huge and further growing argument list.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26866 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-24 11:03:00 +00:00
attila abd22b8f48 make use of the new MGA_VID_VERSION ioctl to check
whether the installed driver has the version
we expect it to have.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26863 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-23 20:18:06 +00:00
reimar 3e3a2a4e05 Saner handling of VOCTRL_PAUSE/VOCTRL_RESUME
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26855 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-22 20:21:19 +00:00
reimar 2f0fd9d6cc Simplify equalizer handling for vo gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26854 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-22 20:09:44 +00:00
diego ad603f5559 cosmetics: Remove useless parentheses from from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 08:33:27 +00:00
diego 8ba8cac28d Use standard license headers with standard formatting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26771 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 17:22:53 +00:00
ben 531000e6ae Add a new suboption to -vo xv and -vo xvmc that allows selection
of XVideo adaptor to be used (instead of default one, which is #0).

This is useful for example if you'd rather like to use the original
Overlay renderer of your GPU instead of the texture blitting engine
(which is usually default), which is number one cause of nasty
video tearing effects.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26762 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-13 17:52:25 +00:00
reimar f30961d414 Add force-pbo suboption for faster OpenGL output.
Based on a patch by Sven Gothel sgothel-jausoftcom.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26713 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 12:21:37 +00:00
reimar c5d4e7908d Add ati-hack suboption that aligns the lines to 32/64 bytes for PBO transfers
to avoid what is probably a bug in the driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26709 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 11:48:17 +00:00
reimar b096da11ba vo_gl -dr actually works fine with non-readable MP_IMGTYPE_IP and MP_IMGTYPE_IPB.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26656 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 14:40:42 +00:00
reimar a35ef734c1 Fix 100l: mpi->height must be used to calculate required memory, not mpi->h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26654 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 14:11:19 +00:00
diego 65b752b95b Add compilation rule for libvo/aspecttest and (hackishly) fix linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26615 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 14:29:17 +00:00
diego 4e2837a2e8 Merge libvo/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26509 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-23 10:07:50 +00:00
attila 530df550e4 revert commits 26437-26439
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26468 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-19 09:58:01 +00:00
attila d08bf2fc44 cosmetics: fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26439 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 11:15:08 +00:00
attila f5ccd50211 move the #ifdef HAVE_XINERAMA to enclose the whole function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26438 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 11:12:24 +00:00
attila d48f39e68c Always calculate the xinerama screen mplayer is on.
Bug reported by thomas.lindroth(<at>)gmail.com



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26437 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 11:08:59 +00:00
diego e59291d5a9 Replace "all rights reserved" statement with standard GPL license header.
Done with the permission of Andreas Ackermann, the author of the file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26432 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 09:09:36 +00:00
diego 27d308ae44 Remove -I CFLAGS hack, -I../libavcodec is no longer in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26372 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 17:14:43 +00:00
diego 72cc06352f Fix nonsensical license header, mpeg2dec is not GNU Make.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26361 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 11:31:50 +00:00
reimar 9761bde49c Change I_TYPE -> FF_I_TYPE to fix compilation.
The whole functionality should probably be used to libavcodec though.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26322 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-03 17:19:23 +00:00
diego 5e1457d4fe Use __AMIGAOS4__ instead of AMIGA, like everywhere else.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26246 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:50:12 +00:00
diego b5fb7e831e Add a separate definition for quartz.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26245 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:49:14 +00:00
diego f6afdbca59 Consistently use __APPLE__ instead of MACOSX as preprocessor condition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26243 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:23:48 +00:00
diego 5e49bb2dd2 MACOSX_COREVIDEO --> corevideo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26241 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:19:38 +00:00
diego 37ea342f85 #include config.h before all other headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-14 16:46:13 +00:00
reimar 5979388565 Fix and simplify lscale=2 (bicub_x) scaler, produced funny
noise on ATI cards due to cdelta.y never being set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26227 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-12 15:17:06 +00:00
iive ad76dcfb58 Fix wrong check for vidix usage.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26206 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-09 18:49:31 +00:00
iive 66fafa133f Don't use void * arithmetic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26205 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-09 10:35:45 +00:00
iive ea92f386c6 Handle vga_init() error and output error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26204 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-09 10:34:04 +00:00
diego c5001347c2 This header uses parts of stdint.h, so #include it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26195 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 20:25:26 +00:00
diego d04df10807 Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26194 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 20:07:15 +00:00
diego 01b301602c Remove unnecessary #ifdef nesting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26192 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 17:20:04 +00:00
diego c03c4b5431 Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:31:51 +00:00
diego 21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego 8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
diego 878e9ef324 Add missing multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 00:12:02 +00:00
diego 2fa781bcfe Consistently use filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26043 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 00:10:33 +00:00
diego 77eb726c3d Remove pointless #ifdefs around extern declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-20 08:51:53 +00:00
uau 1a3fb6c21e libvo: change asm syntax to use ASMALIGN and " # nop"
Change ".balign 16\n\t" to ASMALIGN(4) and "/nop" to " # nop". The new
version is what other code in MPlayer uses, and works with old
assembler versions like that used on OS X.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26005 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 21:52:34 +00:00
cehoyos e78f2ea6dc Revert accidentially committed line of r25994.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25995 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:39:49 +00:00
diego 835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
reimar 7a6d302f42 Try harder to find OpenGL functions on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25985 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:37:47 +00:00
reimar 19578c6960 Slightly document alpha for OSD color
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25984 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:01:34 +00:00
reimar 2d79c4c109 Support alpha for vo gl osdcolor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25983 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:00:01 +00:00
reimar 875d963649 Remove an extern for a variable that no longer exists
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25982 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:23:21 +00:00
reimar 8c1a56e57a Remove left-over extern definitions that should not be there
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25981 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:21:25 +00:00
reimar b8abe420bc Make some variables static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25978 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:58:05 +00:00
reimar 6201d6027d Avoid a useless extra pointer variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25977 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:55:15 +00:00
reimar 7c763876c7 Do not uselessly erase background, OpenGL will take care of drawing everything.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25976 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:47:54 +00:00
reimar 2272b20c3d Avoid -wid message processing blocking MPlayer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25974 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 16:49:24 +00:00
reimar c5decb0718 Forward mouse messages to -wid Window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25972 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 10:01:25 +00:00
reimar a09d0bac78 Make sure the -wid window does not get notified when we destroy our attached child window.
Previous behaviour seems to cause QT to do something stupid which makes
DestroyWindow hang (SMPlayer is an application where this happened).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25966 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 14:47:10 +00:00
reimar 83834ac968 Hack: Create a child window for Windows OpenGL with -wid, since (esp. nVidia)
drivers have problems drawing in other processes' windows. 

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25965 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-09 14:14:35 +00:00
reimar 398e1c1595 Add aspect_fit declaration missing for w32_common.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25959 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-07 21:04:17 +00:00
reimar 8b068da7ad Implement keepaspect for Windows OpenGL vos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25950 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-02 17:22:07 +00:00
reimar 949787e410 Make aspect adjustment calculation simpler and more flexible.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25949 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-02 17:21:19 +00:00
reimar ea8ae01ee0 Redraw display on toggling border
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25944 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-01 12:22:12 +00:00
reimar 6d879f70c7 Always redraw video on resize.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25943 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-31 00:07:28 +00:00
reimar 2b9d7e2bdb Avoid a MANGLE, there is no register pressure and the generated code
should be no worse.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25935 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-30 18:52:59 +00:00
reimar 174aeba480 Allow for larger fragment programs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25913 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-29 18:00:20 +00:00
diego fe9ec3ffdd Consistently use uppercase filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 01:32:52 +00:00
diego f7906235ad Fix illegal identifiers, names starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25889 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:01:19 +00:00
reimar fbae3928cd Allow independent scaling of vo_font and sub_font.
Patch by Guillaume LECERF (foxcore gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25879 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 15:14:02 +00:00
reimar e9548a5aec Add a few const attributes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25838 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 18:54:14 +00:00
reimar 2b316697f3 Avoid some pointer conversion warnings (the code is messy but not wrong)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25815 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:50:50 +00:00
reimar b34d4097bb Add missing vo_w32_border prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25814 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:41:50 +00:00
reimar da28fa2ab2 Fix some function types from unspecified to empty argument list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25813 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:40:15 +00:00
reimar b231e1cc32 Remove redundant declarations (already in video_out.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25812 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:38:18 +00:00
reimar 5558291ae3 -panscan should also work for right and left borders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25810 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 18:12:10 +00:00
reimar 51d433ec9b Some reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25809 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 18:10:06 +00:00
reimar ae813d2b37 Fix a coefficient for lscale=5 OpenGL mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25797 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 14:20:56 +00:00
reimar ce3b1606ab Fix warning:
vo_directfb2.c:553: warning: passing argument 2 of ‘dfb->EnumVideoModes’ from incompatible pointer type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25792 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:25:41 +00:00
reimar db95698364 Avoid void* arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:17:04 +00:00
reimar b5186a059e Simplify and silence lots of warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25790 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 11:09:33 +00:00
reimar 34565b09a6 Fix using both lscale and cscale 4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 10:10:05 +00:00
reimar 6a6c3d8cbc Add a fragment program for 5x5 unsharp masking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25786 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 19:05:29 +00:00
reimar 932f9595bb Remove leftover backslash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25785 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:38:02 +00:00
reimar 3521950ba9 Simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:37:18 +00:00
reimar 09e3d23298 Use the same unsharp filter template for 2D and RECT textures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25783 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:34:10 +00:00
reimar ab2518c5fe Small typo in message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25782 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 18:16:32 +00:00
diego e4f2123310 Remove broken test program that likely never worked.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25781 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-18 01:57:40 +00:00
reimar da44633714 Fix OpenGL unsharp filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25773 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-16 20:36:01 +00:00
reimar 45c0df9bcb Create/allocate conversion textures before scaler textures.
Allows overriding gamma ramp texture also when using a non-trivial scaler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25758 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 18:14:00 +00:00
reimar 1fbd767ef6 Add experimental unsharp-mask OpenGL scaler. Certainly not yet perfect.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25757 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 17:59:20 +00:00
reimar 6fed08aee3 Document vo gl lscale=3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25756 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 17:54:48 +00:00
reimar 649027b817 Add a forgotten case to create_scaler_textures, avoids an incorrect warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25755 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-15 17:51:21 +00:00
reimar 058d1f0886 Fix the bug where the window would become smaller each time vo_ontop is toggled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25747 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 21:01:30 +00:00
rik 1045dcfb00 fix bug in error message (found by Diego through a compiler warning)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25703 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 00:10:02 +00:00
reimar a84db25ae4 Use a transform_color function to reduce code duplication
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-12 16:30:41 +00:00
reimar 7172339ff9 Write functions used by send_mpeg_*_packet may _not_ modify data
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25701 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-12 16:05:04 +00:00
uau b5aa5692cd Remove unnecessary <signal.h> includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 01:17:49 +00:00
ulion 5ad67a4f7c Set freetype flag in the font_desc_t when using a freetype font.
Patched by Guillaume LECERF <foxcore A gmail P com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25640 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 13:29:13 +00:00
reimar 91ba3d6531 Remove some now unused screensaver stuff code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25638 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:22:03 +00:00
reimar 3259a15f61 Remove most of the messy screensaver code in favour of only XResetScreenSaver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25637 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:18:27 +00:00
reimar f9b1151801 Use a screensaver_off variable to save current state and avoid
uselessly disabling twice.
Also needed for a future patch.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25636 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:18:17 +00:00
diego f4ac29f285 Remove changelog from file header, we have revision control for this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25624 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 12:58:02 +00:00
diego 64be034b0b cosmetics: Whitespace changes, add comments to some #endif directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25623 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 12:57:26 +00:00
diego e88c64c746 Relicense file to GPL v2 or later with the permission of Rudolf Marek,
the author and update his email contact address.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25591 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 23:35:19 +00:00
nicodvb 1b3cb7845a when :card isn't specified by the user search the first available card
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25586 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 20:34:48 +00:00
diego 2b6af2000b Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 21:35:58 +00:00
diego b88dc34b6f consistency cosmetics: Do not #define multiple inclusion guards to 1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25577 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 20:11:08 +00:00
diego d53ff2ca72 Consistently use just the name of the #ifdef directive in #endif comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25574 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 20:00:20 +00:00