1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 12:22:22 +00:00
Commit Graph

29206 Commits

Author SHA1 Message Date
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
bircoph
8c07cad23f Synced with r28979.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28983 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 18:33:52 +00:00
diego
972614cb38 Fix ff_bfin_yuv2rgb_get_func_ptr() vs. sws_ff_bfin_yuv2rgb_get_func_ptr() name
mismatch. The function is now called sws_yuv2rgb_get_func_ptr_bfin().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28982 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 12:05:56 +00:00
diego
2e7a366dd9 whitespace cosmetics: Consistently format function calls without space
between name and parentheses; shorten some overly long lines.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28981 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 11:52:39 +00:00
reimar
aa3f9662f1 Avoid an error at the end of chunked HTML doc generation.
Since doctype was added, xsltproc always needs a target _file_.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28980 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-17 11:47:27 +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
sdrik
6be0336c0d Add an alpha parameter to the YUV2RGBFUNC macro to ease the upcoming yuva2rgb patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28978 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 20:04:32 +00:00
eugeni
bebbe6557b Cosmetics: reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28977 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 19:26:23 +00:00
eugeni
bc1d60dcb7 Fix uninitialized memory access in ass_fontconfig.
This fixes hangups with plaintext subtitles happening when
the first subtitle is about to be displayed.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28976 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 19:26:19 +00:00
reimar
b397b28b31 Add TVI_CONTROL_VID_SET_WIDTH_HEIGHT to set width and height together for v4l2,
otherwise some drivers will always stay stuck in the lowest resolution.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28975 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 17:12:29 +00:00
reimar
91dd12b122 Check mpi type before returning an DR buffer in get_image, fixes jerkiness
with MPEG1/2 and -dr -slices


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28974 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 14:25:03 +00:00
Gabrov
20ca58bbfb synced with r28968 with some extra roff markup fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28973 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 10:29:30 +00:00
sdrik
c77884b8ed Split YUV2RGB operands declaration into a separate macro
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28972 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 08:29:40 +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
diego
efd426578c Ignore generated files 'tags' and 'cpuinfo'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28967 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 20:40:48 +00:00
diego
f05077eb7e Add some parentheses to silence the warnings:
cpuinfo.c:293: warning: suggest parentheses around && within ||
cpuinfo.c:297: warning: suggest parentheses around && within ||


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28966 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 20:34:02 +00:00
iive
2db1a43c2e Fix warning: Add forgotten 'int' to variable declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28965 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 20:02:45 +00:00
gpoirier
51c121da56 sync w/r28958
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28964 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 18:54:25 +00:00
reimar
093fc5508b Avoid ridiculously small decode_buffer_size (e.g. 4 with acodec=pcm_s16le)
that can make -oac lavc unusable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28963 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 16:37:06 +00:00
reimar
37c6f0d36c 100l fix calculation of dropped frames, number of frames is time * fps, not time / fps.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28962 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 16:12:05 +00:00
bircoph
9f4e7d44b4 Synced with r28958.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28961 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 13:10:33 +00:00
bircoph
cddd44a996 Update sync tag.
All *.h files were actually changed in r28860.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28960 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 12:53:40 +00:00
diego
a21feef029 cosmetics: Remove file names from file header, it only causes trouble.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 12:45:16 +00:00
diego
e6b0136d37 roff markup: Place \& after abbreviations like i.e. and e.g.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28958 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 10:13:44 +00:00
diego
8484309af2 Remove obsolete extra elements from opt_t struct initialization.
Fixes a bunch of 'excess elements in struct initializer' warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28957 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 10:03:09 +00:00
diego
17d0933e57 Get rid of pointless preprocessor condition indirection and use ARCH_X86
directly instead of CAN_COMPILE_X86_ASM.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28956 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 10:01:02 +00:00
diego
7155671f37 "MPlayer - The Movie Player" should be used as the player name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28955 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 09:47:51 +00:00
diego
bf1c189439 cosmetics: typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28954 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 09:47:09 +00:00
reimar
ab46b43943 Prefer ffdv over qdv, it seems qdv can not play some FFmpeg-encoded samples.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28953 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 09:25:50 +00:00
diego
5148ca89d2 HAVE_THREADS should be initialized to 0, it is a 0/1 #define in FFmpeg.
patch by Dave Yeo, dave.r.yeo gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28952 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 09:17:42 +00:00
gpoirier
642162c074 sync w/r28950
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28951 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 20:58:18 +00:00
diego
366c3fa13d KVA vo driver for OS/2, patch by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28950 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 18:44:58 +00:00
diego
2adaae35cf Move page heading and table of contents out of the codec support table.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28949 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 17:01:28 +00:00
diego
0c7aa35c2a Give table headings more meaningful names.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28948 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 16:58:22 +00:00
cehoyos
dc518c0c13 Clarify that -vo vdpau:deint=n delays video output for n>2 by one frame.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28947 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 16:43:10 +00:00
diego
e7d3dce041 Add /usr/X11R7 to the list of directories in which to search for X11 includes
and libraries. patch by Bernd Ernesti, mplayer-dev-eng lists veego.de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28946 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 16:00:21 +00:00
diego
36910ebe97 Only compile fastmemcpybench on x86.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28945 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 15:56:16 +00:00
reimar
bc4e834998 Set DOCTYPE in xsl-generated HTML documentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28944 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 12:32:28 +00:00
sdrik
4acac0faf5 Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macro
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28943 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 08:11:03 +00:00
reimar
1f1b999cb9 Check for HAVE_EBX_AVAILABLE before enabling MMX code that needs the EBX register.
Makes things a bit simpler for everyone who insists on compiling MPlayer as PIE-code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28942 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-13 17:12:40 +00:00
reimar
f9f40364d7 Use the same code as in vf_decimate to select diff_MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28941 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-13 17:09:39 +00:00