Mercurial > mplayer.hg
view loader/qt_comp.h @ 30811:50e0f6942e43
Implement Win32 mutexes.
Implement Win32 mutexes; they used to just be mapped on top of events, which
is not the same thing at all.
The implementation is pretty much the obvious one, similar to the
current critical section implementation and the semaphore implementation;
a single lock count protected by a pthread mutex, and an event lockers can
sleep on to know when the mutex is available.
Also make CreateMutexA and ReleaseMutex available even if QuickTime codecs
support is not configured.
author | sesse |
---|---|
date | Sat, 06 Mar 2010 10:13:37 +0000 |
parents | a8ea87c71d18 |
children | ee4e8dbc4d8a |
line wrap: on
line source
#ifndef MPLAYER_QT_COMP_H #define MPLAYER_QT_COMP_H DECL_COMPONENT(sorenson3,"SMD_ComponentDispatch",1) DECL_COMPONENT(sorenson,"SorensonYUV9Dispatcher",1) DECL_COMPONENT(sorenson1,"SVD_ComponentDispatch",1) DECL_COMPONENT(genericd,"GenericComponentDispatch",0) DECL_COMPONENT(stmedia,"STMediaComponentDispatch",0) DECL_COMPONENT(handlecd,"HandleComponentDispatch",0) DECL_COMPONENT(pcxcd,"PCExchangeComponentDispatch",0) DECL_COMPONENT(capcd,"CapComponentDispatch",0) DECL_COMPONENT(videocd,"VideoComponentDispatch",0) DECL_COMPONENT(soundcd,"SoundComponentDispatch",0) DECL_COMPONENT(scalingcd,"ScalingCodecDispatcher",0) DECL_COMPONENT(formatcnv,"FormatConverterDispatch",0) DECL_COMPONENT(basecd,"Base_CDComponentDispatch",1) DECL_COMPONENT(ddcd,"DD_CDComponentDispatch",0) DECL_COMPONENT(fakergb,"FakeRGBDispatcher",0) DECL_COMPONENT(rawcd,"RAW_CDComponentDispatch",0) DECL_COMPONENT(yuvsgi,"YUVSGI_CDComponentDispatch",0) DECL_COMPONENT(yuvs,"YUVS_CDComponentDispatch",0) DECL_COMPONENT(yuvu,"YUVU_CDComponentDispatch",0) DECL_COMPONENT(qdm2d,"QDM2Decompressor",0) DECL_COMPONENT(mace3d,"Mace3DecompDispatch",0) //DECL_COMPONENT(,"",0) #endif /* MPLAYER_QT_COMP_H */