Return to previous page Return to menu Go to next page

 Title 
Function specifications
 Data 
PCM stream playback number setting
Data Name
CPK_SetPcmStreamNo
No
4.7

  Format  void CPK_SetPcmStreamNo (CpkHn cpk, Sint32 stream_no)
 Input  cpk: Movie handle
  stream_no: PCM stream playback number (0-7)
 Output  None
 Function value  None
 Function  Set the PCM stream playback number set in the sound driver.
  Default is 0.
  For details on PCM stream playback numbers, see “SATURN Sound Driver System Interface”.
Please refer to   Ace.
 Remarks  When using multi-movie playback, set different stream playback numbers.
  Call this function before playing a movie. 
 Title 
Function specifications
 Data 
Keyout range setting
 Data Name
CPK_SetKeyOutRange
No
4.8

  Format  void CPK_SetKeyOutRange (CpkHn cpk, Sint32 range)
 Input  cpk: Movie handle
  range: Keyout (transparent color) range
 Output  None
 Function value  None
 Function  Set the range to be transparent with chroma key processing.
 Remarks  
    • For chroma key processing, the RGB value of the expanded point and the RGB value specified by the chroma key are If the value is smaller than the key-out range, the color becomes transparent. ABS(ckey.b - decode.b) + ABS(ckey.g - decode.g) + ABS(ckey.r - decode.r) ckey is the chroma key specified RGB value decode is the RGB value of the expanded point
      For
    • 32000 colors, the range from 0 to 96 can be specified.
    • For 16 million colors, you can specify a range from 0 to 768.
    • The default is 21.
 Title 
Function specifications
 Data 
Get timescale
 Data Name
CPK_GetTimeScale
No
5.1

  Format  Sint32 CPK_GetTimeScale (CpkHn cpk)
 Input  cpk: Movie handle
 Output  None
 Function value  Time scale
 Function  Gets the time scale value.
  Until the data supply of the film header part to the ring buffer ends, the time scale
The value of   is invalid. 


Return to previous page Return to menu Go to next page