======================================================================
 Mobiclip Library Version 3.3.0
                                                    February 17th 2011
======================================================================

Table of Contents
- Introduction
- Notandums
- Copyright Notice for Licensed Products
- System Requirements
- Installing and Running the Sample Demos
- Using the Library
- About Mobiclip Tools for NINTENDO Wii License
- Revision History


======================================================================
Introduction
======================================================================

The Mobiclip library is a library that enables you to play movies in
Mobiclip format on the Wii.
This package consists of the Mobiclip library, its sample demos, and
tools to create Mobiclip contents(.mo files).


======================================================================
Notandums
======================================================================

- The libraries in this package are not guaranteed to work with 
  Mobiclip contents(.mo files) that have been generated with Mobiclip
  tools of a different package.
  Tools versions in this package are:
    * V2.2.42 for the VFW codec.
    * V6.02.005 for MoCoderAvi, MoSimulator and MoDump tools.

- This library can be used only for playing movie content already 
  included in a stored application. It cannot be used to play movie 
  content that is accessed or added via a network or other means and 
  that is therefore not included in the application.


======================================================================
Copyright Notice for Licensed Products
======================================================================

In order to use the Mobiclip libraries in final products, it is
mandatory to add a copyright notice in the product instruction manual.
Please refer to printed guideline, or e-manual guideline provided by
Nintendo to display sentences.


======================================================================
System Requirements
======================================================================

The operations of this package have been confirmed for the following 
development environments:

- Revolution SDK Version 3.3 20100823 + patch 2
- CodeWarrior for Wii Version 1.5

You also need NDEV hardware and NDEV software.


======================================================================
Installing and Running the Sample Demos
======================================================================

Set the path to the uncompressed package (libMobiclip) in the 
environment variable REVOLUTION_LIBMOBICLIP_ROOT.

Set $(REVOLUTION_LIBMOBICLIP_ROOT)/dvddata to DvdRoot, or copy all the
content of $(REVOLUTION_LIBMOBICLIP_ROOT)/dvddata directory to the 
directory specified by DvdRoot.

Run make from the ($REVOLUTION_LIBMOBICLIP_ROOT)/build/demos/mo 
directory. 

Be careful not to overwrite the Revolution SDK or NintendoWare for 
Revolution folders when installing this package.

The package includes the following demos:

  * Simple          : Basic program that output video as yuv420/YV12 
                      images already tiled. No sound is rendered.

  * SimpleYUYV      : Basic program that output video by writing 
                      directly in the display XFB buffers. 
                      No sound is rendered.

  * SyncAudio       : Play a movie with sound. 

  * MultiTrackAudio : Shows how to manage multiple audio tracks. 
                      Currently played audio track is changed 
                      dynamically by the user during the movie 
                      playback by using + Button and - Button of the
                      Wii Remote. This sample outputs images as 
                      yuv420/YV12 images.  

  * SyncVideoFPS    : Plays movie without audio and outputs the video 
                      at the correct framerate. If decoding is too 
                      slow the video images are skipped instead of 
                      being blitted. This sample outputs images as 
                      yuv420/YV12 images.

  * MultiThreaded   : Play a movie using 2 threads, one for decoding, 
                      one for displaying. This sample outputs images 
                      by writing directly in the display XFB buffers.

  * MultiVideo      : Play two movies simultaneously as yuv420/YV12 
                      images. No sound is rendered.

  * ReadFromRam     : Copy a movie to Ram and play it from Ram. This 
                      sample outputs images as yuv420/YV12 images.
                      No sound is rendered.     

  * ReadFromCNT     : Read a file using the CNT library. This sample 
                      output images as yuv420/YV12 images.
                      No sound is rendered.

  * Seek            : Seek demo, seek forward/backward and jump in the 
                      middle of the movie. This sample outputs images 
                      as yuv420/YV12 images. No sound is rendered.    

  * StrideYUV       : Output QVGA movie inside a VGA YUV tiled 
                      texture. No sound is rendered.

  * StrideRGB       : Output QVGA movie inside a VGA RGBA888 texture.
                      No sound is rendered.

  * PlayAsRgbTexture: Output images as RGBA888 texture.
                      No sound is rendered.


======================================================================
Using the Library
======================================================================

- See "Using the Library" in the "Mobiclip Library Function Reference 
  Manual"


======================================================================
About Mobiclip Tools for NINTENDO Wii License
======================================================================

You need to obtain a license file in order to use the Mobiclip VFW
Codec and its related tools. 
See libMobiclip/docs/en_US/Mobiclip/QuickStart.pdf for more 
information.


======================================================================
Revision History
======================================================================

3.3.0
    - Mobiclip VFW codec version bumped from V2.2.34 to V2.2.42.
    - MoDump, MoCoderAvi and MoSimulator utilities version bumped from
      V6.02.004 to V6.02.005. 
      They are using different Windows registry strings, please do not 
      forget to re-install your Mobiclip license after installing them.
    - MoSimulator utility modification done; when clicking on
      'Device->Select...' the following devices are now available:
        * 'Mobiclip_43_To_169' instead of 'Actimagine_43_To_169'
        * 'Mobiclip' instead of 'Actimagine'
    - Modifications done in libMobiclip API:
        * Added the MO_VIDEO_FORMAT_YUYV_LINEAR value in
          MOVideoFrameFormat enum. 
        * Added the MOGetYUYVImage function.
      See html Function Reference Manual for more details.
    - Modifications done in html Function Reference Manual to match
      API changes.
    - Modifications of QuickStart document, version bumped to 1.0.3:
        * Updated screen captures of some VFW codec dialog boxes to
          match latest version.
        * Added description new Quality parameter of "CBR - Nth Pass"
          encoding scheme  in chapter 4.4.2.1.
        * In chapter 5.2 the default value of "Out" field is now
          correctly described.
        * In chapter 4.4.2 the default values of some VFW codec
          parameters have been tuned.
        * In chapter 4.3 'Rule7' now says that the maximum resolution
          for encoding is 720x576 (was 640x480 before).
    - Modifications of Encoding Guide document, version bumped to 1.0.1:
        * Updated screen captures of some VFW codec dialog boxes to
          match latest version.
    -  Modifications done in avLib library:
        * MoDemoVideo.h and .c files added: they manage video 
          initialization/shutdown and XFB buffers management.
        * MoDemoVideoYuv.h and .c modified to use the routines
          implemented in MoDemoVideo.h and .cpp files.
        * MoDemoVideoRgb.h and .c modified to use the routines
          implemented in MoDemoVideo.h and .c files.  
        * MoDemoVi.h and .c files added: they manage text message
          rendering into XFB buffers.
    -  Modifications done in controlLib library should help the 
       developper pass lot check using Mobiclip dvdControl routines:
        * Added DvdDriveCheck function in dvdControl.h and .c files.
          It checks the DVD drive status. If an error is detected 
          it prints an error message to screen. 
        * 'Mobiclip' string inside dvdControl.c file should be replaced 
          by final developper game name.
    - Modifications done in code samples:
        * Added SimpleYUYV code sample that shows how to output video 
          by writing directly in the display XFB buffers.
        * All code samples that are using dvdControl routines are now
          calling DvdDriveCheck function regularly during playback.
        * All code samples modified to use the new MoDemoVideo routines
          and the modifications done in MoDemoVideoYuv and
          MoDemoVideoRgb routines.
    - Modifications done in avLib and controlLib makefiles to optimize
      build dependencies between these libraries and the code samples 
      that are using them.
    
3.2.0
    - Fixed endianness issues found in IMAADPCM audio decoding routine
      of libMobiclip libraries. 
    - Fixed a libMobiclip libray internal buffer overrun bug that 
      could happen on some rare cases and make the application crash.
    - Added MOSetAudioChannelOrdering and MOGetAudioChannelOrdering
      functions in libMobiclip API. See html Function Reference Manual
      for more details. SyncAudio, MultiThreaded and MultiTrackAudio
      sample codes modified to make use of them.
    - In libMobiclip API, added following values in MOResult enum:
      MO_RESULT_NO_AUDIO_TRACK, MO_RESULT_NO_VALID_AUDIO_PACKET and
      MO_RESULT_NO_VALID_IMAGE. The following functions are now
      returning at least of these values:
        * MOGetAudioPacket
        * MOSkipAudioPacket
        * MOGetNextAudioPacketSize
        * MOGetActiveAudioTrack
        * MOSetActiveAudioTrack
        * MOGetYUVImage
        * MOGetRGBImage
        * MOSkipImage
      See html Function Reference Manual for more details.
    - Added support for PCM audio in Mobiclip tools and libMobiclip 
      API.
    - Mobiclip VFW codec version bumped from V2.2.33 to V2.2.34.
    - Mobiclip VFW codec fix: when the Mobiclip license was
      expired, the text "Your Mobiclip license has expired." was not 
      always showed in the About dialog box.
    - MoDump, MoCoderAvi and MoSimulator utilities version bumped from
      V6.00.410 to V6.02.004.
    - MoCoderAvi utility modifications:
        * Could generate unplayable Mobiclip content(.mo file) on 
          somme rare cases. The following message could appear during 
          playback on Wii platform:
          "[SDK]ReadingHeaderLoop need 'x' bytes, got 'y'". 
          This problem is fixed.
        * 'Pcm' string is accepted as parameter of 'Audiocodec' field
          inside of .mcj files.
        * 'FastAudioStereo' and ImaAdpcmStereo' still accepted as 
          paramater of 'Audiocodec' field but are deprecated.
        * Added 'AudioChannel' field support in .mcj files. See in 
          5.2 chapter of QuickStart document for more details.
        * When no argument is given to the program (when called 
          from the command line), the following message is now 
          displayed: 
          "mcj file argument expected, a valid command line should be:
           MoCoderAvi.exe -Job <your_mcj_file.mcj>".
           This problem is fixed.
        * When no audio was present in source Avi file but 
          'Audiocodec' field inside of .mcj file had a value diffent 
          of 'None', a corrupted Mobiclip content(.mo file) was 
          generated. Now the following steps are performed:
              + a warning message is displayed:
                "Warning: encoding of audio requested but no audio 
                found in AVI file, will generate Mobiclip content 
                without audio."
              + a valid Mobiclip content(.mo file) is generated 
                without any audio.
    - MoDump utility bug removed: could sometimes wrongly display the 
      following message: "Mobiclip file not valid or corrupted".
    - MoSimulator utility modifications:
        * when you encode the original source that has 16/9 aspect 
          ratio to 4/3 anamorphosed video for playback on Wii, you can 
          enlarge it during playback to preview it with its original 
          16/9 aspect ratio. To do that you have to perform the following 
          steps:
            + From MoSimulator menu click on Device->Select...
            + Select 'Actimagine_43_To_169'
            + Select 'Actimagine' if you want to play back non 
              anamorphosed Mobiclip contents(.mo files).
        * When selecting File->Properties... from the menu, the
          displayed bitrate value could be negative due to an 
          arithmetic overflow. This problem is fixed.
    - Seek sample code changed; the following warning message could 
      still be displayed in some cases:
      "Warning: VIFlush() was not called for 60 frames although 
      VI settings were changed". This problem is  fixed.
    - in avLib the thp_draw color conversion routines are dropped:
      there were performing JFIF color conversion that is only 
      adapted for JPEG images and MJPEG videos. A CCIR 601 
      YUV->RGB conversion formula is now used instead, that provide 
      accurate results for Mobiclip videos. MoDemoYuv2RgbDraw.c and 
      .h files are added and used in sample codes.  
    - 'make' of avLib and controlLib libraries are executed each time 
      'make' is called from a sample demo directory.
    - Small modification done in 'mocommon.make' file that could prevent 
      building the sample demos with future revisions of the 
      RevolutionSDK.  
    - Modifications of QuickStart document, version bumped to 1.0.2:
        * Added job control description usage for VirtualDub V1.9.6.
        * Added a note about self-installer in 3.2.1 chapter.
        * removed a rule talking about "inverse telecine" in 4.3 
          chapter.
    - Changed the default directory to which the Mobiclip tool installer
      installs tools. Some files or folders could remain undeleted
      even after the silent uninstall of the legacy tools if the new tools
      were installed to a different directory from the one the legacy
      tools were installed. Delete the legacy files or folders as needed.       
          
3.1.1
    - Mobiclip VFW codec version bumped from V2.2.28 to V2.2.33.
    - MoDump, MoCoderAvi and MoSimulator utilities version bumped from
      V6.00.409 to V6.00.410.
    - Seek sample code tuned to remove the following warning message:
      "Warning: VIFlush() was not called for 60 frames although 
      VI settings were changed".
    - Potential memory overflow bug removed from ramControl.c file in
      avLib library.
    - Modifications in ReadFromRam sample code: 
        * was decoding a fixed amount 500 frames.
        * now decode until the end of the RAM movie is reached.
    - Modifications of QuickStart document, version Bumped to V1.0.1:
        * Added video and audio encoding parameters of provided 
          Mobiclip video resources in chapter 8.
        * Added Chapter 4.4.2.2 "Multipass encoding howto".
        * Various typo errors and other minor modifications performed.
    - Various typo errors and minor tweaks done on html Function 
      Reference Manual.
    - MoCoderAvi utility modifications: 
        * bug removed: when external audio files specified in .mcj 
          files does not exist, corrupted Mobiclip contents(.mo files)
          are not created anymore.
        * only 16 bits PCM wav files are now allowed as external 
          audio files to be specified in .mcj files.
    - Mobiclip VFW codec modification: when the Mobiclip license has
      expired, the following text is now showed in the About 
      dialog box: "Your Mobiclip license has expired."
    - MoDump utility was displaying the message 
      "MoPlayback, error 0x00abcdef" when invalid .mo file was given 
      as input. Now displays "Mobiclip file not valid or corrupted".
    - modified MultiThreaded main.c file and cntControl.c file to 
      remove implicit arithmetic conversion compilation warnings with 
      CodeWarrior for Wii V1.1.
    - MoSimulator utility bug removed:
      When F2 key was pressed after end of movie playback, the 
      following message was displayed before the termination of the 
      program: "Mobiclip Simulator will end since a problem occurred".
      Now the playback is successfully restarted from the beginning.
    - "Notandums" section of this file has been modified.
    - Mobiclip tools installer now performs a silent uninstall of
      existing tools before beginning installation process.

3.1.0
    - Added multi-track audio feature, more than one audio track can 
      be integrated into a Mobiclip content(.mo file).
      See QuickStart.pdf document and Function Reference Manual for 
      more details.
    - New Mobiclip tools package:
        * Mobiclip license messages localized in Japanese.
        * VFW codec localized in Japanese.
        * MoDump utility added. See QuickStart.pdf document for more 
          details.
        * Japanese localized tools are installed if Japanese language
          is selected at install.
        * 'Uninstall' shortcut added in Mobiclip tools startup menu.
        * Can install tools from and to a multi-byte character 
          directory(like in Japanese).
        * Seeking made the program MoSimulator hang when there was no 
          audio in the Mobiclip content.
        * Minor bug fixes done in Mobiclip tools.
    - Complete revamp of sample codes.
    - MO_MEMORY_NEEDED_VGA and MO_MEMORY_NEEDED_QVGA macros added in
      Mobiclip.h file: gives standard memory usage for VGA and QVGA 
      Mobiclip contents(.mo files) decoding.
    - MOMemStat function added in the Mobiclip API. Prints memory 
      usage statistics on the console for Debug targets.
    - Fixed typo errors and done naming uniformization in all 
      documents.

3.0.7
  - Released as an evaluation version.
