Video decoder interface.
Public Member Functions | |
| virtual const achar * | GetVideoDecoderName () const =0 |
| Get the name of the decoder used. {Property}. More... | |
| virtual tF64 | GetVideoFps () const =0 |
| Get the original number of frames per second of the video. {Property}. More... | |
| virtual tVideoDecoderFlags | GetFlags () const =0 |
| Get the decoder flags. {Property}. More... | |
| virtual tF64 | GetLength () const =0 |
| Get the video's length. More... | |
| virtual void | SetTime (tF64 afTime)=0 |
| Set the current time. More... | |
| virtual tF64 | GetTime () const =0 |
| Get the current time. More... | |
| virtual void | SetPause (tBool abPause)=0 |
| Set pause. More... | |
| virtual tBool | GetPause () const =0 |
| Get the pause status. More... | |
| virtual void | SetSpeed (tF32 afSpeed)=0 |
| Set the time's speed. More... | |
| virtual tF32 | GetSpeed () const =0 |
| Get the time's speed. {Property}. More... | |
| virtual void | SetNumLoops (ni::tU32 anLoop)=0 |
| Set the number of time the time should loop. {Property}. More... | |
| virtual ni::tU32 | GetNumLoops () const =0 |
| Get the number of loop. {Property}. More... | |
| virtual tBool | Update (tBool abUpdateTarget, tF32 afFrameTime)=0 |
| Update the video. More... | |
| virtual iTexture * | GetTargetTexture ()=0 |
| Get the target texture. {Property}. More... | |
| virtual iBitmap2D * | GetTargetBitmap ()=0 |
| Get the target bitmap. {Property}. More... | |
| virtual tU32 | GetNumSoundTracks () const =0 |
| Get the number of sound tracks attached to the video. {Property}. More... | |
| virtual iUnknown * | GetSoundTrackData (tU32 anNumTrack)=0 |
| Get a sound data of a track associated with the video. {Property}. More... | |
| virtual void | SetUpdateOnBind (tBool abUpdateOnBind)=0 |
| Set whether the video should automatically be updated when bound for rendering. {Property}. More... | |
| virtual tBool | GetUpdateOnBind () const =0 |
| Get whether the video should automatically be updated when bound for rendering. {Property}. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the name of the decoder used. {Property}.
|
pure virtual |
Get the original number of frames per second of the video. {Property}.
|
pure virtual |
Get the decoder flags. {Property}.
|
pure virtual |
Get the video's length.
Set the current time.
| afTime | is the time to set. {Property} |
|
pure virtual |
Get the current time.
Set pause.
| abPause,if | eTrue the update and decoding will be paused. |
|
pure virtual |
Get the pause status.
Set the time's speed.
| afSpeed | is the speed to set, 1 is the original speed, 2 is twice faster, 0.5 half the original speed and so on. {Property} |
|
pure virtual |
Get the time's speed. {Property}.
Set the number of time the time should loop. {Property}.
|
pure virtual |
Get the number of loop. {Property}.
Update the video.
| abUpdateTarget,if | eTrue will update the target else only the current frame and time will be updated. |
| afFrameTime | is the time elapsed since the last frame. If you dont want the method to compute the new frame set it to zero. |
|
pure virtual |
Get the target texture. {Property}.
|
pure virtual |
Get the target bitmap. {Property}.
|
pure virtual |
Get the number of sound tracks attached to the video. {Property}.
Get a sound data of a track associated with the video. {Property}.
Set whether the video should automatically be updated when bound for rendering. {Property}.
|
pure virtual |
Get whether the video should automatically be updated when bound for rendering. {Property}.
1.8.7