Commit Graph

21 Commits

Author SHA1 Message Date
Uoti Urpala ff559b8e90 Merge svn changes up to r30907 2010-04-26 16:57:25 +03:00
sesse 45fd2e0457 Use the high-level QuickTime decoding APIs (DecompressSequenceFrameS and
friends) instead of the unsupported, internal ones (ImageCodecBeginBand
etc.). This is a prerequisite for, among others, Apple ProRes 4:2:2 support,
and simplifies the file by quite a bit.

Tested on Linux with all existing QuickTime codecs I could get to work in the
first place; qt261, qtavui, qtsvq3 have no change. qtcvid appears to not give
bit-exact the same output as before, but it looks just the same in playback
to me. qt3ivx stops crashing on exit (so works better than before). With some
extra patches and a codecs.conf entry, ProRes 4:2:2 also works, including on
Linux.

Since codec initialization is now actually done on decoder init instead of on
first frame, fallback should also work a bit better (although usually, qtvideo
is last in the chain). Also made the decoder complain explicitly if the
demuxer data is not there (ie., the user tried to run without -demuxer mov).

This patch is a cleaned up version of what Andrew Wason (rectalogic A
rectalogic D com) posted to mplayer-dev-eng in June.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30899 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-15 12:05:56 +00:00
Uoti Urpala 0269d22d32 Merge svn changes up to r30876 2010-03-10 03:18:42 +02:00
sesse 9b67104eb7 Correct QuickTime dpi output.
The dpi value for QuickTime codecs is stored as Fixed16 (16.16 fixed-point),
not int. Correct the output value accordingly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30865 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-08 19:54:07 +00:00
sesse a8804d4d71 Fix QuickTime emulated OSErr type.
The OSErr type on Mac OS X is int16_t, not int32_t (see
http://developer.apple.com/mac/library/documentation/QuickTime/Reference/QTRef_DataTypes/Reference/reference.html).
The upper 16 bits will typically be something random (they're entirely
undefined). Change the type so it's right; a few places tried to compensate
for this by masking out the upper bits, but a few places also missed them,
which made for unpredictable behavior.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30854 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-06 11:12:32 +00:00
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala 634af01685 loader/qtx/qtxsdk/components.h: Disable large unused inline functions
Put various dump_* functions under #if 0. They aren't used by any
current code but trigger compiler warnings.
2008-04-28 12:16:13 +03:00
diego bb7b132e08 Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26077 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 14:50:55 +00:00
diego 7229f29d19 Add missing #include so that the header works standalone.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25615 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 11:43:14 +00:00
diego 2b6af2000b Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 21:35:58 +00:00
faust3 4f9ec2c516 AMD64 fixes based on patch by Timo Teräs <timo.teras@iki.fi>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13810 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-30 12:17:16 +00:00
rathann e1dc488097 Warning fixes (approved by A'rpi).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 00:26:51 +00:00
arpi 6b9defb1fb CRLF->LF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8471 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 01:47:42 +00:00
arpi 34504396cd dump more!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8324 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-01 00:28:04 +00:00
arpi 00637e4597 fixes, updates
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8267 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-24 21:25:00 +00:00
arpi cc54e54ca0 dump stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5335 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 13:35:23 +00:00
arpi d41172cdcd some more...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5254 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 21:00:21 +00:00
arpi 61ec1f6267 updated
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2798 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 18:06:59 +00:00
arpi c90a2e3c66 struct->typedef
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2777 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 03:26:12 +00:00
alex 0dd1adffb4 devel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2502 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-27 17:45:27 +00:00