reimar
6023874828
Some ugly hacks to make compiling against a newer external version of libass work.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30107 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-24 10:51:24 +00:00
reimar
2908957147
Remove more direct includes of libass/ass.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30105 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-24 10:26:29 +00:00
cehoyos
e3b42e3e96
Cosmetics: Reindent after r30050.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30051 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-17 13:27:15 +00:00
cehoyos
3303bb67ec
Slightly increase hardware decoding performance by always using more
...
video surfaces than absolutely necessary.
I will revert if somebody reports real-world resource issues introduced
by this commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30050 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-17 13:23:15 +00:00
cehoyos
9182f6a97c
Improve VDPAU render performance by increasing number of output surfaces.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30048 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-17 02:16:12 +00:00
cehoyos
153cac185c
Do not dynamically load libvdpau.so.1, but link at compile time.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29903 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-11 22:26:38 +00:00
cehoyos
2b93a48ac8
Support VDPAU hardware accelerated decoding of MPEG-4 ASP on capable
...
hardware.
Original patch by NVIDIA corporation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29885 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 19:11:13 +00:00
cehoyos
78290719a6
100: Fix function parameters when calling create_vdp_decoder() from query_format().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29872 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 10:40:34 +00:00
cehoyos
88d80c2361
Cosmetics: Fix indentation after last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29871 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 10:05:10 +00:00
cehoyos
3865c166c9
Fail in query_format() if a VDPAU decoder is not available.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29870 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 10:04:32 +00:00
cehoyos
7c774fd5ce
Add a default to switch(image_format), suppresses a warning after a future patch.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29869 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 09:52:43 +00:00
cehoyos
a10b3f08bf
Add new VDPAU feature high-quality-scaling (and require newer library).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29823 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-04 15:30:13 +00:00
cehoyos
7800998a95
Cosmetics: Reindent after last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29799 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-27 08:29:07 +00:00
cehoyos
29c937fe80
Allow image format BGRA when using vo vdpau.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29798 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-27 08:28:08 +00:00
cehoyos
fbf26ecb14
Implement VFCAP_FLIP for vo_vdpau.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29794 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-23 18:26:42 +00:00
cehoyos
4a8b396b31
Free memory allocated in ff_vdpau_add_data_chunk() on uninit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29793 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-22 18:44:39 +00:00
cehoyos
c34564f2f6
Try to recover from VDPAU display pre-emptions.
...
Original patch by Uoti.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29777 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-17 15:15:07 +00:00
cehoyos
14c5e64fd9
Support SMPTE-240M colourspace in vo_vdpau.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29771 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-12 21:17:38 +00:00
cehoyos
83fe8c63c5
Add colorspace option to vo_vdpau.
...
Allows to use ITU-R BT.709 instead of the default ITU-R BT.601.
Patch by Lauri Mylläri, lauri D myllari gmail
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29769 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-10 20:53:42 +00:00
diego
50f563f927
cosmetics: Remove some pointless parentheses from return calls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29759 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-08 11:25:01 +00:00
diego
77bc2b34b7
cosmetics: Break two more lines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29758 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-08 10:48:12 +00:00
diego
95e061d93b
K&R coding style and whitespace cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29755 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-06 08:45:20 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
cehoyos
238df952ef
Do not use flag CWBackPixel when calling vo_x11_create_vo_window():
...
It leads to VDPAU errors after video aspect ratio changes.
Patch by Stephen Warren.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29276 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 15:43:54 +00:00
cehoyos
f7891c8e53
Support IMGFMT_NV12 for vo vdpau.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29109 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-30 21:17:42 +00:00
reimar
79568f8ea5
Make sure we do not accidentally use the vdp_get_error_string from the
...
previous initialization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29106 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-30 12:11:12 +00:00
cehoyos
05be65cb86
Add support for IMGFMT_YUY2 and IMGFMT_UYVY to vo vdpau.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29105 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 19:43:52 +00:00
cehoyos
c7990f8893
VDPAU supports IMGFMT_I420 and IMGFMT_IYUV.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29104 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 19:25:22 +00:00
cehoyos
bdbf4f617d
Cosmetics: Reindent after last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29094 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 11:16:14 +00:00
cehoyos
aa549a325b
10l: Don't use MP_IMGFIELD_TOP_FIRST if MP_IMGFIELD_ORDERED is not set.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29093 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 11:15:22 +00:00
cehoyos
38116c1f73
Simplify vdpau deinterlacing code and fix timing for deint=2.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29061 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-25 23:32:27 +00:00
cehoyos
a0f0db79f4
New VDPAU deinterlacing code needs one reference surface less for software decoding.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29053 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 21:49:08 +00:00
cehoyos
c266ad4de4
New vdpau deinterlacing code needs one reference surface less.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29052 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 21:47:56 +00:00
cehoyos
7ab8e44842
Stephen Warren reported that VDPAU deinterlacing did not work correctly.
...
New static function push_deint_surface() by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29051 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 21:45:39 +00:00
cehoyos
9e8112128e
Change function call order in config().
...
This stops creating a window even if hardware decoding is certainly
going to fail.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29040 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 23:58:40 +00:00
cehoyos
9970706263
10l: Only try to create vdpau decoder if hardware decoding is intended.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29028 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 22:53:18 +00:00
cehoyos
a331f3fd15
Test if create_vdp_decoder() might succeed by calling it from config()
...
with a small value for max_reference_frames.
This does not make automatic recovery by using software decoder possible,
but lets MPlayer fail more graciously on - actually existing - buggy
hardware that does not support certain H264 widths when using
hardware accelerated decoding (784, 864, 944, 1024, 1808, 1888 pixels on
NVIDIA G98) and if the user tries to hardware-decode more samples at
the same time than supported.
Might break playback of H264 Intra-Only samples on hardware with very
little video memory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29027 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 20:11:05 +00:00
cehoyos
9f47d4d37c
Change return value for create_vdp_decoder().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29026 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 19:59:35 +00:00
cehoyos
8c820cce48
Factorize create_vdp_decoder().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29024 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 17:10:19 +00:00
cehoyos
115bfb9762
Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28991 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:02:29 +00:00
cehoyos
02c87f0578
Add chroma-deint option to vo vdpau (nochroma-deint speeds up deinterlacing).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28979 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 23:03:18 +00:00
cehoyos
773c611884
Move initialisation of deint_surfaces[] to free_video_specific().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28971 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 22:19:05 +00:00
cehoyos
2ec3f259e5
Update -vo vdpau command line help.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28970 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 21:48:52 +00:00
cehoyos
7f3ddffb67
Cosmetics: Fix whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28969 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 21:26:10 +00:00
cehoyos
e8113dc1c7
Initial support for advanced VDPAU deinterlacers (software-decoded video
...
only).
With a lot of help from Reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28968 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 21:20:06 +00:00
cehoyos
919793e643
Output number of reference frames before creating H264 vdpau decoder.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28927 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 23:46:28 +00:00
reimar
05119ecaf6
Make data related to suboption parsing const in libvo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28863 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-07 08:51:40 +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
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