Commit Graph

23031 Commits

Author SHA1 Message Date
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
diego a386897c24 FFmpeg Atrac 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23020 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 14:39:16 +00:00
diego 493c6539b5 Bethesda software VID video decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23019 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 14:38:29 +00:00
ivo ecbdb90970 test widths all down to one. this tests whether the scalers correctly switch
to plain C when width < unit size of assembly code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23018 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 14:22:42 +00:00
diego 1ac1a875e6 Merge both USE_DVDREAD sections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23017 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:58:04 +00:00
diego 4092da4dc0 Fix preprocessor conditionals: libdvdnav includes libdvdread and configure
enables libdvdread support if libdvdnav is found. There is no need to check
separately in the source with the preprocessor.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23016 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:56:24 +00:00
ivo 59a2d69862 skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
size of the units the MMX code processes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23015 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:27:59 +00:00
ivo 346fa283f5 skip MMX code in rgb32to16 if the size of the input is smaller than the
size of the units the MMX code processes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23014 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:26:22 +00:00
ivo a3284e8e5b skip MMX code in rgb32to15 if the size of the input is smaller than the
size of the units the MMX code processes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23013 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:24:49 +00:00
ivo f854708977 slightly faster rgb32tobgr32; avoid one add and one cmp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23012 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-17 20:38:17 +00:00
rfelker 1400ea6fbf big surprise.. uau broke gcc 2.95 as usual
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23011 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-17 07:06:44 +00:00
rfelker 73b5bbac29 5l: don't die when config file contains dvd options and dvd support is missing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23010 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-17 07:04:53 +00:00
ivo 589238fbe5 New implementation of rgb32tobgr32
The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23009 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 21:41:03 +00:00
reimar 5e00b162bb Ignore mp4a audio tag, it is meaningless since we get it for all mp4 files
regardless of actual audio codec.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23008 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 20:08:29 +00:00
diego d569ec1fd9 cosmetics: tabs --> spaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23007 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 13:54:43 +00:00
kraymer b30cf5173c minor fixes for r23004
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23006 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 11:17:55 +00:00
Gabrov 91cd4c9b56 synced with r23003
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23005 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 11:13:12 +00:00
kraymer 6fd6b56929 r22985: Move translatable strings from tv.c to help_mp*
r23003: Remove duplicated line


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23004 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 11:12:35 +00:00
voroshil fb3eba23c5 Remove duplicated line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23003 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 10:37:08 +00:00
ben 597f62d785 bad prototype for driver init function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23002 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-15 16:09:29 +00:00
ben a85094a239 u_int seems unknown under mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23001 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-15 16:08:40 +00:00
compn 64799dcf02 lowres supports some h264 files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23000 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-15 15:21:37 +00:00
voroshil 3a67e916d5 add entry for recently fixed "device" and "adevice" suboptions in *BSD BT848 tv
driver


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-15 14:43:06 +00:00