Return to previous page | Return to menu | Go to next page

(3) Data type
 Title 
Data specification
 Data 
Movie handle
 Data Name 
CpkHn
No
3.1

Indicates information for each movie.

typedef void *CpkHn;

 Title 
Data specifications
 Data 
Create parameters
 Data Name 
CpkCreatePara
No
3.2

Indicates movie creation information. Set various parameter values ​​to Cpk_Create ~ as a structure.

typedef struct {
Uint32 * work_addr; / * Work start address * /
                   / * Work area when this library plays the movie * /
                   / * Bytes of work * / * /
Uint32 work_size; / * Set CPK_24WORK_BSIZE or CPK_15WORK_BSIZE * /
                   / * Buffer address for storing movie files * /
Uint32 buf_addr; / * When playing a memory movie, its address * /
                   / * When playing a CD movie, the ring buffer address * /
                   / * Buffer size * /
Uint32 buf_size; / * File size when playing a memory movie * /
                   / * Ring buffer size for CD movie * /
                   / * PCM buffer address of sound memory * /
Uint16 * pcm_addr; / * Sound memory PCM buffer size * /
Uint32 pcm_size; / * Quantization number for 1CH * /
                   / * Integer multiple of 4KB (4096 * 1..4096 * 16) * /
} CpkCreatePara;


Return to previous page | Return to menu | Go to next page