Return to previous page Return to menu Go to next page

 Title 
Function Specification
 Data 
Create Handle (Stream System)
 Data Name
CPK_CreateStmMovie
No
2.5

  Format  CpkHn CPK_CreateStmMovie (CpkCreatePara * para, StmHn stm)
 Input  para: Creation parameter
  stm: File handle
 Output  None
 function value  movie handle (NULL if not created)
 Function  Creates a movie handle for playing movie files in the stream system.
 Remarks  
    • Up to 32 movies can be created at the same time.
    • The stream handle should be obtained in advance by the application program.
 Title 
Function Specification
 Data 
Erase Handle (Stream System)
 Data Name
CPK_DestroyStmMovi
No
2.6

  Format  void CPK_DestroyStmMovie (CpkHn cpk)
 Input  cpk: Movie handle
 Output  None
 Function value  None
 Function  
    • Deletes the movie handle. If you delete the
    • handle, the movie handle can no longer be used.
    • Clear the movie handle before closing the stream handle.
 Title 
Function Specification
 Data 
Playback Task
 Data Name 
CPK_Task
No
2.7

  Format  void CPK_Task (CpkHn cpk)
 Input  cpk: Movie handle
 Output  None
 Function value  None
 Function  Reads files from the CD and expands images.
 Remarks  Call this function periodically during movie playback.
  Call interval should be larger than the number of playback frames. Smooth when it is less than the number of frames
  cannot be played.
  After reading this function, make sure that the display timing is always in CPK_IsDispTime.
  If CPK_IsDispTime returns TRUE, the image display type
  Since it is a ming, change the frame if it has been expanded to sprite VRAM
  If it is expanded in memory, transfer it to VRAM.
  After that, be sure to call CPK_CompleteDisp.
  If the destination address is specified in VRAM, it will be expanded before the display timing.
Please note that  . 


Return to previous page Return to menu Go to next page