reimar
04d6de5ee2
Doxygen documentation for w32_common.c
...
Patch by Georgi Petrov (gogothebee gmail com) with several modifications by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27954 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-18 12:23:23 +00:00
reimar
330e951cf0
Remove a useless XGetGeometry call, the X11 event handling already
...
updates vo_dwidth/vo_dheight.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-17 13:12:01 +00:00
reimar
d12df3ab12
Get rid of (besides useless assignments) unused XSizeHints variable
...
in vo_xvmc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27942 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-16 17:16:08 +00:00
reimar
8cc27a3561
Remove explicit setting of vo_ontop since that is already done by vo_x11_create_vo_window
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27937 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 23:09:31 +00:00
reimar
f5ce35ec8c
Remove a duplicated vo_x11_selectinput_witherr
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27936 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:49:49 +00:00
reimar
554ce917df
respect -vf dsize etc. also for -rootwin, just like vo_xv does.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27935 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:48:41 +00:00
reimar
936420385a
Sync with vo_x11: make sure we get expose events even when drawing to the root window.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27933 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 22:33:36 +00:00
reimar
39e42b26e9
Remove a nonsensical "else" for the video mode switching case.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27929 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:14:09 +00:00
reimar
4fa4e8744d
include limits.h for INT_MAX.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27927 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:06:25 +00:00
reimar
55175c457d
Remove now unused variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27926 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:03:21 +00:00
reimar
21040bb951
Use vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height.
...
This fixes the -vm bug that the created window is too small.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27925 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:58:14 +00:00
reimar
4b9ee2e206
Simplify vo_vm_switch and vo_vm_close, everyone was using the (almost) same
...
boiler-plate code with them, just with different bugs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27924 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:56:25 +00:00
reimar
c8d9e2eb60
Set modified window position and monitor aspect in vo_vm_switch instead of in
...
individual vo drivers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27923 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:28:35 +00:00
reimar
f2bceedc49
Get rid of (besides useless assignments) unused XSizeHints variable
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27922 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:14:03 +00:00
reimar
ebff32237b
Set modeline_width/height to sane values in vo_vm_switch even when
...
the XF86VidMode extension is not available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27921 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 18:11:10 +00:00
reimar
8b0b5bee77
Cosmetics: remove useless "extern"
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27920 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 17:48:27 +00:00
reimar
87bee02b19
Replace some of the different inconsistent XGetGeometry uses by a
...
vo_x11_update_geometry function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27919 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 17:45:55 +00:00
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