Parses "frames" files as seen in The Orange Box PS3 port, in the TF/MOVIES.GRP file group.
More...
#include <PSFrames.h>
Parses "frames" files as seen in The Orange Box PS3 port, in the TF/MOVIES.GRP file group.
Definition at line 12 of file PSFrames.h.
◆ PSFrames() [1/3]
| PSFrames::PSFrames |
( |
std::vector< std::byte > && | psFramesData | ) |
|
|
explicit |
◆ PSFrames() [2/3]
| PSFrames::PSFrames |
( |
std::span< const std::byte > | psFramesData | ) |
|
|
explicit |
◆ PSFrames() [3/3]
| PSFrames::PSFrames |
( |
const std::filesystem::path & | psFramesPath | ) |
|
|
explicit |
◆ getFPS()
| uint32_t PSFrames::getFPS |
( |
| ) |
const |
|
nodiscard |
◆ getFrameCount()
| uint32_t PSFrames::getFrameCount |
( |
| ) |
const |
|
nodiscard |
◆ getFrameOffset()
| uint32_t PSFrames::getFrameOffset |
( |
uint32_t | frame | ) |
const |
|
nodiscardprotected |
◆ getFramePaletteAndImageSize()
| uint32_t PSFrames::getFramePaletteAndImageSize |
( |
| ) |
const |
|
nodiscardprotected |
◆ getHeight()
| uint16_t PSFrames::getHeight |
( |
| ) |
const |
|
nodiscard |
◆ getImageDataAs()
| std::vector< std::byte > PSFrames::getImageDataAs |
( |
ImageFormat | newFormat, |
|
|
uint32_t | frame ) const |
|
nodiscard |
◆ getImageDataAsBGR888()
| std::vector< std::byte > PSFrames::getImageDataAsBGR888 |
( |
uint32_t | frame | ) |
const |
|
nodiscard |
◆ getWidth()
| uint16_t PSFrames::getWidth |
( |
| ) |
const |
|
nodiscard |
◆ data
| std::vector<std::byte> vtfpp::PSFrames::data |
|
protected |
◆ fps
| uint32_t vtfpp::PSFrames::fps = 0 |
|
protected |
◆ frameCount
| uint32_t vtfpp::PSFrames::frameCount = 0 |
|
protected |
◆ height
| uint16_t vtfpp::PSFrames::height = 0 |
|
protected |
◆ width
| uint16_t vtfpp::PSFrames::width = 0 |
|
protected |
The documentation for this class was generated from the following files: