aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vd_qtvideo.c
Commit message (Collapse)AuthorAge
* vd_qtvideo: Do not dump image description by defaultGravatar reimar2010-12-16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32656 b3059339-0415-0410-9bf9-f77b7e298cf2 Reindent. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32657 b3059339-0415-0410-9bf9-f77b7e298cf2
* vd_qtvideo: fix crash on OS X with QuickTimeGravatar reimar2010-11-02
| | | | | | | | | | Do not call Setup_FS_Segment if the QuickTime framework is used on OSX for decoding, even if the loader code is compiled in. There is no point in it and since Setup_LDT_Keeper is not called before it will actually crash on OSX due to the auto-alloc functionality not being initialized and thus it will try to set fs to 0xffffffff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32486 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup: malloc+memset->calloc, sizeof(TYPE)->sizeof(*ptr)Gravatar reimar2010-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace malloc+memset by calloc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32181 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32182 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32183 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace some sizeof(type) by sizeof(*pointer) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32184 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32186 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32187 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32188 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace sizoef(type) by sizeof(*ptrvar). Besides being consistent with FFmpeg style, this reduces the size of a patch to rename these types to not conflict with the windows.h definitions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32189 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32191 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32192 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace sizeof(type) by sizeof(*ptrvar) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32193 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove a useless cast. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32194 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace sizeof(type) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32195 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove a useless cast. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32196 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace several sizeof(WAVEFORMATEX) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32197 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace one more instance of sizeof(WAVEFORMATEX); fix compilation. patch by Clément Bœsch, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32199 b3059339-0415-0410-9bf9-f77b7e298cf2 Avoid some pointless uses of sizeof() and one related cast. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32200 b3059339-0415-0410-9bf9-f77b7e298cf2 Merge one malloc() + memset() invocation into calloc(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32202 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32203 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace sizeof(WAVEFORMATEX) occurrences. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32205 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace malloc+memset by calloc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32206 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace sizeof(BITMAPINFOHEADER) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32207 b3059339-0415-0410-9bf9-f77b7e298cf2
* vd_qtvideo: Some indentation fixesGravatar reimar2010-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31785 b3059339-0415-0410-9bf9-f77b7e298cf2
* vd_qtvideo: generate a ImageDescription if not givenGravatar reimar2010-11-02
| | | | | | | | Generate a ImageDescription if none is passed neither via ImageDesc nor extradata. Makes the ProRes decoder work with -demuxer lavf. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31784 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup: #include loader/wine/winbase.h instead of local declarationsGravatar diego2010-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31414 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable, fixes the warning:Gravatar diego2010-03-16
| | | | | | | libmpcodecs/vd_qtvideo.c:242: warning: unused variable 'result' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix libmpcodecs/vd_qtvideo.c compilation on OS X:Gravatar sesse2010-03-16
| | | | | | | | - Declare the "result" variable even for native QuickTime. - ExitMovies returns void; don't check its result value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the high-level QuickTime decoding APIs (DecompressSequenceFrameS andGravatar sesse2010-03-15
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix QuickTime emulated OSErr type.Gravatar sesse2010-03-06
| | | | | | | | | | | | 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
* Fix the stack crash(SYS3171) on OS/2 when playing qtaudio/qtvideo.Gravatar komh2010-02-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30656 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark all ad_info_t/vd_info_t structure declarations as const.Gravatar diego2010-02-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing license headers to all files in the libmpcodecs directory.Gravatar diego2010-01-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid unused variable warning.Gravatar diego2009-01-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28233 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder #includes and #ifdefs to avoid warnings and excessive #ifdeffery.Gravatar diego2009-01-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28231 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused static declarations, fixes the warnings:Gravatar diego2008-08-14
| | | | | | | | libmpcodecs/vd_qtvideo.c:69: warning: 'ImageCodecDrawBand' defined but not used libmpcodecs/vd_qtvideo.c:71: warning: 'ImageCodecEndBand' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27464 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename all preprocessor directives related to Apple / Mac OS X.Gravatar diego2008-08-06
| | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless parentheses from return calls.Gravatar diego2008-05-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently #include mpbswap.h instead of bswap.h everywhere.Gravatar diego2008-04-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Introduce HAVE_QUICKTIME definition and use it where appropriate.Gravatar diego2008-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26248 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializedGravatar diego2008-02-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Zero codec_inited in the init() function, so that it's cleared everytime Gravatar rtogni2008-01-23
| | | | | | | | | | the codec is inites (previously was only cleared once at start time). Fixes a crash when -loop n (with n >= 2) is used with a qtvideo codec. Patch by KO Myung-Hun komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25839 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include loader/ prefix in #include path everywhere.Gravatar diego2007-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix previous broken vd_qtvideo.c commit which failed on MACOSXGravatar uau2006-11-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #include <QuickTime/ImageCodec.h> before internal headersGravatar uau2006-11-26
| | | | | | | to avoid #define of always_inline which would break it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21279 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #ifdefs around complete files into the build system.Gravatar diego2006-06-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment some #endif directives to avoid confusion.Gravatar diego2006-06-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18769 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesGravatar rathann2006-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.Gravatar diego2005-11-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* preload quicktime.qts, this allows us to ignore the hardcoded path inside ↵Gravatar faust32005-01-17
| | | | | | the dlls so that quicktime.qts doesn't need to be in the windows system dir, patch by Gianluigi Tiesi <mplayer at netfarm.it>, comments by myself git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14529 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation on macosx with --enable-qtx patch by Zachary Bedell ↵Gravatar faust32004-10-10
| | | | | | <zaclist@adirondack.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13607 b3059339-0415-0410-9bf9-f77b7e298cf2
* small gcc warning fixesGravatar rathann2004-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13189 b3059339-0415-0410-9bf9-f77b7e298cf2
* minimal fix for alex's 1000000000000l compile errors. imo the fix inGravatar rfelker2004-04-30
| | | | | | | | | | aviheader.h is totally correct. defining useless typedefs that can conflict with other headers is bad practice. i don't like editing mmreg.h but oh well... if you have a better fix, commit it! finally, the fix in the ad_ and vd_ files seems totally correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12357 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf -> mp_msg, error msg when qtmlClient.dll is missingGravatar faust32004-04-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12195 b3059339-0415-0410-9bf9-f77b7e298cf2
* MACOSX support patch, based on Dan Christiansens workGravatar alex2003-02-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9503 b3059339-0415-0410-9bf9-f77b7e298cf2
* real cygwin support by Sascha Sommer <saschasommer@freenet.de>Gravatar alex2003-02-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9406 b3059339-0415-0410-9bf9-f77b7e298cf2
* handle mencoder's 0-byte 'skipped frames'Gravatar arpi2002-12-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8474 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sorenson 1/3 encoding just for fun :)Gravatar arpi2002-12-16
| | | | | | | | ve_qtvideo code by Sascha Sommer SVQ3 support hack by /me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8472 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesGravatar arpi2002-12-14
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
* we don't need to pass gworld :)Gravatar arpi2002-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8432 b3059339-0415-0410-9bf9-f77b7e298cf2
* print list of supported output colorspacesGravatar arpi2002-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8431 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved component lister up, as it messes up 'desc'Gravatar arpi2002-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8429 b3059339-0415-0410-9bf9-f77b7e298cf2
* SVQ1 support (ugly hack... - really we need 'syuv' support in swscaler :))Gravatar arpi2002-12-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8322 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fixed 10l bug (imagedesc handle allocation)Gravatar arpi2002-11-27
| | | | | | | - enabled colorspace selection support, fixed yvu9, added yv12 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8302 b3059339-0415-0410-9bf9-f77b7e298cf2
* some fixesGravatar alex2002-11-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8283 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader supportGravatar arpi2002-11-24
| | | | | | | components.h removed, as it was duplicate of loader/qtx/qtxsdk/* git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8271 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't print error if no errorGravatar arpi2002-11-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8189 b3059339-0415-0410-9bf9-f77b7e298cf2
* no need to EnterMovies(), do minimal InitializeQTML onlyGravatar arpi2002-11-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8163 b3059339-0415-0410-9bf9-f77b7e298cf2
* qt video dll codecs supportGravatar arpi2002-11-12
based on sample svq3 decoder code by Sascha Sommer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8161 b3059339-0415-0410-9bf9-f77b7e298cf2