![]() |
Jo Engine 2026.11.1
Jo Sega Saturn Engine
|
Jo Engine Video Player (Sega FILM/CPK File Format). More...
Go to the source code of this file.
Typedefs | |
| typedef void(*) | jo_video_onstop_callback(void) |
| Function prototype for jo_video_play(). | |
Functions | |
| bool | jo_video_open_file (const char *const filename) |
| Open a Sega FILM / Cinepak. | |
| bool | jo_video_play (const jo_video_onstop_callback onstop) |
| Play the movie previously loaded. | |
| bool | jo_video_pause (void) |
| Pause the movie (must be called after jo_video_play()). | |
| void | jo_video_stop (void) |
| Stop the movie (must be called after jo_video_play()). | |
| static __jo_force_inline int | jo_get_video_sprite (void) |
| Get video sprite Id. | |
Variables | |
| int | __jo_video_sprite_id |
| Error handling (Internal usage). | |
Jo Engine Video Player (Sega FILM/CPK File Format).
handle all kind of movie (bpp, audio channel, etc)
Custom implementation
Reduce memory consumption
| typedef void(*) jo_video_onstop_callback(void) |
Function prototype for jo_video_play().
|
static |
Get video sprite Id.
| bool jo_video_open_file | ( | const char *const | filename | ) |
Open a Sega FILM / Cinepak.
| filename | Filename (upper case and shorter as possible like "A.CPK") |
| bool jo_video_pause | ( | void | ) |
Pause the movie (must be called after jo_video_play()).
| bool jo_video_play | ( | const jo_video_onstop_callback | onstop | ) |
Play the movie previously loaded.
| void jo_video_stop | ( | void | ) |
Stop the movie (must be called after jo_video_play()).
|
extern |
Error handling (Internal usage).