|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <NativeManaPlayer.h>
クラス | |
| struct | FAudioTrackAttributes |
| struct | FAudioTrackInfo |
| struct | FLoopState |
| class | FManaInternalPlayer |
| struct | FMovieInfo |
| struct | FPlaybackRange |
| struct | FPlayerSequenceState |
| struct | FPlaystartOptions |
| struct | FSeekParam |
| struct | FSeekVars |
| struct | FStreamBufferInfo |
| struct | FSubtitleTrackAttributes |
| struct | FVideoTrackAttributes |
| class | IAsyncResourceReleaseNotifyContainer |
公開型 | |
| enum | { ResourceFlags_Decoder = 1 << 0 , ResourceFlags_OutputBuffers = 1 << 1 , ResourceFlags_All = (1 << 2) - 1 , ResourceFlags_Any = ResourceFlags_All } |
| enum class | EManaPlayerCommand { DecodeHeader , Prepare , Play , Pause , Loop , Seek , Stop , Destroy , Flush , Update , DelayNextTick } |
| enum class | EPlayerState : uint8 { Stop = 0 , DecHdr , WaitPrep , Prep , Ready , Playing , PlayEnd , Error , Closed } |
| enum class | ETimeRangeType { Absolute , Current } |
公開メンバ関数 | |
| FNativeManaPlayer (const TSharedPtr< IManaPlayerDelegate, ESPMode::ThreadSafe > &AdapterDelegate) | |
| virtual | ~FNativeManaPlayer () |
| bool | CanPresentAudioFrames (uint64 NumFrames) |
| bool | CanPresentVideoFrames (uint64 NumFrames) |
| void | CloseInternal (bool) |
| void | DropOldFramesFromPresentationQueue () |
| void | ExecuteNativePlayerCommand (TFunction< void(void *NativePlayer)> InFunction) |
| bool | GetAlphaTrackFormat (int32 TrackIndex, int32 FormatIndex, FManaVideoTrackInfo &OutFormat) const |
| FCriAtomExPlayerPtr | GetAtomExPlayer (EManaTrackType TrackType) |
| FCriAtomVoicePoolPtr | GetAtomExVoicePool (EManaTrackType TrackType) |
| bool | GetAudioTrackFormat (int32 TrackIndex, int32 FormatIndex, FManaAudioTrackInfo &OutFormat) const |
| FTimespan | GetDuration () |
| int32 | GetLoopCount () const |
| CriManaPlayerHn | GetNativePlayer () const |
| int32 | GetNumTrackFormats (EManaTrackType TrackType, int32 TrackIndex) const |
| int32 | GetNumTracks (EManaTrackType TrackType) const |
| TRange< FTimespan > | GetPlaybackRange (ETimeRangeType InRangeToGet) const |
| void | GetPlaybackRange (FPlaybackRange &OutPlaybackRange) const |
| float | GetRate () |
| void | GetSeekableRange (FTimespan &Start, FTimespan &End) |
| int32 | GetSelectedTrack (EManaTrackType TrackType) const |
| EPlayerState | GetState () |
| bool | GetStreamBufferInformation (FStreamBufferInfo &OutBufferInformation, EManaTrackType InTrackType) const |
| FTimespan | GetTime () |
| FText | GetTrackDisplayName (EManaTrackType TrackType, int32 TrackIndex) const |
| int32 | GetTrackFormat (EManaTrackType TrackType, int32 TrackIndex) const |
| FString | GetTrackLanguage (EManaTrackType TrackType, int32 TrackIndex) const |
| FString | GetTrackName (EManaTrackType TrackType, int32 TrackIndex) const |
| FString | GetUrl () const |
| bool | GetVideoTrackFormat (int32 TrackIndex, int32 FormatIndex, FManaVideoTrackInfo &OutFormat) const |
| void | HandleNativeOnCuePoint (CriManaEventPoint *EventPoint) |
| bool | IsLooping () |
| bool | IsPaused () |
| void | OnAudioDecoded (const IManaMovieAudioDecoderOutputPtr &DecoderOutput) |
| void | OnAudioFlush () |
| void | OnEventPointReceived (TSharedPtr< FManaEventPointInfo, ESPMode::ThreadSafe > EventPointInfo) |
| void | OnSubtitleDecoded (const IManaMovieSubtitleDecoderOutputPtr DecoderOutput) |
| void | OnSubtitleFlush () |
| void | OnVideoDecoded (const FManaMovieVideoDecoderOutputPtr &DecoderOutput, bool bDoNotRender) |
| void | OnVideoFlush () |
| bool | OpenInternal (const FString &Url, const FPlaystartOptions &PlaystartOptions) |
| void | Pause (bool bPause) |
| void | PlayInternal () |
| bool | Seek (const FTimespan &Time) |
| bool | Seek (const FTimespan &Time, const FSeekParam &Param) |
| bool | SelectTrack (EManaTrackType TrackType, int32 TrackIndex) |
| void | SetAsyncResourceReleaseNotification (IAsyncResourceReleaseNotifyContainer *AsyncResourceReleaseNotification) |
| void | SetGuid (const FGuid &Guid) |
| bool | SetLooping (bool bLooping) |
| bool | SetNativeVolume (float Volume) |
| void | SetPlaybackRange (const FPlaybackRange &InPlaybackRange) |
| bool | SetRate (float Rate) |
| void | Tick (FTimespan DeltaTime, FTimespan Timecode) |
| void | TickAudio () |
| const TCHAR * | ToString (EManaPlayerCommand Cmd) |
| const TCHAR * | ToString (EPlayerState Cmd) |
公開変数類 | |
| friend | FManaInternalPlayer |
| FMovieInfo | MovieInfo |
非公開メンバ関数 | |
| void | CalculateTargetSeekTime (FTimespan &OutTargetTime, const FTimespan &InTime) |
| void | ClearToDefaultState () |
| void | OnSeekRequest (const FSeekParam &InSeekPosition) |
| void | OnStatusChanged (EPlayerState NewStatus) |
| void | PrepareResourcesForPlayback () |
| bool | PresentAudioFrame (const IManaMovieAudioDecoderOutputPtr &DecoderOutput) |
| bool | PresentSubtitle (const IManaMovieSubtitleDecoderOutputPtr &DecoderOutput) |
| bool | PresentVideoFrame (const FManaMovieVideoDecoderOutputPtr &InVideoFrame) |
| bool | ProcessAudioTime () |
| bool | ProcessManaCommand (EManaPlayerCommand Command, EPlayerState InManaStatus, bool bInternal=false) |
| bool | ProcessSeek (EPlayerState InManaStatus) |
| bool | ProcessVideoFrame () |
| void | SeekTo (const FSeekParam &NewPosition) |
| EPlayerState | UpdateStatus () |
| anonymous enum |
|
strong |
|
strong |
|
strong |
| FNativeManaPlayer::FNativeManaPlayer | ( | const TSharedPtr< IManaPlayerDelegate, ESPMode::ThreadSafe > & | AdapterDelegate | ) |
|
virtual |
|
private |
| bool FNativeManaPlayer::CanPresentAudioFrames | ( | uint64 | NumFrames | ) |
| bool FNativeManaPlayer::CanPresentVideoFrames | ( | uint64 | NumFrames | ) |
|
private |
| void FNativeManaPlayer::CloseInternal | ( | bool | bKillAfterClose | ) |
| void FNativeManaPlayer::DropOldFramesFromPresentationQueue | ( | ) |
Attempt to drop any old frames from the presentation queue
| void FNativeManaPlayer::ExecuteNativePlayerCommand | ( | TFunction< void(void *NativePlayer)> | InFunction | ) |
| bool FNativeManaPlayer::GetAlphaTrackFormat | ( | int32 | TrackIndex, |
| int32 | FormatIndex, | ||
| FManaVideoTrackInfo & | OutFormat ) const |
| FCriAtomExPlayerPtr FNativeManaPlayer::GetAtomExPlayer | ( | EManaTrackType | TrackType | ) |
| FCriAtomVoicePoolPtr FNativeManaPlayer::GetAtomExVoicePool | ( | EManaTrackType | TrackType | ) |
| bool FNativeManaPlayer::GetAudioTrackFormat | ( | int32 | TrackIndex, |
| int32 | FormatIndex, | ||
| FManaAudioTrackInfo & | OutFormat ) const |
| FTimespan FNativeManaPlayer::GetDuration | ( | ) |
| int32 FNativeManaPlayer::GetLoopCount | ( | ) | const |
|
inline |
| int32 FNativeManaPlayer::GetNumTrackFormats | ( | EManaTrackType | TrackType, |
| int32 | TrackIndex ) const |
| int32 FNativeManaPlayer::GetNumTracks | ( | EManaTrackType | TrackType | ) | const |
| TRange< FTimespan > FNativeManaPlayer::GetPlaybackRange | ( | ETimeRangeType | InRangeToGet | ) | const |
| void FNativeManaPlayer::GetPlaybackRange | ( | FPlaybackRange & | OutPlaybackRange | ) | const |
| float FNativeManaPlayer::GetRate | ( | ) |
| void FNativeManaPlayer::GetSeekableRange | ( | FTimespan & | Start, |
| FTimespan & | End ) |
| int32 FNativeManaPlayer::GetSelectedTrack | ( | EManaTrackType | TrackType | ) | const |
|
inline |
| bool FNativeManaPlayer::GetStreamBufferInformation | ( | FStreamBufferInfo & | OutBufferInformation, |
| EManaTrackType | InTrackType ) const |
Provides information about the time ranges that are currently available to the player and those that are being loaded.
| FTimespan FNativeManaPlayer::GetTime | ( | ) |
| FText FNativeManaPlayer::GetTrackDisplayName | ( | EManaTrackType | TrackType, |
| int32 | TrackIndex ) const |
| int32 FNativeManaPlayer::GetTrackFormat | ( | EManaTrackType | TrackType, |
| int32 | TrackIndex ) const |
| FString FNativeManaPlayer::GetTrackLanguage | ( | EManaTrackType | TrackType, |
| int32 | TrackIndex ) const |
| FString FNativeManaPlayer::GetTrackName | ( | EManaTrackType | TrackType, |
| int32 | TrackIndex ) const |
|
inline |
| bool FNativeManaPlayer::GetVideoTrackFormat | ( | int32 | TrackIndex, |
| int32 | FormatIndex, | ||
| FManaVideoTrackInfo & | OutFormat ) const |
| void FNativeManaPlayer::HandleNativeOnCuePoint | ( | CriManaEventPoint * | EventPoint | ) |
| bool FNativeManaPlayer::IsLooping | ( | ) |
| bool FNativeManaPlayer::IsPaused | ( | ) |
| void FNativeManaPlayer::OnAudioDecoded | ( | const IManaMovieAudioDecoderOutputPtr & | DecoderOutput | ) |
The audio renderer is adding a buffer to the queue
| void FNativeManaPlayer::OnAudioFlush | ( | ) |
| void FNativeManaPlayer::OnEventPointReceived | ( | TSharedPtr< FManaEventPointInfo, ESPMode::ThreadSafe > | EventPointInfo | ) |
|
private |
|
private |
Setup status flags when native player status changes.
| NewStatus | The new player status. |
| void FNativeManaPlayer::OnSubtitleDecoded | ( | const IManaMovieSubtitleDecoderOutputPtr | DecoderOutput | ) |
| void FNativeManaPlayer::OnSubtitleFlush | ( | ) |
| void FNativeManaPlayer::OnVideoDecoded | ( | const FManaMovieVideoDecoderOutputPtr & | DecoderOutput, |
| bool | bDoNotRender ) |
The video renderer is adding a buffer to the queue
| void FNativeManaPlayer::OnVideoFlush | ( | ) |
| bool FNativeManaPlayer::OpenInternal | ( | const FString & | Url, |
| const FPlaystartOptions & | PlaystartOptions ) |
| void FNativeManaPlayer::Pause | ( | bool | bPause | ) |
| void FNativeManaPlayer::PlayInternal | ( | ) |
|
private |
|
private |
Check timeline and moves sample over to media FACADE sinks
Returns true if sample was moved over, but DOES not remove the sample from player queue
|
private |
|
private |
Check timeline and moves sample over to media FACADE sinks
Returns true if sample was moved over, but DOES not remove the sample from player queue
|
private |
|
private |
Process the given Mana command.
| Command | The command to process. |
| InManaStatus | The current player status. @paran bInternal Is the command do not check status flags. |
|
private |
|
private |
| bool FNativeManaPlayer::Seek | ( | const FTimespan & | Time | ) |
| bool FNativeManaPlayer::Seek | ( | const FTimespan & | Time, |
| const FSeekParam & | Param ) |
|
private |
| bool FNativeManaPlayer::SelectTrack | ( | EManaTrackType | TrackType, |
| int32 | TrackIndex ) |
| void FNativeManaPlayer::SetAsyncResourceReleaseNotification | ( | IAsyncResourceReleaseNotifyContainer * | AsyncResourceReleaseNotification | ) |
|
inline |
| bool FNativeManaPlayer::SetLooping | ( | bool | bLooping | ) |
| bool FNativeManaPlayer::SetNativeVolume | ( | float | Volume | ) |
| void FNativeManaPlayer::SetPlaybackRange | ( | const FPlaybackRange & | InPlaybackRange | ) |
| bool FNativeManaPlayer::SetRate | ( | float | Rate | ) |
| void FNativeManaPlayer::Tick | ( | FTimespan | DeltaTime, |
| FTimespan | Timecode ) |
| void FNativeManaPlayer::TickAudio | ( | ) |
|
inline |
|
inline |
|
private |
|
private |
Notification listener to signal when native Mana player is destroyed.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
The URL of the currently opened media.
|
private |
|
private |
| friend FNativeManaPlayer::FManaInternalPlayer |
|
private |
|
private |
|
private |
|
private |
| FMovieInfo FNativeManaPlayer::MovieInfo |
|
private |
|
private |
Mana player Guid
|
mutableprivate |
|
private |
|
private |
Mana player command queue.
|
private |
Mana player event queue.
|
private |
|
private |