|
| | PsMovie (const char *pszName) |
| | Construct a movie without data.
|
| | ~PsMovie () override |
| | Release the data.
|
| float | EndFrame () override |
| | Report the last frame, fixed at 10 whatever the length of the file.
|
| int | SetFrameSelf (float fFrame) override |
| | Queue the decode of the frame after the one decoded last, or of the first frame when the requested frame is earlier.
|
| void | Open () override |
| | Take a reference on the texture, then load the data.
|
| void | Close () override |
| | Release the data, then drop the reference on the texture.
|
| void | Replace (RndObject *pFrom, RndObject *pTo) override |
| | Wait while the movie is queued when the texture is replaced, then replace it.
|
| void | OpenData () |
| | Load the file, size the texture for it, and build the IPU input chain.
|
| void | CloseData () |
| | Wait while the movie is queued, then release the data and the IPU input chain.
|
| void | FinishFrame () |
| | End the decode of a frame, mark the texture for upload, and start the next movie queued.
|
| void | StartFrame () |
| | Start the IPU decoding the next frame into the bitmap of the texture.
|
| | RndMovie (const char *pszName) |
| | Construct a movie without a file or a texture.
|
| | ~RndMovie () override |
| | Close the movie.
|
| void * | operator new (size_t nSize) |
| | Allocate a movie, billed to the class name.
|
| void | operator delete (void *pBlock) |
| | Release a movie.
|
| void | ListAnimObjects (std::list< RndObject * > &objects) override |
| | Add the texture to a list, then the objects of the children.
|
| void | DumpText (PrnStream &stream) override |
| | Write a description of the movie and its base.
|
| void | Save (BinStream &stream) override |
| | Write the movie and its base.
|
| void | Replace (RndObject *pFrom, RndObject *pTo) override |
| | Replace the texture with another.
|
| const char * | ClassName () const override |
| | Report the class name.
|
| void | Copy (const RndObject *pSource, int nFlags) override |
| | Copy another movie and its base, closing the movie first and opening it after.
|
| void | Load (BinStream &stream) override |
| | Read what Save() wrote, or an earlier version of it, closing the movie first and opening it after.
|
| const FilePath & | GetFile () const |
| RndTex * | GetTex () const |
| | RndAnimatable () |
| | Construct an animatable at frame 0 without children or filters.
|
| | ~RndAnimatable () override |
| | Drop the references on the children and delete the filters.
|
| RndAnimatable * | Parent () |
| | Find the animatable whose children include this one.
|
| void | SetFrame (float fFrame) |
| | Filter a frame, apply it, and pass the result on to the children.
|
| float | FilterFrame (float fValue) |
| | Run a frame through the filters.
|
| float | UnfilterFrame (float fValue) |
| | Run a filtered frame back through the filters, last first.
|
| float | ChildrenEndFrame () |
| | Report the latest end frame of the children, unfiltered through this animatable.
|
| bool | AddAnim (RndAnimatable *pAnim) |
| | Append a child.
|
| void | RemoveAnim (RndAnimatable *pAnim) |
| | Remove a child.
|
| void | RemoveAllAnims () |
| | Remove every child.
|
| const std::list< Filter * > & | GetFilters () const |
| float | GetFrame () const |
| float | GetFilteredFrame () const |
| const std::list< RndAnimatable * > & | GetAnims () const |
| std::list< Filter * > & | GetFilters () |
| | RndObject (const char *pszName) |
| | Construct an object and register it under a name.
|
| virtual | ~RndObject () |
| | Notify every referrer, then erase the registration.
|
| void | SetName (const char *pszName) |
| | Register the object under a different name.
|
| void | AddRef (RndObject *pReferrer) |
| | Register an object as a store of a pointer to this one.
|
| void | RemoveRef (RndObject *pReferrer) |
| | Drop the first registration AddRef() made for a referrer.
|
| const char * | GetName () const |
| const std::list< RndObject * > & | GetRefs () const |
| int | GetInternal () const |
| void | SetInternal (int nInternal) |
|
| static void | Init () |
| | Install the movie factory for the class Movie of a .rnd file, reset the IPU, and install the interrupt handler.
|
| static void | Terminate () |
| | Remove the interrupt handler and restore the generic movie factory.
|
| static void | RemoveHandler () |
| | Remove the interrupt handler.
|
| static void | InstallHandler () |
| | Install the interrupt handler unless it is installed.
|
| static int | DmacHandler (int nChannel) |
| | End the frame of the movie decoding, the interrupt handler of the IPU output channel.
|
| static RndObject * | New (const char *pszName) |
| | Create a movie.
|
| static RndObject * | New (const char *pszName) |
| | Create a movie.
|
| static Filter * | NewFilter (int nType) |
| | Create a filter stage of a type, with its parameters unset.
|
| static void | CollectChildren (std::list< RndObject * > &objects, RndAnimatable *pAnimatable) |
| | Append every animation descendant of an animatable, depth first, each before its descendants.
|
Movie, PlayStation 2.
The RTTI includes the class name and records RndMovie as the one base. The movie file is an IPU stream that the IPU decodes one frame at a time straight into the bitmap of the texture, as 16-bit colour. One movie decodes at a time. A movie that requests a frame while another decodes waits in the queue that mNext links, and the interrupt handler of the IPU output channel starts the next one.