Go to directory $(CTRMW_MOBICLIP_ROOT)/Sampledemos and run omake.
$(CTRMW_MOBICLIP_ROOT)/Sampledemos/(demo name)/images/(platform)/(target)/(demo name).cci executable file is created.
You can retrieve CPU processing time taken by each Mobiclip module by calling the mw::mo::helper::Player::PrintStatistics method.
It will print CPU usage information onto the debug console. It is for example called in all sample demos when exiting application.
Most of the CPU time is spent decoding video frames. As a consequence, 3D interleaved movies often need twice the CPU decoding time of 2D ones.
In all sample demos a summary of memory usage is printed onto the debug console when exiting application.
This gives information like the total number of allocations and the maximum amount of data allocated at any time for each Mobiclip module and for all mw::mo::helper modules.
| ramPlayback | Plays a moflex content with sound, preloaded to CTR main memory. The sample uses the mw::mo::filter::Deblocker class to enhance image quality. Pressing B button pauses the movie playback. Pressing A button resumes the movie playback. |
|---|---|
| fsPlayback | Plays a moflex content with sound streamed from ROM/MMC/SD/SDHC. The sample uses the mw::mo::filter::Deblocker class to enhance image quality. Pressing B button pauses the movie playback. Pressing A button resumes the movie playback. |
| seekDemo | Shows how to perform seeking in a Moflex movie. Pressing B button pauses the movie playback. Pressing A button resumes the movie playback. Pressing then releasing L or R buttons allows to visually perform seeking using a timeline bar that is displayed on the top screen. Pressing LEFT button will make the player go to the previous keyframe and pauses the movie playback. Pressing RIGHT button will make the player go to the next keyframe and pauses the movie playback. |
| multitrackAudio | Shows how to perform the playback of Moflex movie that contain multiple audio tracks. Selecting the active (played) audio track is done by using UP and DOWN buttons. Pressing B button pauses the movie playback. Pressing A button resumes the movie playback. |
| dualScreen | Shows how to perform dual screen movie playback, either 3D or 2D for the top screen. Pressing B button pauses the movie playback. Pressing A button resumes the movie playback. |
| nw4cPlayback | Shows how to perform movie playback while using NintendoWare API at the same time. Font rendering is done on top of video images and an external audio stream is played concurrently with the MoFlex audio track, all by using NintendoWare API. |
| nw4cSequence | Show how to perform movie playback after displaying a 3D scene using NintendoWare API. Press the X button to switch from 3D view to movie playback. |
| acceleratedPlayback | Shows how to perform movie playback (without audio rendering) at 1.5x or 2x of the normal video frame rate. |