[MPlayer-dev-eng] [PATCH] Use high-level QuickTime decoding API

Steinar H. Gunderson sgunderson at bigfoot.com
Sat Mar 6 12:25:59 CET 2010


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 on Linux.
It does, however, give different behavior on failure (ie., codec not
found/supported), in that it doesn't give the error before trying to decode
the frame.

This patch is a cleaned up version of what Andrew Wason (Cc-ed) posted here
in June.

/* Steinar */
-- 
Homepage: http://www.sesse.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-use-highlevel-decoding-api.diff
Type: text/x-diff
Size: 17245 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100306/c3b9f764/attachment.diff>


More information about the MPlayer-dev-eng mailing list