reimar
580302e179
Reduce number of OpenGL state changes when drawing OSD by first drawing alpha.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18722 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:43:41 +00:00
reimar
49192fddd6
Support UTF8 in OSD text
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18720 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:05:51 +00:00
reimar
c95cda1aa8
Missing free for malloced char_seq in OSD code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18719 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:04:40 +00:00
reimar
37ee8c83cb
Fix window position when changing videos while in fullscreen and for
...
window managers that modify position on Map. Oked by Alexander Strasser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18718 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 08:00:37 +00:00
reimar
2741e50f20
Document lscale/cscale in -vo gl:help message
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18698 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 20:30:16 +00:00
reimar
36c071082a
Do not use border for bicubic filter helper texture, since it will cause ATI
...
cards to switch to software mode and be unusable. Double texture size to avoid
this causing artefacts.
Note: yuv=6 will not be changed, so it will stay unusable with ATI cards unless
ATI starts supporting this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18696 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 19:55:20 +00:00
gpoirier
8e1c30007d
Fix a condition as suggested by Rich.
...
Although what was in the code was working in practice it was not formally correct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18695 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 08:00:48 +00:00
gpoirier
0f28386701
cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18694 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 07:58:06 +00:00
gpoirier
9f72c10255
Fixes suggested by Ivo, and failure under non-root operation improved. Original patch by Mark Sanderson < mmp AH kiora P ath P cx > (reworked a bit to try to meet out commit policy).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18693 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-13 07:57:06 +00:00
reimar
747dac29a9
Optimize bicubic filtering
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18689 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-12 16:25:05 +00:00
gpoirier
68a1de942c
moves invariant code (chiefly MMX register initialization) out of loops as well as eliminating some memory accesses within the inner loop.
...
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
Date: Mon, 12 Jun 2006 00:31:53 -0700 (PDT)
Subject [MPlayer-dev-eng] [PATCH] Loop invariant motion in libvo/osd_template.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18686 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-12 11:14:10 +00:00
reimar
04955c22fd
fix image adjustment (brightness etc.) for yuv=6
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18677 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-11 10:08:40 +00:00
reimar
497b2f561e
Add yuv to rgb conversion using a 3D lookup texture
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18656 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-08 19:02:56 +00:00
reimar
2a61cc675b
loadGPUProgram function to load fragment program with error checking and statistics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18654 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-08 18:50:11 +00:00
reimar
1b0b329dd7
Add bicubic texture scaling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18623 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 14:07:32 +00:00
reimar
0965bcee43
Reworked YUV2RGB fragment program setup in preparation for upcoming patches
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 13:24:54 +00:00
reimar
0d0dbd97d8
Avoid crash with e.g. -vo gl2:yuv=2 when no fragment program functions are available
...
Fix "ported" from vo_gl.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18585 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 20:21:25 +00:00
reimar
fbae2ba72b
Move/add checks to avoid crashes and make error messages less confusing
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18580 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 11:45:33 +00:00
reimar
a0a494e6f2
add (currently unused) lookup for glTexImage3D
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18579 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 11:26:33 +00:00
reimar
6f748d9621
more GL extension checks to avoid crashes with Mesa
...
(those crashes are against OpenGL spec though).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18578 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 11:23:51 +00:00
diego
4b64ef7e8e
Remove now obsolete .cvsignore files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
poirierg
ada9903693
Remove dead code, and do close smem file descriptor during un-init
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-30 23:18:05 +00:00
ivo
0bbd274d14
use mp_msg instead of printf
...
messages have to be moved to help_mp-en.h later
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18543 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-18 10:08:38 +00:00
ivo
bd9c94dc8b
include sys/io.h instead of asm/io.h so iopl() gets declared too
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18542 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-18 09:54:44 +00:00
ivo
8d22595b5c
only include sys/mman.h if HAVE_SYS_MMAN_H is defined
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18541 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-18 09:21:45 +00:00
gpoirier
47e525833d
Add YUY2 and back end scaling on S3 Virge chips in combination with fbdev.
...
Patch by Mark Sanderson < mmp AH kiora POIS ath POIS cx>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18536 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-17 20:56:49 +00:00
reimar
ae2eafeb55
do aspect correction of video size before calculating vo_dx and vo_dy.
...
fixes misplaced video e.g. with -aspect 0.3 (window is not centered but near left border)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18510 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 19:36:21 +00:00
reimar
6fd578b711
typo fixes: Extenstion -> extension
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18509 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 17:56:04 +00:00
reimar
0ae8d69733
show OpenGL extension string with -v, very helpful for debugging
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18496 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 23:06:18 +00:00
reimar
02f41cc9f6
glBindTexture might be called glBindTextureEXT as well
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18495 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 23:03:19 +00:00
rathann
97bd024609
Simplify condition, since both time and time_last are unsigned.
...
Patch by Rich Felker.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18486 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 18:34:02 +00:00
reimar
1571808a1a
Make sure black borders are drawn when switching videos with -fixed-vo.
...
Alexander Strasser at LinuxTag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18385 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-04 08:45:34 +00:00
diego
3f62423f42
Rename some misspelled and misnamed messages.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-28 23:06:42 +00:00
uau
bee52bbd10
Remove updating of vo_mouse_timer_const from the main loop and also
...
remove the variable itself. Convert code in x11_common.c and OSD timing
that depended on the variable to use real time instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-25 21:36:02 +00:00
rathann
741539bfc6
fix printf->mp_msg transition, 10l to Reynaldo and/or Attila
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18261 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 21:04:25 +00:00
attila
21dc86a871
fix typo X<->Y
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18248 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 14:03:58 +00:00
reynaldo
3a406e94d7
Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 07:20:34 +00:00
reynaldo
78417bf0dd
Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with lots of corrections
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 04:23:53 +00:00
reimar
19935f69bd
minor fixes: get rid of pointless inline attributes and some additional checks
...
fo ppm reading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18176 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-21 18:46:17 +00:00
reimar
d9d16656b2
forgotten update_xinerama_info prototypes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18175 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-21 18:42:55 +00:00
reimar
3a54af84ad
10l, aspect_save_screenres must be always called in update_xinerama_info.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18161 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 16:17:06 +00:00
reimar
2f9248f074
Register for window-manager delete window events and quit MPlayer.
...
slightly modified patch from Rickard Narstrom (rickard narstrom at gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18150 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-19 15:58:10 +00:00
reimar
7f3d9de556
Fix and improve xinerama support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-16 13:38:28 +00:00
reimar
02c0f0258f
new monitorpixelaspect option, esp. useful for xinerama setups with upcoming patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18106 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:50:33 +00:00
reimar
9e88af0e0c
10l, forgot to move aspect_save_screenres in last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18090 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 11:23:03 +00:00
reimar
c711faab44
correct fullscreen size
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18086 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-13 21:47:21 +00:00
reimar
9c188dbd5f
define MONITOR_DEFAULTTOPRIMARY if necessary, some mingw version seem to miss it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18082 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 20:17:07 +00:00
reimar
e29b0ea4e3
fixes and cleanup for windows fullscreen switching (restore old position,
...
fullscreen on current monitor).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18081 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 14:20:51 +00:00
reimar
d96b09cd64
fixes and cleanup for windows fullscreen switching (restore old position,
...
fullscreen on current monitor).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18080 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 14:11:26 +00:00
nplourde
fd290901bb
Replace deprecated function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-08 16:16:48 +00:00