MOVIE TOOLS GUIDECinepak for SEGA Saturn
BackForward
Cinepak for SEGA Saturn


4.5 Function list

Table 4.2 shows a list of functions in this library.

Table 4.2 Function list
 function
 Function name
 number
 Initialization and termination processing
 1.0
 Library initialization
 CPK_Init
 1.1
 Library termination process
 CPK_Finish
 1.2
 Handle operation
 2.0
 Creating a handle (memory)
 CPK_CreateMemMovie
 2.1
 Erase handle (memory)
 CPK_DestroyMemMovie
 2.2
 Creating a handle (file system)
 CPK_CreateGfsMovie
 2.3
 Erase handle (file system)
 CPK_DestroyGfsMovie
 2.4
 Creating a handle (stream system)
 CPK_CreateStmMovie
 2.5
 Erase handle (stream system)
 CPK_DestroyStmMovie
 2.6
 Play task
 CPK_Task
 2.7 2.7
 Judgment of display timing
 CPK_IsDispTime
 2.8
 Notification of display completion
 CPK_CompleteDisp
 2.9
 V blank IN processing function
 CPK_VblIn
 2.10
 Playback control
 3.0
 Start playing
 CPK_Start
 3.1 3.1
 Stop playing
 CPK_Stop
 3.2
 Pause
 CPK_Pause
 3.3
 Registration of the next movie to play
 CPK_EntryNext
 3.4 3.4
 Forced switching of playback movie
 CPK_Change
 3.5
 Get the switching status of the movie
 CPK_CheckChange
 3.6
 Expansion of specified frame
 CPK_DecodeFrame
 3.7
 Expansion of specified frame (difference frame guarantee)
 CPK_DecodeFrameSafety
 3.8
 Information setting function
 4.0
 Deployment destination address setting
 CPK_SetDecodeAddr
 4.1
 Setting the number of display colors
 CPK_SetColor
 4.2
 Setting the maximum number of transfer sectors
 CPK_SetLoadNum
 4.3
 Playback PAN settings
 CPK_SetPan
 4.4
 Playback volume setting
 CPK_SetVolume
 4.5
 PCM command block number setting
 CPK_SetPcmCmdBlockNo
 4.6
 PCM stream playback number setting
 CPK_SetPcmStreamNo
 4.7
 Setting the keyout (color to be transparent) range
 CPK_SetKeyOutRange
 4.8
 Silence rate setting
 CPK_SetSilenceRate
 4.9
 Playback start trigger size setting
 CPK_SetStartTrgSize
 4.10
 Setting CPU usage conditions
 CPK_SetCpu
 4.11
 Stream server function call settings
 CPK_SetStmServerCall
 4.12
 Playback speed setting
 CPK_SetSpeed
 4.13
 Information acquisition function
 5.0
 Get timescale
 CPK_GetTimeScale
 5.1
 Get playback time
 CPK_GetTime
 5.2.
 Get playback status
 CPK_GetPlayStatus
 5.3 5.3
 Get the address of the film header
 CPK_GetHeader
 5.4
 Acquisition of data stockpile [byte]
 CPK_GetStockSize
 5.5 5.5
 Acquisition of data stockpile [timescale]
 CPK_GetStockTime
 5.6
 Buffer control
 6.0 6.0
 Get write buffer
 CPK_GetWriteBuf
 6.1
 Write size notification
 CPK_NotifyWriteSize
 6.2.
 Read control
 7.0 7.0
 Load the movie into memory
 CPK_PreloadMovie
 7.1
 Load film header into memory
 CPK_PreloadHeader
 7.2
 Error control
 8.0 8.0
 Error function registration
 CPK_SetErrFunc
 8.1
 Get error information
 CPK_GetErr
 8.2. 8.2
 SCU-DSP control
 9.0
 Securing SCU-DSP resources
 CPK_AllocScuDsp
 9.1
 Release of SCU-DSP resources
 CPK_FreeScuDsp
 9.2


BackForward
MOVIE TOOLS GUIDECinepak for SEGA Saturn
Copyright SEGA ENTERPRISES, LTD ,. 1997