1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00
Commit Graph

2062 Commits

Author SHA1 Message Date
eugeni
93647f42c5 Make utf8_get_char non-static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18940 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 18:04:56 +00:00
reimar
6d8ee8674d Convince windows to allow window sizes > screen size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18932 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 11:14:25 +00:00
vayne
c5cf04f543 Initial win32 gui release.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18918 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 01:51:31 +00:00
nicodvb
2140d21afb inclusion of md5.c based on USE_LIBAVUTIL_SO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18913 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-05 20:28:34 +00:00
reimar
f07aeccfc7 Do not assign same texture number to GL_TEXTURE_2D and GL_TEXTURE_RECT,
this can also cause problems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18901 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-04 16:31:45 +00:00
reynaldo
132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
ivo
3d00ad427d remove obsolete md5sum files. libavutil's implementation is used now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18888 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 20:23:48 +00:00
ivo
c5a07578a9 use libavutil's md5 implementation instead of local imported copy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18887 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 20:22:59 +00:00
reynaldo
9d9a15d185 rm unnecesary casts from void* - part 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
reimar
efd13273f9 Get rid of unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18877 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 10:59:21 +00:00
reimar
0da07e3724 Make sure all texture units have a different texture bound.
Should fix weird behaviour with e.g. yuv=4:lscale=1


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18876 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 10:58:32 +00:00
diego
bc93e25299 Move conditional FreeType support compilation to the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18869 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:41:05 +00:00
lucabe
cc30aae17b Move postproc ---> libswscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:00:31 +00:00
attila
1f9d6c4897 10l
fix 1023 <-> 1024 typo


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18819 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 16:18:50 +00:00
attila
113b85e0b7 fail with an error if the source resolution is larger than 1023x1023
when using -vo (x)mga


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18815 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 15:50:19 +00:00
reimar
db92e7a6b7 remove pointless and sometimes incorrect lookupTex stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18791 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 17:05:08 +00:00
reimar
42efe0d376 reduce number of texture indirections to support older cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18790 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 17:02:42 +00:00
diego
f1682d9ec3 CVS --> Subversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18788 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:49:52 +00:00
diego
57f3213401 CVS --> Subversion in copyright notices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
lucabe
f4091e4791 Software Scaler headers usage cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18749 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-18 10:59:23 +00:00
reimar
320bcf39be Make header include order more similar to vo_gl.c
Patch by Erik Lunchpail (erik_27can at yahoo com) to ease win32 gui compilation


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18745 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-17 19:43:13 +00:00
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