1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 03:45:23 +00:00
Commit Graph

28732 Commits

Author SHA1 Message Date
reimar
1002389056 Create a set_format_params function that sets all the special options needed
for XvMC/VDPAU acceleration in a single place.
This should get closer to working with selecting acceleration via pix_fmt instead
of via a special codec for each method.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28766 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 09:03:01 +00:00
jrash
838d841f76 sync with en/mplayer.1 r28745
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28765 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 06:45:27 +00:00
cehoyos
40fb81669a Use M_PI for pi.
Suggested by Reimar.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28764 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 15:45:24 +00:00
cehoyos
f099431791 Make VdpVideoMixerAttribute attributes[] static const.
Suggested by Reimar.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28763 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 15:42:17 +00:00
Gabrov
8a70695df9 synced with r28745
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28762 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 15:40:20 +00:00
diego
d20b0f3081 sync by Ivan (sevenfourk, sevenfourk gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28761 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 14:11:42 +00:00
cehoyos
82ed008f7a Support brightness, contrast, hue and saturation adjustments via
custom color space conversion matrices in VDPAU.

Patch by Grigori Goronzy, greg A chown D ath D cx


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28760 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 13:20:01 +00:00
cehoyos
2661a2b7fc Fix OSD for vo vdpau:deint>1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28759 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 13:02:52 +00:00
reimar
5437a538d5 Handle vdp_decoder_create failures better, in particular avoid unrelated
error messages and retry creating a decoder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28758 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 10:43:28 +00:00
reimar
d1acb18902 Fix a possible NULL-pointer crash introduced by local changes to libfaad2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28757 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 10:06:52 +00:00
sdrik
3a81bf82a0 When converting from a non alpha format to an alpha format, defaults to all ones rather than all zeroes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28756 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 08:01:52 +00:00
bircoph
cde07e8a61 Synced with r28745.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28755 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 03:12:55 +00:00
eugeni
15ed6e0199 Zero-fill glyph_info_t before use.
Patch by Grigori G (greg chown ath cx).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28754 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 23:06:53 +00:00
eugeni
69ce550ee0 Remove unused function argument.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28753 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 23:06:50 +00:00
eugeni
00d6bb12b9 Support fractional arguments for some override tags.
Done by parsing all integers as doubles first and then converting them to the
nearest integer. Patch by Grigori G (greg chown ath cx).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28752 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 23:06:47 +00:00
eugeni
a1f50bf348 Fix two gcc warnings.
Patch by Grigori G (greg chown ath cx).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28751 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 23:06:43 +00:00
eugeni
bcad979a56 Fix memory leak produced by the \blur patch.
Patch by Grigori G (greg chown ath cx).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28750 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 23:06:40 +00:00
eugeni
b84c1b627f Stronger blur.
Patch by Grigori G (greg chown ath cx).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28749 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 23:06:37 +00:00
eugeni
909f7b0c14 Allow shadow without border.
Patch by Grigori G (greg chown ath cx).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28748 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 23:06:34 +00:00
sdrik
f3ea1ffd7b Add an isALPHA macro to check if pixel format has alpha channel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28747 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 22:23:20 +00:00
sdrik
255c11b745 Use YUV420P code path for YUVA420P where appropriate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28746 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 22:13:55 +00:00
cehoyos
34fdebf968 Update vdpau:deint documentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28745 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 22:13:39 +00:00
cehoyos
b739f69217 Do not forget the chosen deinterlacer for -vo vdpau.
Make temporal deinterlacing standard when pressing "D" to activate
deinterlacer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28744 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 21:55:28 +00:00
cehoyos
7c186eed15 Add one-field-only output for -vo vdpau.
Change syntax of -vo vdpau:deint for the last time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28743 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 21:52:59 +00:00
cehoyos
317b16725c Document that all vdpau deinterlacers respect -field-dominance.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28742 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 21:46:13 +00:00
cehoyos
f9d981ad92 Refactor code for upcoming alpha patches.
Patch by Cédric Schieli, cschieli A gmail


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28741 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 20:44:59 +00:00
cehoyos
c9a3957279 vdpau:pullup only works with temporal and temporal-spatial deinterlacing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28740 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 16:44:28 +00:00
Gabrov
186c10f836 synced with r28736
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28739 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-27 10:55:25 +00:00
kraymer
65da28a88d r27801 Clarify screenw/screenh options, patch by Christian Ohm, chr.ohm gmx net.
r27872 Add a few more supported URL protocols
r27895 Fix typo in psy-rd x264 option description.
r27906 document x264's option subq=0, plus a bit of factoring and added details
r27973 add direct3d docs, ok'd by Guillaume
r27979 Make description of the option more clear
r28056 Add a note about some known issues with -vo sdl
r28095 Document missing vo_gl suboptions
r28096 Using rectangle=2 for vo_gl is probably a good idea nowadays.
r28126 Add support for writing PNG files with alpha channel in -vo png


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28738 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-26 23:32:37 +00:00
cehoyos
cd1dc957fe 10l: Remove debug printf() from last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28737 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-26 19:34:04 +00:00
cehoyos
2614be14cc Support "D" to (de-)activate deinterlacing when using vo vdpau.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28736 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-26 18:20:32 +00:00
cehoyos
1a608bf2bd Document that -field-dominance also works for vdpau.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28735 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-26 18:02:38 +00:00
cehoyos
115c0fddae 10l: Add missing braces for VOCTRL_GET_EOSD_RES.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28734 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 15:17:14 +00:00
kraymer
e5294a43b9 r27390 Fix a misleading section in the libavcodec options manual
r27407 Add video driver for Nintendo Wii/GameCube.
r27454 Mention IVTV, S3 and SH_VEU drivers within VIDIX section of manpage.
r27466 Document -lavcopts o, aka libavcodec AVOption.
r27542 'mp3lame' audio output codec was wrongly listed as 'lame'.
r27606 Make -heartbeat-cmd and -stop-xscreensaver sections reference each other.
r27638 add lavfopts matroska suboption
r27639 document lavc/lavf avoption o suboption
r27650 add outdir sub-option to vo png
r27690 whitespace cosmetics
r27691 vo_fbdev now supports -geometry.
r27768 update x264's section with r999 of x264
r27800 improve documentation of latest x264's options
r27801 Clarify screenw/screenh options


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28733 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 14:23:07 +00:00
reimar
8605d7090e Use memset to make sure all parts of struct sockaddr_in are always initialized.
Problem reported by [kmkaplan+mplayer-dev-eng (at) kim kim-minh com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28732 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 12:51:20 +00:00
reimar
99caf8cc68 Change code to actually work when NUM_OUTPUT_SURFACES is changed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28731 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 12:01:00 +00:00
Gabrov
0806e4548e synced with r28727
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28730 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 09:32:32 +00:00
Gabrov
dad4a11478 copyright year update in man pages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28729 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 09:08:58 +00:00
diego
d1e6b2360c Read revision string from the file snapshot_version if available.
This will be used by daily snapshots without Subversion metadata.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28728 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 23:15:26 +00:00
cehoyos
08ac7b59a3 Document -vo vdpau:pullup.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28727 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 23:01:06 +00:00
diego
9e8a06bc4e cosmetics: Use $() instead of ``, the former can be nested more easily.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28726 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:57:55 +00:00
cehoyos
8fe1d4ce2e Document -vo vdpau:deint.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28725 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:57:42 +00:00
cehoyos
4cd920182b Cosmetics: Fix indentation and line length.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28724 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:45:29 +00:00
diego
e1724e3000 Rename yuv2rgb2.c --> yuv2rgb.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28723 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:40:20 +00:00
cehoyos
1ae523f93d Clarify -vo vdpau:sharpen.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28722 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:11:37 +00:00
cehoyos
1440333b8a Document -vo vdpau:denoise.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28721 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:09:51 +00:00
cehoyos
b929432127 Document -vo vdpau:sharpen.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28720 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:06:14 +00:00
cehoyos
4cfb4ba7d8 Enable Bob de-interlacing for VDPAU.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28719 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 21:46:25 +00:00
kraymer
48833d442f version bump
contains some cosmetics from several in-between revisions


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28718 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 19:28:14 +00:00
diego
b699efe1a6 Relicense AltiVec optimizations as LGPL with the permission of Marc Hoffman
and Reza Jelveh, the original authors.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28717 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 15:27:14 +00:00