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

29206 Commits

Author SHA1 Message Date
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
diego
f0f8ff29b4 Rename 'tests' target to 'testprogs'. It is too easily confused with the
'test' target and a directory named tests exists.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29039 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 23:15:54 +00:00
diego
f5accb8d0e Remove unnecessary CLEANFILES declaration. Test programs do not require it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29038 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 23:09:20 +00:00
reimar
45535aa89d Add forgotten "static" to new data_length variable in ao_pcm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29037 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 14:28:13 +00:00
reimar
0d44f19d27 Whitespace-only cosmetics: use consistent indentation in ao_pcm.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29036 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 14:27:10 +00:00
reimar
412cddeb2c Print a warning if ao_pcm wrote more data than what can be specified in the
WAV header (ca. 2GB currently) or if it can not update the header at all.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29035 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 14:23:07 +00:00
bircoph
9dea062bcc Sync with r28984: 17% done.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29034 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 13:19:58 +00:00
bircoph
1525c2079a Synced with r28991.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29033 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 12:38:52 +00:00
jrash
b4030b029e sync with en/mplayer.1 r28991
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29032 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-22 02:53:07 +00:00
michael
f5dbce7baa Enable unscaled packed422 -> planar 420 converters by default as the
imgconvert inherited quality issues should be fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29031 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 23:59:02 +00:00
michael
5c31b70263 10l (C code was buggy and untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29030 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 23:52:34 +00:00
michael
855ea7b7b7 Average chroma of 2 lines in packed 422 -> planar 420.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29029 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 23:45:20 +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
compn
f8a56efb5c map jls (jpeg-ls), thm and db (thumbnails) files to jpg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29025 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 19:46:13 +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
diego
941a7941de Initialize HAVE_FAST_UNALIGNED definition to 0 so that it is never undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29023 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 16:00:15 +00:00
sdrik
3349369dfa Fix build failure on x86_32 Mac OS X with PIC enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29022 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 12:16:32 +00:00
reimar
3a4d381663 Fix planarCopy to ignore the GRAY8 "pseudo"-palette, fixes libavtest regression test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29021 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 10:20:16 +00:00
diego
db6699ae24 Remove postinst script that asks for a TrueType font to use as default.
This also gets rid of the libconfhelper-perl dependency; a package that
no longer exists in current Debian versions, rendering the generated
Debian package uninstallable.
patch by Vladislav Naumov, vladislav.naumov gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29020 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 09:31:57 +00:00
diego
5b8a842476 Add CONFIG_SWSCALE_ALPHA and HAVE_VIRTUALALLOC config.h #defines for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29019 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 09:18:36 +00:00
reimar
a0a1ec417c Avoid crash on planarCopy to a destination without alpha.
Makes regression tests run again, though the results are still wrong.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29018 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 17:22:03 +00:00
benoit
664d12c7be Initialize pointer arrays which may be freed before being initialized.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29017 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 16:29:47 +00:00
reimar
902bcf5fbd Do _not_ use rbx on x86_64, it will fail to compile with PIC, besides it
added completely pointless code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29016 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 16:23:48 +00:00
reimar
1c91e6157f Fix swscale compilation with Altivec enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29015 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 16:12:03 +00:00
sdrik
dbf1674a34 Reindent after last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29014 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:44:26 +00:00
sdrik
3f89e7414e Also test the alpha channel in swscale-example
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29013 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:17:20 +00:00
sdrik
751f5dcd87 YUVA420P is now supported as output format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29012 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:16:24 +00:00
sdrik
57fda37dbb Add alpha channel scaling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29011 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:15:14 +00:00
sdrik
6667f198c2 Add YUVA420P -> RGBA/BGRA/ARGB/ABGR unscaled converters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29010 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:14:28 +00:00
sdrik
218c79a44d Use a simpler and more general check for the gray case in the planarCopy function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29009 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-20 14:01:51 +00:00
diego
e7c09a0f2b Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:
libswscale/swscale-example.c:60: warning: 'outContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'dstContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'srcContext' may be used uninitialized in this function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29008 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 23:33:35 +00:00
cehoyos
6130d5c9b1 Remove useless casting in asm "m" operand.
Patch by Matthieu Castet, castet D matthieu A free D fr


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29007 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 23:29:19 +00:00
ramiro
bf1cf8da02 Allocate executable memory with VirtualAlloc() in Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29006 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 21:52:44 +00:00
ramiro
2826ad5e40 Drop unnecessary cast and cosmetically align.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29005 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 21:50:10 +00:00
rathann
8935c9e03c Fix HTML docs generation, broken in r28980.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29004 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 19:44:11 +00:00
michael
69f8493034 Revert
Date: Wed Mar 18 23:11:50 2009
	New Revision: 28996

	Log:
	Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.

This change was non optimal, correct would have been to revert the offending commits
if no time was available to find a clean fix.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29003 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 15:02:44 +00:00
michael
3b59217d12 Fix 10l typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29002 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 14:04:14 +00:00
Gabrov
94aa1edab0 remove trailing whitespaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29001 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 11:30:29 +00:00
Gabrov
bfb5da3e39 remove trailing whitespaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29000 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 11:21:54 +00:00
Gabrov
22ebda50b2 remove trailing whitespaces all over the place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28999 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 11:18:04 +00:00
Gabrov
4d1d273061 synced with r28991
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28998 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 11:02:16 +00:00
michael
1494e46fcf Unscaled converters for
YUYV->YUV420P
YUYV->YUV422P
UYVY->YUV420P
UYVY->YUV422P


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28997 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-19 03:45:29 +00:00
reimar
2da9fd7640 Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28996 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 22:11:50 +00:00
cehoyos
b1fc7adc3e Support icc 11.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28995 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 21:48:35 +00:00
rathann
0ed98cfef8 drop obsolete guidelines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28994 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 18:17:49 +00:00
ramiro
7fcbe59d3f swscale-example: use LFG instead of random()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28993 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:12:44 +00:00
ramiro
72e3d88202 Do not assume long is same width as x86 register.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28992 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:07:30 +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