Public Member Functions

  • ~MovieSurface ()
  • getNewFrameSignal ()
  • getReadySignal ()
  • getCancelledSignal ()
  • getEndedSignal ()
  • getJumpedSignal ()
  • getOutputWasFlushedSignal ()
  • float *
    getFftData () const
  • uint32_t
    getNumFftBands () const
  • uint32_t
    getNumFftChannels () const

Static Public Member Functions


Protected Member Functions

  • MovieSurface ()
  • MovieSurface (const Url &url)
  • MovieSurface (const fs::path &path)
  • MovieSurface (const MovieLoader &loader)
  • NSDictionary *
    avPlayerItemOutputDictionary () const override
  • allocateVisualContext () override
  • deallocateVisualContext () override
  • newFrame (CVImageBufferRef cvImage) override
  • releaseFrame () override
  • MovieSurface ()
  • MovieSurface (const fs::path &path)
  • MovieSurface (const class MovieLoader &loader)
  • MovieSurface (DataSourceRef dataSource, const std::string mimeTypeHint="")
  • allocateVisualContext ()
  • getObj () const
  • init ()
  • init ()
  • initFromUrl (const Url &url)
  • initFromPath (const fs::path &filePath)
  • initFromPath (const fs::path &filePath)
  • initFromLoader (const MovieLoader &loader)
  • initFromLoader (const class MovieLoader &loader)
  • loadAsset ()
  • updateFrame ()
  • updateFrame ()
  • uint32_t
    countFrames () const
  • processAssetTracks (AVAsset *asset)
  • createPlayerItemOutput (const AVPlayerItem *playerItem)
  • lock ()
  • unlock ()
  • removeObservers ()
  • addObservers ()
  • playerReady ()
  • playerItemEnded ()
  • playerItemCancelled ()
  • playerItemJumped ()
  • outputWasFlushed (AVPlayerItemOutput *output)
  • updateLoadState ()
  • setupFft (FourCharCode code, uint32_t bandNum, uint8_t channelNum)
  • TimeValue
    getStartTimeOfFirstSample () const
  • initFromMemory (const void *data, size_t dataSize, const std::string &fileNameHint, const std::string &mimeTypeHint)
  • initFromDataSource (DataSourceRef dataSource, const std::string &mimeTypeHint)
  • int32_t
    countFrames (::Movie theMovie)

Protected Attributes

  • mSurface
  • std::shared_ptr< Obj >
    mObj
  • int32_t
    mWidth
  • int32_t
    mHeight
  • int32_t
    mFrameCount
  • float
    mFrameRate
  • float
    mDuration
  • std::atomic< bool >
    mAssetLoaded
  • bool
    mLoaded
  • bool
    mPlayThroughOk
  • bool
    mPlayable
  • bool
    mProtected
  • bool
    mPlayingForward
  • bool
    mLoop
  • bool
    mPalindrome
  • bool
    mHasAudio
  • bool
    mHasVideo
  • bool
    mPlaying
  • AVPlayer *
    mPlayer
  • AVPlayerItem *
    mPlayerItem
  • AVURLAsset *
    mAsset
  • AVPlayerItemVideoOutput *
    mPlayerVideoOutput
  • std::mutex
    mMutex
  • mSignalNewFrame
  • mSignalReady
  • mSignalCancelled
  • mSignalEnded
  • mSignalJumped
  • mSignalOutputWasFlushed
  • mResponder
  • MovieDelegate *
    mPlayerDelegate