Commit Graph

29130 Commits

Author SHA1 Message Date
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
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