Show All |
Public Member Functions
-
~MovieBase ()
-
signals::Signal< void()> &getNewFrameSignal ()
-
signals::Signal< void()> &getReadySignal ()
-
signals::Signal< void()> &getCancelledSignal ()
-
signals::Signal< void()> &getEndedSignal ()
-
signals::Signal< void()> &getJumpedSignal ()
-
signals::Signal< void()> &getOutputWasFlushedSignal ()
-
~MovieBase ()
-
float *getFftData () const
-
uint32_tgetNumFftBands () const
-
uint32_tgetNumFftChannels () const
Protected Member Functions
-
MovieBase ()
-
voidinit ()
-
voidinitFromUrl (const Url &url)
-
voidinitFromPath (const fs::path &filePath)
-
voidinitFromLoader (const MovieLoader &loader)
-
voidloadAsset ()
-
voidupdateFrame ()
-
uint32_tcountFrames () const
-
voidprocessAssetTracks (AVAsset *asset)
-
voidcreatePlayerItemOutput (const AVPlayerItem *playerItem)
-
voidlock ()
-
voidunlock ()
-
voidremoveObservers ()
-
voidaddObservers ()
-
NSDictionary *avPlayerItemOutputDictionary () const =0
-
voidallocateVisualContext ()=0
-
voiddeallocateVisualContext ()=0
-
voidnewFrame (CVImageBufferRef cvImage)=0
-
voidreleaseFrame ()=0
-
voidplayerReady ()
-
voidplayerItemEnded ()
-
voidplayerItemCancelled ()
-
voidplayerItemJumped ()
-
voidoutputWasFlushed (AVPlayerItemOutput *output)
-
MovieBase ()
-
voidinit ()
-
voidupdateFrame ()
-
voidupdateLoadState ()
-
voidsetupFft (FourCharCode code, uint32_t bandNum, uint8_t channelNum)
-
TimeValuegetStartTimeOfFirstSample () const
-
voidinitFromPath (const fs::path &filePath)
-
voidinitFromLoader (const class MovieLoader &loader)
-
voidinitFromMemory (const void *data, size_t dataSize, const std::string &fileNameHint, const std::string &mimeTypeHint)
-
voidinitFromDataSource (DataSourceRef dataSource, const std::string &mimeTypeHint)
-
Obj *getObj () const =0
-
int32_tcountFrames (::Movie theMovie)
Protected Attributes
-
int32_tmWidth
-
int32_tmHeight
-
int32_tmFrameCount
-
floatmFrameRate
-
floatmDuration
-
std::atomic< bool >mAssetLoaded
-
boolmLoaded
-
boolmPlayThroughOk
-
boolmPlayable
-
boolmProtected
-
boolmPlayingForward
-
boolmLoop
-
boolmPalindrome
-
boolmHasAudio
-
boolmHasVideo
-
boolmPlaying
-
AVPlayer *mPlayer
-
AVPlayerItem *mPlayerItem
-
AVURLAsset *mAsset
-
AVPlayerItemVideoOutput *mPlayerVideoOutput
-
std::mutexmMutex
-
signals::Signal< void()>mSignalNewFrame
-
signals::Signal< void()>mSignalReady
-
signals::Signal< void()>mSignalCancelled
-
signals::Signal< void()>mSignalEnded
-
signals::Signal< void()>mSignalJumped
-
signals::Signal< void()>mSignalOutputWasFlushed
-
mResponder
-
MovieDelegate *mPlayerDelegate