summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorsesse <sesse@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-15 12:05:56 +0000
committersesse <sesse@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-15 12:05:56 +0000
commit45fd2e045749d2459eb2174030513b29dcb47ff6 (patch)
tree10a521cc8c1225fbc7c4528b57b2ace2d2cafc62 /loader
parent7092da127c869e4168a5f88e691d790caad8eb59 (diff)
downloadmpv-45fd2e045749d2459eb2174030513b29dcb47ff6.tar.bz2
mpv-45fd2e045749d2459eb2174030513b29dcb47ff6.tar.xz
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
Diffstat (limited to 'loader')
-rw-r--r--loader/qtx/qtxsdk/components.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/loader/qtx/qtxsdk/components.h b/loader/qtx/qtxsdk/components.h
index 94cb8456dc..7320c81630 100644
--- a/loader/qtx/qtxsdk/components.h
+++ b/loader/qtx/qtxsdk/components.h
@@ -29,6 +29,14 @@ typedef int32_t SInt32;
typedef void *GlobalsPtr;
typedef void **Globals;
+enum {
+ kInitializeQTMLNoSoundFlag = (1L << 0),
+ kInitializeQTMLUseGDIFlag = (1L << 1),
+ kInitializeQTMLDisableDirectSound = (1L << 2),
+ kInitializeQTMLUseExclusiveFullScreenModeFlag = (1L << 3),
+ kInitializeQTMLDisableDDClippers = (1L << 4)
+};
+
//==================== COMPONENTS ===========================
struct __attribute__((__packed__)) ComponentParameters {