Commit Graph

28815 Commits

Author SHA1 Message Date
reimar b33adcdd02 Refactor smalltex/tinytex EOSD optimization in vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28849 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 12:56:13 +00:00
reimar b6d7a2552c Remove several useless casts from af_resample
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28848 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:47:51 +00:00
reimar c2574a6b0a Free af->setup and contents in af_resample uninit function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28847 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:46:06 +00:00
reimar 37a09a25ff Use calloc to allocate the af_resample ring buffers, reportedly using
non-zeroed buffers can cause initial noise, see -dev-eng:
[PATCH]: Add missing memset after malloc in libaf/af_resample.c
Wed, 4 Mar 2009 15:29:30 +0800


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28846 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:42:45 +00:00
reimar 33ca05bce9 Use a single malloc to allocate space for the circular buffers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28845 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:39:13 +00:00
reimar 1dd64224c4 Comment typo fixes for af_resample
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28844 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:31:18 +00:00
reimar 175cfc985c Simplify EOSD code by rendering it in VOCTRL_DRAW_EOSD instead of genEOSD,
just like vo_vdpau.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28843 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:53:30 +00:00
reimar eb761e688f Remove duplicate OSD drawing introduced due to a conflict between r28840 and r28839.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28842 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:50:43 +00:00
reimar 3be5ebde87 Swap order of VFCTRL_DRAW_EOSD and VFCTRL_DRAW_OSD so that the EOSD is drawn
below the OSD and document possible issues when this is changed.
Patch by Uoti (though originally intended for a different issue) with extra comment by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28841 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:45:49 +00:00
reimar d4748622fa As for vo_gl, do not rely on draw_osd to render EOSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28840 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:39:58 +00:00
greg 658bcd5e35 Draw EOSD with VOCTRL_DRAW_EOSD instead of along with OSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28839 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:38:27 +00:00
reimar 397c4db88b Do not rely on draw_osd to render the EOSD, instead draw it already at the
end of genOSD.
Fixes that the EOSD was drawn one frame too late.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28838 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:33:35 +00:00
greg 27b512e1f5 Fix \be blur start position.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28837 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 09:20:14 +00:00
greg 25abe9651d Raise max. number of \be applications to 100, introduce #define for it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28836 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 09:20:09 +00:00
greg d303d39798 Replace magic numbers (for subpixel accuracy masking) with a define.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28835 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 01:26:44 +00:00
greg d4423f7516 Use blur with kernel [[1,2,1], [2,4,2], [1,2,1]] for \be.
This is faster than gaussian blur and similar to vsfilter.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28834 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 01:17:05 +00:00
diego e7cb3e94b6 Sync latest set of changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28833 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 00:47:03 +00:00
diego d2a84bde4f Sync local changes file with #ifdef --> #if conversion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28832 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 00:41:09 +00:00
diego 848e6ff668 Sync local changes file with #ifdef --> #if conversion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28831 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 00:10:17 +00:00
diego 6ec76ef976 Add support for extracting the release version number from a VERSION file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28830 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 23:36:28 +00:00
diego 1005952a8b Only add -Ilibdvdnav to the CFLAGS of the files that require it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28829 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 22:19:47 +00:00
reimar 2f2b271649 Sleep based on get_delay in ao_win32 uninit instead of a loop.
The loop for an unknown reason could rarely cause an endless loop.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28828 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 22:07:06 +00:00
diego 3e40788623 Simplify CFLAGS generation for individual targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28827 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 21:27:05 +00:00
greg d4fbe9bc8b Update libass changelog.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28826 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 21:16:21 +00:00
sdrik 71cc30d9d5 Fix bug introduced by me in r28756
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28825 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 21:02:33 +00:00
greg 9bad4bdce4 Combine adjacent overlapping, translucent glyph borders and shadows to
avoid luminance build-up, which looks ugly.

The resulting, modified bitmaps are stored in separate bitmap cache.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28824 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:47:33 +00:00
greg 8ad008e12a Fix positioned events' y-position when pan-and-scan is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28823 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:59 +00:00
greg f9aba2b83a Support for subpixel accuracy of 3 bits for \pos and \move.
Also, restrict advance subpixel accuracy to 3 bits to reduce cache
bloat.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28822 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:56 +00:00
greg 40a38da7db Style override for ScaledBorderAndShadow.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28821 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:52 +00:00
greg 2432bbd43d Support ScaledBorderAndShadow property.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28820 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:48 +00:00
greg a2b82120c0 Scale shadow displacement and blur size like border size.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28819 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:44 +00:00
greg c23a1cdfb3 Round shadow displacement to nearest int.
Use double for shadow displacement parameter.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28818 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:41 +00:00
greg a2020815ad Support a vsfilter special case:
If PlayResX or Y is 1280/1024 respectively and the other
PlayRes attribute isn't provided, use 1280/1024 for it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28817 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:39 +00:00
greg 153e7ada4c Hack: half-merge glyph border with outline to avoid ugly anti-aliasing
in certain situations.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28816 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:35 +00:00
diego 95dac90527 Simplify some vidix dhahelper build commands with automatic make variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28815 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:25:54 +00:00
greg 16731f6349 Ignore PlayResX/Y aspect ratio for font aspect ratio.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28814 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:05:56 +00:00
Gabrov 020d0923b0 synced with r28807
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28813 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 19:46:08 +00:00
diego c368fe2c76 mphq now runs Subversion 1.5.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28812 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 19:00:36 +00:00
reimar 8831008bb5 full_buffers and buffered_bytes must be volatile because they are used from
different threads, hopefully this fixes an uninit hang.
The code still relies on luck for thread-safety though.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28811 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 12:25:10 +00:00
bircoph 3b0f23d1cf Synced with r28807.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28810 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 07:00:45 +00:00
reimar 81ce92ba78 Make sure all output_surfaces are initialized in preinit.
Patch by Dan Oscarsson [Dan Oscarsson (at) tietoenator com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28809 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 19:37:07 +00:00
sdrik a0b901212b Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting alpha channel to 0xFF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28808 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 19:12:49 +00:00
cehoyos a88f28b483 10l: Fix max value for -vo vdpau:deint.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28807 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 18:07:34 +00:00
reimar 76f7f3aa0d Make sure vo_x11_create_vo_window sets vo_dwidth and vo_dheight right
when we were in fullscreen mode and stay there.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28806 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 08:37:54 +00:00
reimar f31339b75b Fix mp_msg call with too few arguments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28805 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 08:11:42 +00:00
henry db234369ff remove the rest of x86 asm from LGPL build
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28804 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-03 19:47:23 +00:00
reimar 2e1f8e3670 100l, remove a pointless opt = NULL assignment that made print_int crash since r28794
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28803 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-03 18:12:03 +00:00
diego fffc93fd94 Add back mistakenly removed copyright notice.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28802 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-03 16:17:11 +00:00
reimar 0f43db1769 Add another hack to work-around the currently completely inconsistent way in
which libavcodec sets AVCodecContext::pix_fmt.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28801 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-03 13:38:33 +00:00
Gabrov 380d3ce696 synced with r28788
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28800 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-03 09:19:35 +00:00