Return to previous page Return to menu Go to next page

4.7 User transfer function registration

Transfer function that transfers image data can be registered in host transfer mode.
The specifications of the transfer function are as follows.

Void trFunc (void * dst, void * src, Sint32 nbyte)

 (a) dst contains the address of the transfer area set by the MPG_WnSetOutputMode function.
(b) The transfer function is called from the MPEG library when the MPG_WnTrans function is executed.
(c) Use the MPG_WnEntryTrFunc function to register the transfer function.
(d) By default, the DMA transfer function to the B bus by the SCU is registered in the transfer function. 

4.8 Precautions for use

The main points to note when using this library are shown below.

(1) Restrictions on synchronized playback of audio / video

When the following functions are called during audio / video synchronized playback, the audio and video will be out of sync.

[To avoid this, stop playback of the video before executing the above function, and restart playback using the MPG_MvStart function after executing the above function.

(2) Restriction on audio / video playback stop method

To stop playback during audio / video synchronized playback, call the MPG_MvStop function or execute the following procedure. Do not stop the video first.
 (1) Calls the MPG_MvStopAudio function.
(2) Confirm that the audio is stopped by MPG_MvGetAudioStat function.
(3) Call the MPG_MvStopVideo function. 


Return to previous page Return to menu Go to next page