In host transfer mode, you can register a transfer function to transfer image data.
The specifications of the transfer function are as follows.
[Format] Sint32 trFunc(void *dst, void *src, Sint32 nbyte)
[Input] dst: Transfer destination address src: Transfer source address nbyte: Number of transfer bytes [Function value] Error code
dst contains the address of the transfer area set by the MPG_WnSetOutputMode function. The transfer function is called from the MPEG library when you execute the MPG_WnTrans function. To register a transfer function, use the MPG_WnEntryTrFunc function. By default, the DMA transfer function on the B-Bus by SCU is registered as a transfer function. The default transfer function will time out in approximately 2 seconds if the DMA transfer is not completed.