Commit Graph

27747 Commits

Author SHA1 Message Date
michael e4a71d0818 Fix segfault with rgb24 and full_internal_chroma due to non-existing alpha
byte being written after the array.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27628 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-16 03:49:54 +00:00
compn d17f5c5c72 yet another mpeg2 in mov fourcc xd5b, fixes XDCAMHD.mov
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27627 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-16 02:43:02 +00:00
syrjala d4471e0a09 Update the copyright statement.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27626 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:46:43 +00:00
syrjala b129179e5d Cosmetics:
- Convert tabs to spaces
- Remove trailing whitespace
- Remove useless comments


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27625 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:45:17 +00:00
syrjala 7c94b44308 Don't limit BES to non-synced single buffering when CRTC2 is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27624 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:43:24 +00:00
syrjala af709594ea Rename some variables and change some strings to make the CRTC1 code clearer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27623 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:41:08 +00:00
syrjala 654db62437 Add CRTC1 support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27622 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:39:03 +00:00
syrjala 9a00106a58 Remove BGR24 support since it has never worked anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27621 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 20:35:05 +00:00
rathann a5e9a8d0ca External liba52 support, part 2 of 2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27620 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 16:32:31 +00:00
rathann d977c6e812 External liba52 support part 1 of 2.
Conditionalize enabling of some the acceleration because
liba52-0.7.4 doesn't support all that MPlayer's included
copy does.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27619 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 16:30:24 +00:00
diego 853d571d48 Use standard -I flags to compile codec-cfg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27618 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 15:34:26 +00:00
diego 1f9e0f1076 Add -I. to _inc_extra at the beginning instead of to CFLAGS at the end.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27617 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 15:33:34 +00:00
diego ec0ba2f460 riff.h and avi.h are not needed, but avio.h is.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27616 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 15:30:06 +00:00
syrjala d45397dbdd Eliminate void * arithmetic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27615 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 11:47:02 +00:00
diego 4ca1fa0a08 Upgrade license of LGPL 2 or later files to LGPL 2.1 or later.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27614 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 05:40:29 +00:00
diego 2d591f2834 Avoid useless line in libpostproc test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27613 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 05:19:22 +00:00
michael da1f355a05 Avoid using floating point for calculating filter coefficients.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27612 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 03:33:09 +00:00
michael c9a70bb478 Avoid some explicit types in sizeof().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27611 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-14 19:29:14 +00:00
michael aee49d5e58 Use av_mallocz() instead of for() =0;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27610 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-14 19:25:16 +00:00
michael 5f9a7d91b9 Move dither tables from yuv2rgb to swscale, they have been written by me and
can be used under LGPL.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27609 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-14 18:00:49 +00:00
Gabrov d3e9ce8d24 synced with r27607
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27608 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-14 16:10:04 +00:00
diego 196f2d99c6 wording consistency cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27607 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-14 10:22:27 +00:00
reimar c05694a3b4 Make -heartbeat-cmd and -stop-xscreensaver sections reference each other.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27606 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-14 10:17:30 +00:00
diego 6ed300cfcb Sync diff with libmpeg2 update.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27605 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 17:33:04 +00:00
diego bbcccf2d19 Update internal libmpeg2 copy to version 0.5.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27604 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 17:31:45 +00:00
diego 26972b8895 libmpeg-0.4.1.diff was renamed to libmpeg2_changes.diff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27603 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 17:06:42 +00:00
ben 62146f22be Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27602 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 16:13:04 +00:00
diego 60c05a176f Remove version string from name of local changes diff file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27601 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 14:23:45 +00:00
michael b726d73ed1 Fix indention.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27600 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 13:41:47 +00:00
michael f5a4bd86cb Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27599 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 11:52:03 +00:00
compn 5f97d37455 multiple locales in mplayer wish
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27598 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 03:28:15 +00:00
michael 79c5484c9f Disable mmx routines that are not bitexact when the user wants
bitexact ones.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27597 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 03:12:15 +00:00
michael 6869e4a7a4 Make horizontal mmx scaling code match C code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27596 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 02:18:12 +00:00
michael 07fd651300 Ensure that additional filter coeffs that exist due to alignment
are 0 if bitexact mode is requested.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27595 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-13 02:04:10 +00:00
michael 57db6892cf yvu9toyv12Wrapper is not bitexact so disable it when the user wants
bitexactness to C.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27594 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 23:52:37 +00:00
michael 68de5a33c9 Make the horizontal C scaler code clip only against INT16_MAX not 0,
this decreases the difference between C and MMX, its also faster.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27593 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 22:29:21 +00:00
michael d8bf925d4c Add bitexact flag.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27592 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 21:46:53 +00:00
michael e5f0ead24f The yuv->rgb tables are too small for cliping to be avoidable,
thus revert the respective optimization. The table generator code
has to be rewritten anyway one day by some volunteer because its
not LGPL, fixing the GPL table generator thus seems like wasted time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27591 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 21:25:42 +00:00
michael df44f03e48 Fix another 1000l bug in the mono input code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27590 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 18:05:57 +00:00
michael 02da3e1bf9 Add support for PIX_FMT_YUV440P.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27589 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 17:51:13 +00:00
michael d28a3ad668 10000l PIX_FMT_MONOWHITE check was really a || 1.
Thats what happens when one does not do the full set of tests before each commit
and just quickly goes over the diff thinking, "hey it is a trivial change".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27588 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 17:28:36 +00:00
michael 296ccc70ea Support mono as input format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27587 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 16:46:38 +00:00
michael fc855e63d2 Add support for PIX_FMT_MONOWHITE as output format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27586 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 16:01:17 +00:00
michael 229dec600d rgb24toyv12 is not accurately rounding, so disable it as well when the
user asks for accurate rounding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27585 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 04:40:51 +00:00
michael cc3ec5b4f2 Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
because they do not accurately round.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27584 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 02:05:37 +00:00
michael fa93e449fc 100000000000000l, forgot to commit header change for r27580.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27583 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 22:02:15 +00:00
michael 6d7e720009 Fix typo that lead to averaging of the same pixel in rgb24ToUV_half().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27582 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 14:47:18 +00:00
michael 42643629cd Remove mistakely commited code i used for testing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 14:40:29 +00:00
michael 6009a04a23 Implement full horizontal chroma for rgb/bgr24/32 output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27580 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 14:39:12 +00:00
michael 3ea1657e65 Do not do unneeded clipping in YSCALE_YUV_2_PACKEDX_C.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27579 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-11 03:22:39 +00:00