1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
Commit Graph

23253 Commits

Author SHA1 Message Date
ben
60efb1d01a useless else case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23070 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 15:27:49 +00:00
ben
d57a87fc45 removed never called function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23069 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 15:26:51 +00:00
ben
cd427281af declare variables as static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23068 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 15:26:24 +00:00
ben
64fc0d3d99 simplified depth definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23067 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 15:24:25 +00:00
ben
232f7407ee removed useless code from vidix drivers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23066 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 15:18:48 +00:00
reimar
2437bc0ca3 Suggest svn diff command that does not show most cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23065 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 15:11:47 +00:00
ben
63228019c0 updated vidix files headers whenever it's possible to have a clear GPL statement
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23064 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 14:05:41 +00:00
ben
ca92dfd013 kill a few warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23063 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 13:28:54 +00:00
ben
be94988aa9 updated the ati vidix driver with the one from upstream vidix, it now supports much more GPUs (including all Radeon > 9600 and X series)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23062 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 13:25:50 +00:00
nicodvb
c7a0712f30 after a DVDNAV_VTS_CHANGE event report the title being played
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23061 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 10:27:44 +00:00
voroshil
cc796852ec r23028: with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23060 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 01:55:47 +00:00
Gabrov
e7ff77621b synced with r23028
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23059 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 18:14:49 +00:00
ben
19aaa01c64 fix for mingw: u_long becomes unsigned long
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23058 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 12:04:49 +00:00
ben
5aebc32966 added a new value for alpha colorkey (will be needed by further ati vidix driver upgrade)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23057 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 12:03:41 +00:00
ben
9a2e3aaff7 u_char is broken under mingw, use unsigned char instead, fix by aurel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23056 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 12:00:41 +00:00
ben
911503efe6 better fix for r23001, u_int becomes unsigned int, dont force it to uin32_t
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23055 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 11:59:30 +00:00
eugeni
9dbd459f7e Deallocate glyphs in a separate loop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23054 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 11:02:49 +00:00
eugeni
2b1fb8c4ef Always deallocate glyphs. Fixes a memory leak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23053 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 10:56:28 +00:00
eugeni
02966ab87d Reset outline glyph cache when configuration changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23052 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 10:43:19 +00:00
eugeni
d5f828f347 Scale camera distance.
Otherwise perspective does not look the same in fullscreen.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23051 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 10:42:10 +00:00
compn
36fcf863ea update year of mencoder version line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23050 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-21 03:20:13 +00:00
eugeni
de9f870522 Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23049 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:25:30 +00:00
eugeni
cd298098af Cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23048 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:23:32 +00:00
eugeni
e8b8c0fe0e Allow caching of rotated glyphs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23047 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:23:00 +00:00
eugeni
7c281a626d Add shift_[xy] (vector that is added to the glyph before transformation) to
bitmap glyph key. Result of rotation depends on them because of perspective
transformation. They are only set when some rotation take place.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23046 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:19:23 +00:00
eugeni
fda46c092d Fill bitmap_hash_key during parsing stage, call get_bitmap_glyph() much later.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23045 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:16:29 +00:00
eugeni
f3375f1b4d Remove bbox and advance vector from bitmap cache.
They are now available from glyph cache.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23044 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:14:12 +00:00
eugeni
35cc43696d Store outline_glyph (glyph border) in glyph cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23043 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:13:34 +00:00
eugeni
05739aa046 Cosmetics: reindentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23042 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:12:19 +00:00
eugeni
b9809c1e13 Because of the outline glyph cache it is now possible for glyph_info_t to have
both non-zero glyph and bitmap at the same time. In that case, bitmap should
not be generated anew.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23041 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:11:39 +00:00
eugeni
d9741a0278 Make get_*_glyph return void.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23040 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:10:33 +00:00
eugeni
1c2b174029 Move outline glyph generation to a separate function, using outline glyph
cache.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23039 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:09:48 +00:00
eugeni
49a99955b7 Oops, fix compilation broken in r23037.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23038 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:09:06 +00:00
eugeni
d2d2e12a3c Collect hit/miss statistic in hash map, and print in -v mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23037 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:06:12 +00:00
eugeni
5b0e4436fc Add outline glyph cache (unused yet).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23036 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:04:21 +00:00
eugeni
6c412d239b Rename glyph cache to bitmap cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23035 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:02:20 +00:00
eugeni
4408714100 Add generic hash map implementation.
Reimplement both font cache and glyph cache on top of it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23034 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 23:00:30 +00:00
eugeni
f7b1538978 A meaningless cosmetic change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23033 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 22:57:55 +00:00
eugeni
36870a2a52 Add perspective projection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23032 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 22:56:42 +00:00
eugeni
cf9aff424f Applying transformation matrix to the glyph and the shift vector separately is
incorrect. Instead, it should be applied to translated glyph.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23031 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 22:55:28 +00:00
eugeni
3cbdb85046 Cosmetics: reindentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23030 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 22:51:19 +00:00
eugeni
1a1ba22f93 Disable caching of rotated glyphs.
The following commits will add perspective distortion to the glyphs rotated
with \frx and \fry. Somewhere along the way correct caching of such glyphs
will become impossible, but in the end everything will be fine.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23029 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 22:49:48 +00:00
nicodvb
dfd0190a6d with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23028 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 21:49:49 +00:00
diego
3b97b07397 Intel's Conroe-L makes use of extended models, so adjust CPU detection
routines accordingly.
patch by Zuxy Meng, zuxy.meng gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23027 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 18:57:09 +00:00
voroshil
1b06491e1f r22985: Move translatable strings from tv.c to help_mp*
r23003: Remove duplicated line


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23026 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 14:23:27 +00:00
ptt
5d7a4eb34e Sync'd up to r23003
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23025 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-19 16:29:04 +00:00
reimar
4e411b9089 Mono audio should be supported by NAS, too.
Patch by Erik Auerswald {auerswal -at- unix-ag <dot> uni-kl de}


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23024 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-19 16:28:59 +00:00
compn
b68346f582 update release number and add atrac3 in wav format, works on /samples/a-codecs/atrac3/sample.ATRAC3.66kbps.44100Hz.Stereo.wav
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23023 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 19:25:52 +00:00
ivo
79b2f1581d preserve alpha channel when converting rgb32 to bgr32 in plain C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23022 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 16:40:58 +00:00
ivo
8c86c5cc58 fix red_15mask and green_15mask. the previous values were wrong and caused
some SIMD functions to output wrong data.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23021 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 16:40:07 +00:00