- cinder::qtime::MovieBase
- cinder::qtime::MovieSurface
Show All |
Public Member Functions
-
~MovieSurface ()
-
signals::Signal< void()> &getNewFrameSignal ()
-
signals::Signal< void()> &getReadySignal ()
-
signals::Signal< void()> &getCancelledSignal ()
-
signals::Signal< void()> &getEndedSignal ()
-
signals::Signal< void()> &getJumpedSignal ()
-
signals::Signal< void()> &getOutputWasFlushedSignal ()
-
float *getFftData () const
-
uint32_tgetNumFftBands () const
-
uint32_tgetNumFftChannels () const
Static Public Member Functions
-
create (const ci::Url &url)
-
create (const fs::path &path)
-
create (const MovieLoaderRef &loader)
-
create (const fs::path &path)
-
create (const MovieLoaderRef &loader)
-
create (const void *data, size_t dataSize, const std::string &fileNameHint, const std::string &mimeTypeHint="")
-
create (DataSourceRef dataSource, const std::string mimeTypeHint="")
Protected Member Functions
-
MovieSurface ()
-
MovieSurface (const Url &url)
-
MovieSurface (const fs::path &path)
-
MovieSurface (const MovieLoader &loader)
-
NSDictionary *avPlayerItemOutputDictionary () const override
-
voidallocateVisualContext () override
-
voiddeallocateVisualContext () override
-
voidnewFrame (CVImageBufferRef cvImage) override
-
voidreleaseFrame () override
-
MovieSurface ()
-
MovieSurface (const fs::path &path)
-
MovieSurface (const class MovieLoader &loader)
-
MovieSurface (DataSourceRef dataSource, const std::string mimeTypeHint="")
-
voidallocateVisualContext ()
-
getObj () const
-
voidinit ()
-
voidinit ()
-
voidinitFromUrl (const Url &url)
-
voidinitFromPath (const fs::path &filePath)
-
voidinitFromPath (const fs::path &filePath)
-
voidinitFromLoader (const MovieLoader &loader)
-
voidinitFromLoader (const class MovieLoader &loader)
-
voidloadAsset ()
-
voidupdateFrame ()
-
voidupdateFrame ()
-
uint32_tcountFrames () const
-
voidprocessAssetTracks (AVAsset *asset)
-
voidcreatePlayerItemOutput (const AVPlayerItem *playerItem)
-
voidlock ()
-
voidunlock ()
-
voidremoveObservers ()
-
voidaddObservers ()
-
voidplayerReady ()
-
voidplayerItemEnded ()
-
voidplayerItemCancelled ()
-
voidplayerItemJumped ()
-
voidoutputWasFlushed (AVPlayerItemOutput *output)
-
voidupdateLoadState ()
-
voidsetupFft (FourCharCode code, uint32_t bandNum, uint8_t channelNum)
-
TimeValuegetStartTimeOfFirstSample () const
-
voidinitFromMemory (const void *data, size_t dataSize, const std::string &fileNameHint, const std::string &mimeTypeHint)
-
voidinitFromDataSource (DataSourceRef dataSource, const std::string &mimeTypeHint)
-
int32_tcountFrames (::Movie theMovie)
Protected Attributes
-
mSurface
-
std::shared_ptr< Obj >mObj
-
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