Commit Graph

29413 Commits

Author SHA1 Message Date
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
Uoti Urpala 4b33422c7b Allocate struct demuxer with talloc
Makes it possible to add data to it without explicit freeing code.
2009-03-21 05:42:41 +02:00
Uoti Urpala e177fc3e8b demux_mkv: Some cleanup, fix duration printed at verbose level
Clean up demux_mkv_read_info() and demux_mkv_read_chapters() somewhat.
(Why do the names of static functions have a stupid prefix like that?
Didn't remove it now however).

Demux_mkv_read_info() now delays printing duration information until
the end of the function where we hopefully have the correct timescale
for converting it to seconds. The code to calculate the duration had
been fixed for that earlier but the message had not.
2009-03-21 05:37:43 +02: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
Uoti Urpala ebcb5a7154 Fix video stream switch code typo
Restore accidentally dropped '!' to fixed-vo test in
reinit_video_chain(). It could have caused some issues when switching
video streams. Probably nobody noticed because files with multiple
video streams are rare.
2009-03-20 03:39:29 +02: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
reimar ad95e046c2 Support FFmpeg codecs that decode to other formats than S16.
Double format is currently not supported.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28990 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 12:50:17 +00:00
cehoyos a2bfb53d16 Older versions of <vdpau/vdpau.h> will fail during compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28989 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 09:17:15 +00:00
diego a186cc5523 Consistently use ff_ prefixes for internal symbols.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28988 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 08:06:08 +00:00
cehoyos 9d36f49946 10l: Fix indentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28987 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 00:17:26 +00:00
sdrik 0ddee949da Add a fillPlane function to fill a plane with one constant value
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28986 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 19:53:36 +00:00
sdrik baf5ee6d67 Don't write outside of the picture buffer in planarCopy in the gray case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28985 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 19:51:52 +00:00
bircoph 0c0d141564 Get rid of trailing whitespaces.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28984 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 18:44:06 +00:00