|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
Classes | |
| class | ArchiveManager |
| This class manages the reading and decompression of files from an archive. More... | |
| class | CDRomLoader |
| A class that reads files from the CDRom. More... | |
| class | StrPlayer |
| Streams an STR movie off the CD-ROM: MDEC video and interleaved XA audio. More... | |
| class | StrStreamAction |
Enumerations | |
| enum class | StrStreamState : uint8_t { IDLE , SETLOC , SETMODE , SETFILTER , DEMUTE , READS , STREAMING , PAUSE , PAUSE_ACK } |
Functions | |
| void | resolveMovie (ISO9660Parser &parser, eastl::string_view path, eastl::function< void(bool success, uint32_t lba, uint32_t sectors)> &&callback) |
| Resolves an ISO9660 path into the sector run of a movie. | |
| bool | resolveMovie (const ArchiveManager &archive, eastl::string_view path, uint32_t *lba, uint32_t *sectors) |
| Resolves an archive entry into the sector run of a movie. | |
|
strong |
| bool psyqo::paths::resolveMovie | ( | const ArchiveManager & | archive, |
| eastl::string_view | path, | ||
| uint32_t * | lba, | ||
| uint32_t * | sectors | ||
| ) |
Resolves an archive entry into the sector run of a movie.
The entry must use the STREAM method: raw sectors, stored as-is, whose count is held in the entry's first 32-bit field. Returns false otherwise.
| void psyqo::paths::resolveMovie | ( | ISO9660Parser & | parser, |
| eastl::string_view | path, | ||
| eastl::function< void(bool success, uint32_t lba, uint32_t sectors)> && | callback | ||
| ) |
Resolves an ISO9660 path into the sector run of a movie.
The callback receives the start LBA and the sector count, or false if the path does not exist.